13 #ifndef _MITK_TUBE_GRAPH_IO_H_ 14 #define _MITK_TUBE_GRAPH_IO_H_ 42 void Write()
override;
50 mimeType.
SetComment(
"MITK Tube Graph Structure File");
60 std::vector<itk::SmartPointer<BaseData>>
DoRead()
override;
69 #endif //_MITK_SURFACE_VTK_IO_H_ std::vector< itk::SmartPointer< BaseData > > DoRead() override
static std::string TUBEGRAPH_MIMETYPE_NAME()
reader and writer for xml representations of mitk::TubeGraph
DataCollection - Class to facilitate loading/accessing structured data.
void SetComment(const std::string &comment)
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
ConfidenceLevel GetReaderConfidenceLevel() const override
ConfidenceLevel
A confidence level describing the confidence of the reader or writer in handling the given data...
void Write() override
Write the base data to the specified location or output stream.
void AddExtension(const std::string &extension)
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
static std::string DEFAULT_BASE_NAME()
void SetCategory(const std::string &category)
static CustomMimeType TUBEGRAPH_MIMETYPE()
Abstract class for implementing a reader and writer.
ConfidenceLevel GetWriterConfidenceLevel() const override