Medical Imaging Interaction Toolkit  2022.10.99-eeb2f471
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 mitkContourModelSetReader_h
13 #define mitkContourModelSetReader_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
mitk::AbstractFileReader
Base class for creating mitk::BaseData objects from files or streams.
Definition: mitkAbstractFileReader.h:42
mitkContourModelSet.h
mitkMimeType.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitkContourModel.h
mitk::ContourModelSetReader::ContourModelSetReader
ContourModelSetReader()
mitkAbstractFileReader.h
mitk::ContourModelSetReader::DoRead
std::vector< itk::SmartPointer< BaseData > > DoRead() override
mitkBaseData.h
us::ServiceRegistration< mitk::IFileReader >
mitk::AbstractFileReader::Read
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
mitk::ContourModelSetReader::~ContourModelSetReader
~ContourModelSetReader() override
mitk::ContourModelSetReader
Definition: mitkContourModelSetReader.h:32