Medical Imaging Interaction Toolkit  2022.04.99-01b95b17
Medical Imaging Interaction Toolkit
mitk::ImageSerializer Class Reference

Serializes mitk::Image for mitk::SceneIO. More...

#include <mitkImageSerializer.h>

Inheritance diagram for mitk::ImageSerializer:
Collaboration diagram for mitk::ImageSerializer:

Public Member Functions

 mitkClassMacro (ImageSerializer, BaseDataSerializer)
Pointer Clone () const
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

 ImageSerializer ()
 ~ImageSerializer () override
- Protected Member Functions inherited from mitk::BaseDataSerializer
 BaseDataSerializer ()
 ~BaseDataSerializer () override
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::Image for mitk::SceneIO.

Definition at line 23 of file mitkImageSerializer.h.

Constructor & Destructor Documentation

◆ ImageSerializer()

mitk::ImageSerializer::ImageSerializer ( )

◆ ~ImageSerializer()

mitk::ImageSerializer::~ImageSerializer ( )

Member Function Documentation

◆ Clone()

Pointer mitk::ImageSerializer::Clone ( ) const

◆ mitkClassMacro()

mitk::ImageSerializer::mitkClassMacro ( ImageSerializer  ,

◆ New()

static Pointer mitk::ImageSerializer::New ( )

◆ Serialize()

std::string mitk::ImageSerializer::Serialize ( )

Serializes given BaseData object.

the filename of the newly created file.

This should be overwritten by specific sub-classes.

Reimplemented from mitk::BaseDataSerializer.

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