Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkBaseDICOMReaderService.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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef MITKBASEDICOMREADERSERVICE_H
18 #define MITKBASEDICOMREADERSERVICE_H
19 
20 #include <mitkAbstractFileReader.h>
21 #include <mitkDICOMFileReader.h>
22 
23 namespace mitk {
24 
30 {
31 public:
32  BaseDICOMReaderService(const std::string& description);
33 
35 
38  virtual std::vector<itk::SmartPointer<BaseData> > Read() override;
39 
40 protected:
44 
47  virtual mitk::DICOMFileReader::Pointer GetReader(const mitk::StringList& relevantFiles) const = 0;
48 };
49 
50 }
51 
52 #endif // MITKBASEDICOMREADERSERVICE_H
itk::SmartPointer< Self > Pointer
virtual std::vector< itk::SmartPointer< BaseData > > Read() override
mitk::StringList GetRelevantFiles() const
DataCollection - Class to facilitate loading/accessing structured data.
virtual mitk::DICOMFileReader::Pointer GetReader(const mitk::StringList &relevantFiles) const =0
virtual std::vector< itk::SmartPointer< BaseData > > Read() override=0
Reads a path or stream and creates a list of BaseData objects.
BaseDICOMReaderService(const std::string &description)
std::vector< std::string > StringList
Base class for creating mitk::BaseData objects from files or streams.