Medical Imaging Interaction Toolkit  2024.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 {
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
MitkDICOMRTIOExports.h
MITKDICOMRTIO_EXPORT
#define MITKDICOMRTIO_EXPORT
Definition: MitkDICOMRTIOExports.h:15
mitkImage.h
mitk::RTDoseReaderService
RTDoseReaderService reads DICOM files of modality RTDOSE.
Definition: mitkRTDoseReaderService.h:28
mitk::AbstractFileReader
Base class for creating mitk::BaseData objects from files or streams.
Definition: mitkAbstractFileReader.h:42
itk::SmartPointer< Self >
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
usServiceRegistration.h
mitkAbstractFileReader.h
us::ServiceRegistration< mitk::IFileReader >
mitk::AbstractFileReader::Read
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.