Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkRTPlanReaderService.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 mitkRTPlanReaderService_h
15 #define mitkRTPlanReaderService_h
16 
17 #include "mitkAbstractFileReader.h"
18 
19 #include <vector>
20 
23 
24 #include <usModuleContext.h>
25 
26 #include "MitkDicomRTIOExports.h"
27 
28 namespace mitk
29 {
37  {
38 
39  public:
42 
50  std::vector<itk::SmartPointer<BaseData> > Read() override;
51 
52  ~RTPlanReaderService() override;
53 
54  private:
55  RTPlanReaderService* Clone() const override;
56 
57  us::ServiceRegistration<mitk::IFileReader> m_FileReaderServiceReg;
58  };
59 }
60 
61 #endif
RTPlanReaderService reads DICOM files of modality RTPLAN.
DataCollection - Class to facilitate loading/accessing structured data.
std::vector< itk::SmartPointer< BaseData > > Read() override=0
Reads a path or stream and creates a list of BaseData objects.
#define MITKDICOMRTIO_EXPORT
Base class for creating mitk::BaseData objects from files or streams.
static mitk::PlanarFigure::Pointer Clone(mitk::PlanarFigure::Pointer original)