Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkPointSetReaderService.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 _MITK_POINT_SET_READER_SERVICE__H_
18 #define _MITK_POINT_SET_READER_SERVICE__H_
19 
20 // MITK
21 #include <mitkAbstractFileReader.h>
22 #include <mitkPointSet.h>
23 
24 class TiXmlElement;
25 
26 namespace mitk
27 {
43  {
44  public:
46  virtual ~PointSetReaderService();
47 
49  virtual std::vector<itk::SmartPointer<BaseData>> Read() override;
50 
51  private:
53 
54  mitk::BaseGeometry::Pointer ReadGeometry(TiXmlElement *parentElement);
55 
56  mitk::PointSet::Pointer ReadPoints(mitk::PointSet::Pointer newPointSet,
57  TiXmlElement *currentTimeSeries,
58  unsigned int currentTimeStep);
59 
60  virtual PointSetReaderService *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.
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.