Medical Imaging Interaction Toolkit  2021.02.99-9ccbc4d1
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 (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 mitkGeometryDataReaderService_h
14 #define mitkGeometryDataReaderService_h
15 
16 // MITK
17 #include <mitkAbstractFileReader.h>
18 #include <mitkGeometryData.h>
19 
20 namespace mitk
21 {
38  {
39  public:
41  ~GeometryDataReaderService() override;
42 
44 
49  protected:
50  std::vector<itk::SmartPointer<BaseData>> DoRead() override;
51 
52  private:
54 
55  GeometryDataReaderService *Clone() const override;
56  };
57 }
58 
59 #endif
std::vector< itk::SmartPointer< BaseData > > DoRead() override
DataCollection - Class to facilitate loading/accessing structured data.
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
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.