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

#include <itkSpatialObjectWriter.h>

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

Detailed Description

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

TODO.

Definition at line 38 of file itkSpatialObjectWriter.h.

Public Types

typedef MetaConverterBase
< NDimensions > 
MetaConverterBaseType
 
typedef SmartPointer< SelfPointer
 
typedef SceneSpatialObject
< NDimensions > 
SceneType
 
typedef SpatialObjectWriter Self
 
typedef SpatialObjectType::Pointer SpatialObjectPointer
 
typedef SpatialObject
< NDimensions > 
SpatialObjectType
 
- 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 bool GetBinaryPoints () const
 
virtual const char * GetFileName () const
 
unsigned int GetTransformPrecision ()
 
void RegisterMetaConverter (const char *metaTypeName, const char *spatialObjectTypeName, MetaConverterBaseType *converter)
 
virtual void SetBinaryPoints (bool _arg)
 
virtual void SetFileName (const char *_arg)
 
void SetInput (SpatialObjectType *input)
 
void SetInput (SceneType *input)
 
void SetTransformPrecision (unsigned int precision)
 
void Update (void)
 
virtual void SetWriteImagesInSeparateFile (bool _arg)
 
virtual bool GetWriteImagesInSeparateFile () const
 
- 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 ()
 
- 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 Member Functions

void operator= (const Self &)
 
 SpatialObjectWriter (const Self &)
 
 SpatialObjectWriter ()
 
virtual ~SpatialObjectWriter ()
 
- 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 ()
 

Protected Attributes

bool m_BinaryPoints
 
std::string m_FileName
 
bool m_WriteImagesInSeparateFile
 

Private Attributes

MetaSceneConverter
< NDimensions, PixelType,
TMeshTraits > 
m_MetaToSpatialConverter
 
SceneTypem_Scene
 
SpatialObjectPointer m_SpatialObject
 
typedef Object Superclass
 
virtual const char * GetNameOfClass () const
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 

Member Typedef Documentation

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

base type for MetaConverters – bidirections conversion btw SpatialObject & MetaObject

Definition at line 53 of file itkSpatialObjectWriter.h.

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

Definition at line 44 of file itkSpatialObjectWriter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef SceneSpatialObject< NDimensions > itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::SceneType

Definition at line 48 of file itkSpatialObjectWriter.h.

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

SmartPointer typedef support

Definition at line 43 of file itkSpatialObjectWriter.h.

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

Definition at line 47 of file itkSpatialObjectWriter.h.

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

Definition at line 46 of file itkSpatialObjectWriter.h.

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

Run-time type information (and related methods).

Definition at line 56 of file itkSpatialObjectWriter.h.

Constructor & Destructor Documentation

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::SpatialObjectWriter ( const Self )
protected
template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::SpatialObjectWriter ( )
protected
template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::~SpatialObjectWriter ( )
protectedvirtual

Member Function Documentation

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual::itk::LightObject::Pointer itk::SpatialObjectWriter< 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.

Reimplemented in itk::FEMSpatialObjectWriter< NDimensions, PixelType, TMeshTraits >.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual bool itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::GetBinaryPoints ( ) const
virtual
template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual const char* itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::GetFileName ( ) const
virtual

Get the filename

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

Run-time type information (and related methods).

Reimplemented from itk::Object.

Reimplemented in itk::FEMSpatialObjectWriter< NDimensions, PixelType, TMeshTraits >.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
unsigned int itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::GetTransformPrecision ( )
template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual bool itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::GetWriteImagesInSeparateFile ( ) const
virtual

Set/Get if the images should be written in a different file

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
static Pointer itk::SpatialObjectWriter< 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::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::operator= ( const Self )
protected
template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
void itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::RegisterMetaConverter ( const char *  metaTypeName,
const char *  spatialObjectTypeName,
MetaConverterBaseType converter 
)

Add a converter for a new MetaObject/SpatialObject type

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual void itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::SetBinaryPoints ( bool  _arg)
virtual
template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual void itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::SetFileName ( const char *  _arg)
virtual

Set the filename

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
void itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::SetInput ( SpatialObjectType input)
inline
template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
void itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::SetInput ( SceneType input)
inline
template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
void itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::SetTransformPrecision ( unsigned int  precision)
template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual void itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::SetWriteImagesInSeparateFile ( bool  _arg)
virtual

Set/Get if the images should be written in a different file

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
void itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::Update ( void  )

Load a tube file.

Member Data Documentation

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
bool itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::m_BinaryPoints
protected

Definition at line 99 of file itkSpatialObjectWriter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
std::string itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::m_FileName
protected

Definition at line 98 of file itkSpatialObjectWriter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
MetaSceneConverter< NDimensions, PixelType, TMeshTraits > itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::m_MetaToSpatialConverter
private

Definition at line 111 of file itkSpatialObjectWriter.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
SceneType* itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::m_Scene
private
template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
SpatialObjectPointer itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::m_SpatialObject
private
template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
bool itk::SpatialObjectWriter< NDimensions, PixelType, TMeshTraits >::m_WriteImagesInSeparateFile
protected

Definition at line 100 of file itkSpatialObjectWriter.h.


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