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

Method ContourModelSetWriter

Modules/ContourModel/src/IO/mitkContourModelSetWriter.cpp:19–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17#include <mitkCustomMimeType.h>
18
19mitk::ContourModelSetWriter::ContourModelSetWriter() : AbstractFileWriter(ContourModelSet::GetStaticNameOfClass())
20{
21 std::string category = "ContourModelSet File";
22 mitk::CustomMimeType customMimeType;
23 customMimeType.SetCategory(category);
24 customMimeType.AddExtension("cnt_set");
25
26 this->SetDescription(category);
27 this->SetMimeType(customMimeType);
28
29 RegisterService();
30}
31
32mitk::ContourModelSetWriter::ContourModelSetWriter(const mitk::ContourModelSetWriter &other) : AbstractFileWriter(other)
33{

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