ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions
itk::MetaConverterBase< VDimension > Class Template Reference

#include <itkMetaConverterBase.h>

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

List of all members.

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 Member Functions

virtual const char * GetNameOfClass () const
bool GetWriteImagesInSeparateFile ()
virtual SpatialObjectPointer MetaObjectToSpatialObject (const MetaObjectType *mo)=0
virtual SpatialObjectPointer ReadMeta (const char *name)
void SetWriteImagesInSeparateFile (bool writeImagesInSeparateFile)
virtual MetaObjectTypeSpatialObjectToMetaObject (const SpatialObjectType *spatialObject)=0
virtual bool WriteMeta (const SpatialObjectType *spatialObject, const char *name)
bool m_WriteImagesInSeparateFile
virtual MetaObjectTypeCreateMetaObject ()=0
 MetaConverterBase ()

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.


Member Typedef Documentation

template<unsigned VDimension = 3>
typedef SmartPointer< const Self > itk::MetaConverterBase< VDimension >::ConstPointer
template<unsigned VDimension = 3>
typedef MetaObject itk::MetaConverterBase< VDimension >::MetaObjectType
template<unsigned VDimension = 3>
typedef SmartPointer< Self > itk::MetaConverterBase< VDimension >::Pointer
template<unsigned VDimension = 3>
typedef MetaConverterBase itk::MetaConverterBase< VDimension >::Self
template<unsigned VDimension = 3>
typedef SpatialObjectType::Pointer itk::MetaConverterBase< VDimension >::SpatialObjectPointer
template<unsigned VDimension = 3>
typedef SpatialObject<VDimension> itk::MetaConverterBase< VDimension >::SpatialObjectType
template<unsigned VDimension = 3>
typedef Object itk::MetaConverterBase< VDimension >::Superclass

Constructor & Destructor Documentation

template<unsigned VDimension = 3>
itk::MetaConverterBase< VDimension >::MetaConverterBase ( ) [inline, protected]

Creator for specific metaObject, defined in subclass

Definition at line 78 of file itkMetaConverterBase.h.


Member Function Documentation

template<unsigned VDimension = 3>
virtual MetaObjectType* itk::MetaConverterBase< VDimension >::CreateMetaObject ( ) [protected, pure virtual]
template<unsigned VDimension = 3>
virtual const char* itk::MetaConverterBase< VDimension >::GetNameOfClass ( ) const [virtual]
template<unsigned VDimension = 3>
bool itk::MetaConverterBase< VDimension >::GetWriteImagesInSeparateFile ( )
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]

Creator for specific metaObject, defined in subclass

Definition at line 81 of file itkMetaConverterBase.h.


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