MCPcopy Create free account
hub / github.com/MITK/MITK / ContourModelWriter

Method ContourModelWriter

Modules/ContourModel/src/IO/mitkContourModelWriter.cpp:67–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65const char *mitk::ContourModelWriter::XML_Z = "z";
66
67mitk::ContourModelWriter::ContourModelWriter(bool writeXMLHeader)
68 : AbstractFileWriter(ContourModel::GetStaticNameOfClass()), m_WriteXMLHeader(writeXMLHeader), m_IndentDepth(0), m_Indent(2)
69{
70 std::string category = "Contour File";
71 mitk::CustomMimeType customMimeType;
72 customMimeType.SetCategory(category);
73 customMimeType.AddExtension("cnt");
74
75 this->SetDescription(category);
76 this->SetMimeType(customMimeType);
77
78 RegisterService();
79}
80
81mitk::ContourModelWriter::ContourModelWriter(const mitk::ContourModelWriter &other)
82 : AbstractFileWriter(other), m_IndentDepth(other.m_IndentDepth), m_Indent(other.m_Indent)

Callers

nothing calls this directly

Calls 6

RegisterServiceFunction · 0.85
SetCategoryMethod · 0.80
GetStaticNameOfClassFunction · 0.50
AddExtensionMethod · 0.45
SetDescriptionMethod · 0.45
SetMimeTypeMethod · 0.45

Tested by

no test coverage detected