Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkContourModelWriter_h
14 #define mitkContourModelWriter_h
63 void Write()
override;
106 std::vector<std::string> attributes,
107 std::vector<std::string> values,
114 void WriteEndElement(
const char *
const tag, std::ostream &file,
const bool &indent =
true);
123 void WriteEndElement(std::string &tag, std::ostream &file,
const bool &indent =
true);
static const char * XML_X
void WriteStartElementWithAttribut(const char *const tag, std::vector< std::string > attributes, std::vector< std::string > values, std::ostream &file)
void WriteIndent(std::ostream &file)
void WriteGeometryInformation(const mitk::TimeGeometry *geometry, std::ostream &out)
static const char * XML_Y
XML-based writer for mitk::ContourModels.
unsigned int m_IndentDepth
void WriteStartElement(const char *const tag, std::ostream &file)
static const char * XML_DATA
void Write() override=0
Write the base data to the specified location or output stream.
Base class for writing mitk::BaseData objects to files or streams.
static const char * XML_Z
Find image slices visible on a given plane.
std::string ConvertToString(T value)
static const char * XML_CONTOURMODEL
static const char * XML_TIME_STEP
static const char * XML_HEAD
void WriteCharacterData(const char *const data, std::ostream &file)
ContourModelWriter(bool writeXMLHeader=true)
void WriteXML(const mitk::ContourModel *contourModel, std::ostream &out)
mitk::ContourModelWriter * Clone() const override
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
static const char * XML_CONTROL_POINTS
static const char * XML_POINT
void Write() override
Write the base data to the specified location or output stream.
void WriteEndElement(const char *const tag, std::ostream &file, const bool &indent=true)
~ContourModelWriter() override
static const char * XML_GEOMETRY_INFO
void WriteXMLHeader(std::ostream &file)