Medical Imaging Interaction Toolkit  2022.04.99-b878213f
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 {
29  {
30  public:
33 
34  ~RTDoseReaderService() override;
35 
37 
38  protected:
48  std::vector<itk::SmartPointer<BaseData>> DoRead() override;
49 
50  private:
51  RTDoseReaderService* Clone() const override;
57  template<typename TPixel, unsigned int VImageDimension>
58  void MultiplyGridScaling(itk::Image< TPixel, VImageDimension>* image, float gridscale);
59 
60  mitk::Image::Pointer scaledDoseImage;
61  us::ServiceRegistration<mitk::IFileReader> m_FileReaderServiceReg;
62  };
63 
64 }
65 
66 #endif
DataCollection - Class to facilitate loading/accessing structured data.
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
Base class for creating mitk::BaseData objects from files or streams.
RTDoseReaderService reads DICOM files of modality RTDOSE.
#define MITKDICOMRTIO_EXPORT