Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 (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 #ifndef _MITK_ContourModelSetReader__H_
13 #define _MITK_ContourModelSetReader__H_
14 
15 // MITK
16 #include <mitkAbstractFileReader.h>
17 #include <mitkBaseData.h>
18 #include <mitkContourModel.h>
19 #include <mitkContourModelSet.h>
20 #include <mitkMimeType.h>
21 
22 #include <stack>
23 #include <string>
24 #include <tinyxml.h>
25 #include <vtkXMLParser.h>
26 
27 namespace mitk
28 {
34  {
35  public:
37 
39 
40  ~ContourModelSetReader() override;
41 
43  std::vector<itk::SmartPointer<BaseData>> Read() override;
44 
45  protected:
46  private:
47  ContourModelSetReader *Clone() const override;
48 
50  };
51 }
52 
53 #endif
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.
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.