Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
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 <vtkXMLParser.h>
25 
26 namespace mitk
27 {
33  {
34  public:
36 
38 
39  ~ContourModelSetReader() override;
40 
42 
43  protected:
44  std::vector<itk::SmartPointer<BaseData>> DoRead() override;
45 
46  private:
47  ContourModelSetReader *Clone() const override;
48 
50  };
51 }
52 
53 #endif
std::vector< itk::SmartPointer< BaseData > > DoRead() override
DataCollection - Class to facilitate loading/accessing structured data.
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.