Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Serializes mitk::Surface for mitk::SceneIO. More...
#include <mitkSurfaceSerializer.h>
Public Member Functions | |
mitkClassMacro (SurfaceSerializer, BaseDataSerializer) | |
Pointer | Clone () const |
virtual std::string | Serialize () override |
Serializes given BaseData object. More... | |
Public Member Functions inherited from mitk::BaseDataSerializer | |
mitkClassMacroItkParent (BaseDataSerializer, itk::Object) | |
virtual void | SetFilenameHint (const char *_arg) |
virtual const char * | GetFilenameHint () const |
virtual void | SetWorkingDirectory (const char *_arg) |
virtual const char * | GetWorkingDirectory () const |
virtual void | SetData (const BaseData *_arg) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
SurfaceSerializer () | |
virtual | ~SurfaceSerializer () |
Protected Member Functions inherited from mitk::BaseDataSerializer | |
BaseDataSerializer () | |
virtual | ~BaseDataSerializer () |
std::string | GetUniqueFilenameInWorkingDirectory () |
Additional Inherited Members | |
Protected Attributes inherited from mitk::BaseDataSerializer | |
std::string | m_FilenameHint |
std::string | m_WorkingDirectory |
BaseData::ConstPointer | m_Data |
Serializes mitk::Surface for mitk::SceneIO.
Definition at line 27 of file mitkSurfaceSerializer.h.
|
protected |
Definition at line 23 of file mitkSurfaceSerializer.cpp.
|
protectedvirtual |
Definition at line 27 of file mitkSurfaceSerializer.cpp.
Pointer mitk::SurfaceSerializer::Clone | ( | ) | const |
mitk::SurfaceSerializer::mitkClassMacro | ( | SurfaceSerializer | , |
BaseDataSerializer | |||
) |
|
static |
|
overridevirtual |
Serializes given BaseData object.
This should be overwritten by specific sub-classes.
Reimplemented from mitk::BaseDataSerializer.
Definition at line 31 of file mitkSurfaceSerializer.cpp.
References filename, mitk::IOUtil::GetDirectorySeparator(), MITK_ERROR, and mitk::IOUtil::Save().