17 #ifndef _MITK_CONTOURMODEL_WRITER__H_
18 #define _MITK_CONTOURMODEL_WRITER__H_
58 class TimeSlicedGeometry;
67 virtual void Write()
override;
121 std::vector<std::string> attributes,
122 std::vector<std::string> values,
129 void WriteEndElement(
const char *
const tag, std::ostream &file,
const bool &indent =
true);
138 void WriteEndElement(std::string &tag, std::ostream &file,
const bool &indent =
true);
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
void WriteIndent(std::ostream &file)
static const char * XML_DATA
void WriteGeometryInformation(const mitk::TimeGeometry *geometry, std::ostream &out)
static const char * XML_Z
void WriteStartElementWithAttribut(const char *const tag, std::vector< std::string > attributes, std::vector< std::string > values, std::ostream &file)
DataCollection - Class to facilitate loading/accessing structured data.
static const char * XML_POINT
static const char * XML_GEOMETRY_INFO
static const char * XML_X
unsigned int m_IndentDepth
void WriteXMLHeader(std::ostream &file)
static const char * XML_CONTROL_POINTS
static const char * XML_TIME_STEP
static const char * XML_HEAD
void WriteStartElement(const char *const tag, std::ostream &file)
virtual 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)
virtual void Write() override=0
Write the base data to the specified location or output stream.
void WriteCharacterData(const char *const data, std::ostream &file)
virtual ~ContourModelWriter()
std::string ConvertToString(T value)
static const char * XML_CONTOURMODEL
void WriteXML(const mitk::ContourModel *contourModel, std::ostream &out)
virtual mitk::ContourModelWriter * Clone() const override
Base class for writing mitk::BaseData objects to files or streams.
static const char * XML_Y