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::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType > Class Template Reference

#include <itkMetaImageConverter.h>

+ Inheritance diagram for itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >:
+ Collaboration diagram for itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >:

Detailed Description

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
class itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >

converts between MetaObject<->SpatialObject.

See Also
MetaConverterBase

Definition at line 39 of file itkMetaImageConverter.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef MetaImage ImageMetaObjectType
 
typedef
ImageSpatialObjectType::ConstPointer 
ImageSpatialObjectConstPointer
 
typedef
ImageSpatialObjectType::Pointer 
ImageSpatialObjectPointer
 
typedef TSpatialObjectType ImageSpatialObjectType
 
typedef Image< TPixel,
NDimensions > 
ImageType
 
typedef Superclass::MetaObjectType MetaObjectType
 
typedef SmartPointer< SelfPointer
 
typedef MetaImageConverter 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

ImageType::Pointer AllocateImage (const ImageMetaObjectType *image)
 
 MetaImageConverter ()
 
 ~MetaImageConverter ()
 
virtual MetaObjectTypeCreateMetaObject ()
 
virtual const char * GetMetaObjectSubType ()
 
- 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

 MetaImageConverter (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 TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
typedef SmartPointer< const Self > itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::ConstPointer

Definition at line 47 of file itkMetaImageConverter.h.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
typedef MetaImage itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::ImageMetaObjectType

Definition at line 63 of file itkMetaImageConverter.h.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
typedef ImageSpatialObjectType::ConstPointer itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::ImageSpatialObjectConstPointer

Definition at line 62 of file itkMetaImageConverter.h.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
typedef ImageSpatialObjectType::Pointer itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::ImageSpatialObjectPointer

Definition at line 61 of file itkMetaImageConverter.h.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
typedef TSpatialObjectType itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::ImageSpatialObjectType

Specific class types for conversion

Definition at line 60 of file itkMetaImageConverter.h.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
typedef Image<TPixel,NDimensions> itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::ImageType

Definition at line 64 of file itkMetaImageConverter.h.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
typedef Superclass::MetaObjectType itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::MetaObjectType

Definition at line 57 of file itkMetaImageConverter.h.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
typedef SmartPointer< Self > itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::Pointer

Definition at line 46 of file itkMetaImageConverter.h.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
typedef MetaImageConverter itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::Self

Standard class typedefs

Definition at line 44 of file itkMetaImageConverter.h.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
typedef SpatialObjectType::Pointer itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::SpatialObjectPointer

Definition at line 56 of file itkMetaImageConverter.h.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
typedef Superclass::SpatialObjectType itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::SpatialObjectType

Definition at line 53 of file itkMetaImageConverter.h.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
typedef MetaConverterBase< NDimensions > itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::Superclass

Definition at line 45 of file itkMetaImageConverter.h.

Constructor & Destructor Documentation

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::MetaImageConverter ( )
protected
template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::~MetaImageConverter ( )
inlineprotected

Definition at line 81 of file itkMetaImageConverter.h.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::MetaImageConverter ( const Self )
private

Member Function Documentation

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
ImageType::Pointer itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::AllocateImage ( const ImageMetaObjectType image)
protected
template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
virtual::itk::LightObject::Pointer itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::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 TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
virtual MetaObjectType* itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::CreateMetaObject ( )
protectedvirtual

Create the specific MetaObject for this class

Implements itk::MetaConverterBase< NDimensions >.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
virtual const char* itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::GetMetaObjectSubType ( )
protectedvirtual

Create the specific MetaObject for this class

Reimplemented in itk::MetaImageMaskConverter< NDimensions >.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
virtual const char* itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::MetaConverterBase< NDimensions >.

Reimplemented in itk::MetaImageMaskConverter< NDimensions >.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
virtual SpatialObjectPointer itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::MetaObjectToSpatialObject ( const MetaObjectType mo)
virtual

Convert the MetaObject to Spatial Object

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
static Pointer itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::New ( )
static

Method for creation through the object factory.

template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
void itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::operator= ( const Self )
private
template<unsigned int NDimensions = 3, typename TPixel = unsigned char, typename TSpatialObjectType = ImageSpatialObject< NDimensions,TPixel >>
virtual MetaObjectType* itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::SpatialObjectToMetaObject ( const SpatialObjectType spatialObject)
virtual

Convert the SpatialObject to MetaObject


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