ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | 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 >:

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 41 of file itkMetaConverterBase.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef MetaObject MetaObjectType
 
typedef SmartPointer< SelfPointer
 
typedef MetaConverterBase Self
 
typedef SpatialObjectType::Pointer SpatialObjectPointer
 
typedef SpatialObject< VDimension > SpatialObjectType
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

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)
 
void SetWriteImagesInSeparateFile (bool writeImagesInSeparateFile)
 
bool GetWriteImagesInSeparateFile ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual 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
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Protected Member Functions

virtual MetaObjectTypeCreateMetaObject ()=0
 
 MetaConverterBase ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object () override
 
- 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 ()
 

Private Attributes

bool m_WriteImagesInSeparateFile
 

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 flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

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

Definition at line 48 of file itkMetaConverterBase.h.

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

Definition at line 55 of file itkMetaConverterBase.h.

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

Definition at line 47 of file itkMetaConverterBase.h.

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

standard class typedefs

Definition at line 45 of file itkMetaConverterBase.h.

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

Definition at line 54 of file itkMetaConverterBase.h.

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

Definition at line 51 of file itkMetaConverterBase.h.

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

Definition at line 46 of file itkMetaConverterBase.h.

Constructor & Destructor Documentation

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

Definition at line 79 of file itkMetaConverterBase.h.

Member Function Documentation

template<unsigned VDimension = 3>
virtual MetaObjectType* itk::MetaConverterBase< VDimension >::CreateMetaObject ( )
protectedpure virtual
template<unsigned VDimension = 3>
virtual const char* itk::MetaConverterBase< VDimension >::GetNameOfClass ( ) const
virtual
template<unsigned VDimension = 3>
bool itk::MetaConverterBase< VDimension >::GetWriteImagesInSeparateFile ( )

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

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

Read a MetaIO file, return a SpatialObject

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

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

template<unsigned VDimension = 3>
virtual MetaObjectType* itk::MetaConverterBase< VDimension >::SpatialObjectToMetaObject ( const SpatialObjectType spatialObject)
pure virtual
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

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

Definition at line 83 of file itkMetaConverterBase.h.


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