17 #include <itksys/SystemTools.hxx> 35 <<
" is not an mitk::PlanarFigure. Cannot serialize as PlanarFigure.";
46 fullname += itksys::SystemTools::ConvertToOutputPath(filename.c_str());
51 writer->SetFileName(fullname);
52 writer->SetInput(const_cast<PlanarFigure *>(pf));
55 catch (std::exception &e)
57 MITK_ERROR <<
" Error serializing object at " << (
const void *)this->
m_Data <<
" to " << fullname <<
": " std::string m_WorkingDirectory
#define MITK_REGISTER_SERIALIZER(classname)
std::string GetUniqueFilenameInWorkingDirectory()
DataCollection - Class to facilitate loading/accessing structured data.
BaseData::ConstPointer m_Data
std::string m_FilenameHint