ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits > Class Template Reference

#include <itkMetaMeshConverter.h>

+ Inheritance diagram for itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >:
+ Collaboration diagram for itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >:

Detailed Description

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
class itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >

converts between MetaObject<->SpatialObject.

See Also
MetaConverterBase

Definition at line 38 of file itkMetaMeshConverter.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef MetaMesh MeshMetaObjectType
 
typedef
MeshSpatialObjectType::ConstPointer 
MeshSpatialObjectConstPointer
 
typedef
MeshSpatialObjectType::Pointer 
MeshSpatialObjectPointer
 
typedef MeshSpatialObject
< MeshType
MeshSpatialObjectType
 
typedef itk::Mesh< PixelType,
NDimensions, TMeshTraits > 
MeshType
 
typedef Superclass::MetaObjectType MetaObjectType
 
typedef SmartPointer< SelfPointer
 
typedef MetaMeshConverter Self
 
typedef SpatialObjectType::Pointer SpatialObjectPointer
 
typedef
Superclass::SpatialObjectType 
SpatialObjectType
 
typedef MetaConverterBase
< NDimensions > 
Superclass
 
- Public Types inherited from itk::MetaConverterBase< NDimensions >
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 ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual SpatialObjectPointer MetaObjectToSpatialObject (const MetaObjectType *mo)
 
virtual MetaObjectTypeSpatialObjectToMetaObject (const SpatialObjectType *spatialObject)
 
- Public Member Functions inherited from itk::MetaConverterBase< NDimensions >
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 void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) 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
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () 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
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

virtual MetaObjectTypeCreateMetaObject ()
 
 MetaMeshConverter ()
 
 ~MetaMeshConverter ()
 
- Protected Member Functions inherited from itk::MetaConverterBase< NDimensions >
 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
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- 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 Member Functions

 MetaMeshConverter (const Self &)
 
void operator= (const Self &)
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Member Typedef Documentation

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef SmartPointer< const Self > itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::ConstPointer

Definition at line 46 of file itkMetaMeshConverter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef MetaMesh itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::MeshMetaObjectType

Definition at line 63 of file itkMetaMeshConverter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef MeshSpatialObjectType::ConstPointer itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::MeshSpatialObjectConstPointer

Definition at line 62 of file itkMetaMeshConverter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef MeshSpatialObjectType::Pointer itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::MeshSpatialObjectPointer

Definition at line 61 of file itkMetaMeshConverter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef MeshSpatialObject<MeshType> itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::MeshSpatialObjectType

Definition at line 60 of file itkMetaMeshConverter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef itk::Mesh< PixelType, NDimensions, TMeshTraits > itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::MeshType

Specific class types for conversion

Definition at line 59 of file itkMetaMeshConverter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef Superclass::MetaObjectType itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::MetaObjectType

Definition at line 56 of file itkMetaMeshConverter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef SmartPointer< Self > itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::Pointer

Definition at line 45 of file itkMetaMeshConverter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef MetaMeshConverter itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::Self

Standard class typedefs

Definition at line 43 of file itkMetaMeshConverter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef SpatialObjectType::Pointer itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::SpatialObjectPointer

Definition at line 55 of file itkMetaMeshConverter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef Superclass::SpatialObjectType itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::SpatialObjectType

Definition at line 52 of file itkMetaMeshConverter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef MetaConverterBase< NDimensions > itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::Superclass

Definition at line 44 of file itkMetaMeshConverter.h.

Constructor & Destructor Documentation

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::MetaMeshConverter ( )
protected
template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::~MetaMeshConverter ( )
inlineprotected

Definition at line 76 of file itkMetaMeshConverter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::MetaMeshConverter ( const Self )
private

Member Function Documentation

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual::itk::LightObject::Pointer itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual MetaObjectType* itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::CreateMetaObject ( )
protectedvirtual

Create the specific MetaObject for this class

Implements itk::MetaConverterBase< NDimensions >.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual const char* itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::MetaConverterBase< NDimensions >.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual SpatialObjectPointer itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::MetaObjectToSpatialObject ( const MetaObjectType mo)
virtual

Convert the MetaObject to Spatial Object

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
static Pointer itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::New ( )
static

Method for creation through the object factory.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
void itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::operator= ( const Self )
private
template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual MetaObjectType* itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::SpatialObjectToMetaObject ( const SpatialObjectType spatialObject)
virtual

Convert the SpatialObject to MetaObject


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