12 #ifndef mitkContourModelReader_h
13 #define mitkContourModelReader_h
23 #include <vtkXMLParser.h>
57 virtual void ReadPoints(mitk::ContourModel::Pointer newContourModel,
58 const tinyxml2::XMLElement *currentTimeSeries,
59 unsigned int currentTimeStep);
65 std::vector<itk::SmartPointer<BaseData>>
DoRead()
override;
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::ContourModel objects stored in XML format.
~ContourModelReader() override
ContourModelReader(const ContourModelReader &other)
Copy constructor.
ContourModelReader()
Default constructor. Registers reader for the ContourModel MIME type.
virtual void ReadPoints(mitk::ContourModel::Pointer newContourModel, const tinyxml2::XMLElement *currentTimeSeries, unsigned int currentTimeStep)
Read control points from an XML element and add them to a ContourModel.
std::vector< itk::SmartPointer< BaseData > > DoRead() override
Perform the actual reading of ContourModel data from the file.
Find image slices visible on a given plane.