Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkContourModelSetReader.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 #ifndef _MITK_ContourModelSetReader__H_
17 #define _MITK_ContourModelSetReader__H_
18 
19 // MITK
20 #include <mitkAbstractFileReader.h>
21 #include <mitkBaseData.h>
22 #include <mitkContourModel.h>
23 #include <mitkContourModelSet.h>
24 #include <mitkMimeType.h>
25 
26 #include <stack>
27 #include <string>
28 #include <tinyxml.h>
29 #include <vtkXMLParser.h>
30 
31 namespace mitk
32 {
38  {
39  public:
41 
43 
44  virtual ~ContourModelSetReader();
45 
47  virtual std::vector<itk::SmartPointer<BaseData>> Read() override;
48 
49  protected:
50  private:
51  ContourModelSetReader *Clone() const override;
52 
54  };
55 }
56 
57 #endif
virtual std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
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.
Base class for creating mitk::BaseData objects from files or streams.