Medical Imaging Interaction Toolkit  2026.06.00
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:
37 
40 
42 
44 
45  protected:
50  std::vector<itk::SmartPointer<BaseData>> DoRead() override;
51 
52  private:
53  ContourModelSetReader *Clone() const override;
54 
56  };
57 }
58 
59 #endif
Base class for creating mitk::BaseData objects from files or streams.
std::vector< itk::SmartPointer< BaseData > > Read() override
Read data and create a list of BaseData objects.
Reader for mitk::ContourModelSet objects stored in XML format.
ContourModelSetReader(const ContourModelSetReader &other)
Copy constructor.
std::vector< itk::SmartPointer< BaseData > > DoRead() override
Perform the actual reading of ContourModelSet data from the file.
ContourModelSetReader()
Default constructor. Registers reader for the ContourModelSet MIME type.
Find image slices visible on a given plane.