Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkGeometryDataReaderService.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 mitkGeometryDataReaderService_h
18 #define mitkGeometryDataReaderService_h
19 
20 // MITK
21 #include <mitkAbstractFileReader.h>
22 #include <mitkGeometryData.h>
23 
24 class TiXmlElement;
25 
26 namespace mitk
27 {
44  {
45  public:
48 
50  virtual std::vector<itk::SmartPointer<BaseData>> Read() override;
51 
56 
57  private:
59 
60  virtual GeometryDataReaderService *Clone() const override;
61  };
62 }
63 
64 #endif
DataCollection - Class to facilitate loading/accessing structured data.
virtual std::vector< itk::SmartPointer< BaseData > > Read() override=0
Reads a path or stream and creates a list of BaseData objects.
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
virtual 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.
static CustomMimeType GEOMETRY_DATA_MIMETYPE()
Provides the MIME type for reader and writer.