ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | List of all members
itk::MetaConverterBase< VDimension > Class Template Referenceabstract

#include <itkMetaConverterBase.h>

+ Inheritance diagram for itk::MetaConverterBase< VDimension >:
+ Collaboration diagram for itk::MetaConverterBase< VDimension >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using MetaObjectType = MetaObject
 
using Pointer = SmartPointer< Self >
 
using Self = MetaConverterBase
 
using SpatialObjectPointer = typename SpatialObjectType::Pointer
 
using SpatialObjectType = SpatialObject< VDimension >
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual const char * GetNameOfClass () const
 
virtual SpatialObjectPointer MetaObjectToSpatialObject (const MetaObjectType *mo)=0
 
virtual SpatialObjectPointer ReadMeta (const char *name)
 
virtual MetaObjectTypeSpatialObjectToMetaObject (const SpatialObjectType *spatialObject)=0
 
virtual bool WriteMeta (const SpatialObjectType *spatialObject, const char *name)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 
bool m_WriteImagesInSeparateFile { false }
 
virtual void SetWriteImagesInSeparateFile (bool _arg)
 
virtual bool GetWriteImagesInSeparateFile () const
 
virtual void WriteImagesInSeparateFileOn ()
 
virtual void WriteImagesInSeparateFileOff ()
 
 MetaConverterBase ()=default
 
 ~MetaConverterBase () override=default
 
virtual MetaObjectTypeCreateMetaObject ()=0
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<unsigned VDimension = 3>
class itk::MetaConverterBase< VDimension >

Base class for MetaObject<->SpatialObject converters.

SpatialObject scenes are written and read using the MetaIO Library. This is managed by the MetaSceneConverter class, which converts MetaObject scenes to SpatialObject scenes and vice versa.

MetaScene walks the scene and uses the converter on each object in the scene.

Definition at line 42 of file itkMetaConverterBase.h.

Member Typedef Documentation

◆ ConstPointer

template<unsigned VDimension = 3>
using itk::MetaConverterBase< VDimension >::ConstPointer = SmartPointer<const Self>

Definition at line 50 of file itkMetaConverterBase.h.

◆ MetaObjectType

template<unsigned VDimension = 3>
using itk::MetaConverterBase< VDimension >::MetaObjectType = MetaObject

Definition at line 57 of file itkMetaConverterBase.h.

◆ Pointer

template<unsigned VDimension = 3>
using itk::MetaConverterBase< VDimension >::Pointer = SmartPointer<Self>

Definition at line 49 of file itkMetaConverterBase.h.

◆ Self

template<unsigned VDimension = 3>
using itk::MetaConverterBase< VDimension >::Self = MetaConverterBase

standard class type alias

Definition at line 47 of file itkMetaConverterBase.h.

◆ SpatialObjectPointer

template<unsigned VDimension = 3>
using itk::MetaConverterBase< VDimension >::SpatialObjectPointer = typename SpatialObjectType::Pointer

Definition at line 56 of file itkMetaConverterBase.h.

◆ SpatialObjectType

template<unsigned VDimension = 3>
using itk::MetaConverterBase< VDimension >::SpatialObjectType = SpatialObject<VDimension>

Definition at line 55 of file itkMetaConverterBase.h.

◆ Superclass

template<unsigned VDimension = 3>
using itk::MetaConverterBase< VDimension >::Superclass = Object

Definition at line 48 of file itkMetaConverterBase.h.

Constructor & Destructor Documentation

◆ MetaConverterBase()

template<unsigned VDimension = 3>
itk::MetaConverterBase< VDimension >::MetaConverterBase ( )
protecteddefault

Set/Get flag for writing images to separate files in metaImage instances

◆ ~MetaConverterBase()

template<unsigned VDimension = 3>
itk::MetaConverterBase< VDimension >::~MetaConverterBase ( )
overrideprotecteddefault

Set/Get flag for writing images to separate files in metaImage instances

Member Function Documentation

◆ CreateMetaObject()

template<unsigned VDimension = 3>
virtual MetaObjectType* itk::MetaConverterBase< VDimension >::CreateMetaObject ( )
protectedpure virtual

◆ GetNameOfClass()

template<unsigned VDimension = 3>
virtual const char* itk::MetaConverterBase< VDimension >::GetNameOfClass ( ) const
virtual

◆ GetWriteImagesInSeparateFile()

template<unsigned VDimension = 3>
virtual bool itk::MetaConverterBase< VDimension >::GetWriteImagesInSeparateFile ( ) const
virtual

Set/Get flag for writing images to separate files in metaImage instances

◆ MetaObjectToSpatialObject()

template<unsigned VDimension = 3>
virtual SpatialObjectPointer itk::MetaConverterBase< VDimension >::MetaObjectToSpatialObject ( const MetaObjectType mo)
pure virtual

◆ ReadMeta()

template<unsigned VDimension = 3>
virtual SpatialObjectPointer itk::MetaConverterBase< VDimension >::ReadMeta ( const char *  name)
virtual

Read a MetaIO file, return a SpatialObject

◆ SetWriteImagesInSeparateFile()

template<unsigned VDimension = 3>
virtual void itk::MetaConverterBase< VDimension >::SetWriteImagesInSeparateFile ( bool  _arg)
virtual

Set/Get flag for writing images to separate files in metaImage instances

◆ SpatialObjectToMetaObject()

template<unsigned VDimension = 3>
virtual MetaObjectType* itk::MetaConverterBase< VDimension >::SpatialObjectToMetaObject ( const SpatialObjectType spatialObject)
pure virtual

◆ WriteImagesInSeparateFileOff()

template<unsigned VDimension = 3>
virtual void itk::MetaConverterBase< VDimension >::WriteImagesInSeparateFileOff ( )
virtual

Set/Get flag for writing images to separate files in metaImage instances

◆ WriteImagesInSeparateFileOn()

template<unsigned VDimension = 3>
virtual void itk::MetaConverterBase< VDimension >::WriteImagesInSeparateFileOn ( )
virtual

Set/Get flag for writing images to separate files in metaImage instances

◆ WriteMeta()

template<unsigned VDimension = 3>
virtual bool itk::MetaConverterBase< VDimension >::WriteMeta ( const SpatialObjectType spatialObject,
const char *  name 
)
virtual

Write a MetaIO file based on this SpatialObject

Member Data Documentation

◆ m_WriteImagesInSeparateFile

template<unsigned VDimension = 3>
bool itk::MetaConverterBase< VDimension >::m_WriteImagesInSeparateFile { false }
private

Set/Get flag for writing images to separate files in metaImage instances

Definition at line 93 of file itkMetaConverterBase.h.


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