Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkRTDoseReaderService.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 
14 #ifndef mitkRTDoseReaderService_h
15 #define mitkRTDoseReaderService_h
16 
17 #include <mitkAbstractFileReader.h>
18 
19 #include <usServiceRegistration.h>
20 #include <mitkImage.h>
21 #include <MitkDICOMRTIOExports.h>
22 
23 namespace mitk
24 {
33  {
34  public:
37 
40 
42 
44 
45  protected:
58  std::vector<itk::SmartPointer<BaseData>> DoRead() override;
59 
60  private:
61  RTDoseReaderService* Clone() const override;
67  template<typename TPixel, unsigned int VImageDimension>
68  void MultiplyGridScaling(itk::Image< TPixel, VImageDimension>* image, float gridscale);
69 
70  mitk::Image::Pointer scaledDoseImage;
71  us::ServiceRegistration<mitk::IFileReader> m_FileReaderServiceReg;
72  };
73 
74 }
75 
76 #endif
#define MITKDICOMRTIO_EXPORT
Base class for creating mitk::BaseData objects from files or streams.
std::vector< itk::SmartPointer< BaseData > > Read() override
Read data and create a list of BaseData objects.
Reader service for DICOM files of modality RTDOSE.
RTDoseReaderService(const RTDoseReaderService &other)
Copy constructor.
RTDoseReaderService()
Default constructor. Registers reader for the RTDOSE MIME type.
std::vector< itk::SmartPointer< BaseData > > DoRead() override
Read a DICOM dataset from an RTDOSE file.
Find image slices visible on a given plane.