Medical Imaging Interaction Toolkit  2021.02.99-e55a5d2f
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 
44 
45  ~RTPlanReaderService() override;
46 
47  protected:
54  std::vector<itk::SmartPointer<BaseData>> DoRead() override;
55 
56  private:
57  RTPlanReaderService* Clone() const override;
58 
59  us::ServiceRegistration<mitk::IFileReader> m_FileReaderServiceReg;
60  };
61 }
62 
63 #endif
RTPlanReaderService reads DICOM files of modality RTPLAN.
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.
#define MITKDICOMRTIO_EXPORT