| 65 | const char *mitk::ContourModelWriter::XML_Z = "z"; |
| 66 | |
| 67 | mitk::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 | |
| 81 | mitk::ContourModelWriter::ContourModelWriter(const mitk::ContourModelWriter &other) |
| 82 | : AbstractFileWriter(other), m_IndentDepth(other.m_IndentDepth), m_Indent(other.m_Indent) |
nothing calls this directly
no test coverage detected