16 #include <itksys/SystemTools.hxx> 34 <<
" is not an mitk::ContourModel. Cannot serialize as contour model.";
45 fullname += itksys::SystemTools::ConvertToOutputPath(filename.c_str());
54 catch (
const std::exception &e )
56 MITK_ERROR <<
" Error serializing object at " << (
const void *)this->
m_Data <<
" to " << fullname <<
": " std::string m_WorkingDirectory
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
#define MITK_REGISTER_SERIALIZER(classname)
void SetInput(const BaseData *data) override
Set the input data for writing.
std::string GetUniqueFilenameInWorkingDirectory()
DataCollection - Class to facilitate loading/accessing structured data.
~ContourModelSerializer() override
BaseData::ConstPointer m_Data
void Write() override
Write the base data to the specified location or output stream.
void SetOutputLocation(const std::string &location) override
Set the output location.
std::string Serialize() override
Serializes given BaseData object.
std::string m_FilenameHint