Medical Imaging Interaction Toolkit  2022.04.99-b878213f
Medical Imaging Interaction Toolkit
mitkCESTGenericDICOMReaderService.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 #ifndef MITKCESTGenericDICOMReaderService_H
14 #define MITKCESTGenericDICOMReaderService_H
15 
17 
18 namespace mitk {
19 
26  {
27  public:
28  CESTDICOMManualReaderService(const CustomMimeType& mimeType, const std::string& description);
29 
32  std::vector<itk::SmartPointer<BaseData> > Read() override;
33 
34  Options GetOptions() const override;
35  us::Any GetOption(const std::string& name) const override;
36 
37  protected:
40 
41  std::string GetCESTMetaFilePath() const;
42  std::string GetTRECFilePath() const;
43  std::string GetLISTFilePath() const;
44 
45  mitk::DICOMFileReader::Pointer GetReader(const mitk::StringList& relevantFiles) const override;
46 
47  private:
48  CESTDICOMManualReaderService* Clone() const override;
49  };
50 
52 }
53 
54 #endif // MITKCESTGenericDICOMReaderService_H
std::string GetTRECFilePath() const
Class is used to identify (nested) attributes in a DICOM dataset. In contrast to the class DICOMTag...
DataCollection - Class to facilitate loading/accessing structured data.
std::map< std::string, us::Any > Options
Options for reading or writing data.
Definition: mitkIFileIO.h:69
us::Any GetOption(const std::string &name) const override
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
mitk::DICOMFileReader::Pointer GetReader(const mitk::StringList &relevantFiles) const override
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads the specified file or input stream and returns its contents.
Definition: usAny.h:163
CESTDICOMManualReaderService(const CustomMimeType &mimeType, const std::string &description)
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
std::vector< std::string > StringList
std::string GetLISTFilePath() const
std::string GetCESTMetaFilePath() const
CESTDICOMManualReaderService & operator=(const CESTDICOMManualReaderService &)=delete
DICOMTagPath DICOM_IMAGING_FREQUENCY_PATH()
Options GetOptions() const override
returns a list of the supported options