Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::PlanarFigureSerializer Class Reference

Serializes mitk::Surface for mitk::SceneIO. More...

#include <mitkPlanarFigureSerializer.h>

Inheritance diagram for mitk::PlanarFigureSerializer:
Collaboration diagram for mitk::PlanarFigureSerializer:

Public Member Functions

 mitkClassMacro (PlanarFigureSerializer, BaseDataSerializer) static Pointer New()
 
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)
 

Protected Member Functions

 PlanarFigureSerializer ()
 
virtual ~PlanarFigureSerializer ()
 
- 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
 

Detailed Description

Serializes mitk::Surface for mitk::SceneIO.

Definition at line 27 of file mitkPlanarFigureSerializer.h.

Constructor & Destructor Documentation

mitk::PlanarFigureSerializer::PlanarFigureSerializer ( )
protected

Definition at line 25 of file mitkPlanarFigureSerializer.cpp.

mitk::PlanarFigureSerializer::~PlanarFigureSerializer ( )
protectedvirtual

Definition at line 29 of file mitkPlanarFigureSerializer.cpp.

Member Function Documentation

Pointer mitk::PlanarFigureSerializer::Clone ( ) const
mitk::PlanarFigureSerializer::mitkClassMacro ( PlanarFigureSerializer  ,
BaseDataSerializer   
)
std::string mitk::PlanarFigureSerializer::Serialize ( )
overridevirtual

Serializes given BaseData object.

Returns
the filename of the newly created file.

This should be overwritten by specific sub-classes.

Reimplemented from mitk::BaseDataSerializer.

Definition at line 33 of file mitkPlanarFigureSerializer.cpp.

References filename, MITK_ERROR, and mitk::PlanarFigureWriter::New().


The documentation for this class was generated from the following files: