ITK  4.13.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::SpatialObjectReader< NDimensions, PixelType, TMeshTraits > Class Template Reference

#include <itkSpatialObjectReader.h>

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

Detailed Description

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

TODO.

Examples:
Examples/SpatialObjects/MeshSpatialObject.cxx, and Examples/SpatialObjects/ReadWriteSpatialObject.cxx.

Definition at line 37 of file itkSpatialObjectReader.h.

Public Types

typedef GroupType::Pointer GroupPointer
 
typedef GroupSpatialObject
< NDimensions > 
GroupType
 
typedef MetaConverterBase
< NDimensions > 
MetaConverterBaseType
 
typedef SmartPointer< SelfPointer
 
typedef SceneType::Pointer ScenePointer
 
typedef SceneSpatialObject
< NDimensions > 
SceneType
 
typedef SpatialObjectReader 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 () const
 
virtual const char * GetFileName () const
 
void RegisterMetaConverter (const char *metaTypeName, const char *spatialObjectTypeName, MetaConverterBaseType *converter)
 
virtual void SetFileName (const char *_arg)
 
void Update ()
 
ScenePointer GetScene (void)
 
GroupPointer GetGroup (void)
 
const MetaEventGetEvent ()
 
void SetEvent (MetaEvent *event)
 
- 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 ()
 
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
 

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

 SpatialObjectReader ()
 
virtual ~SpatialObjectReader () override
 
- 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 ()
 

Protected Attributes

std::string m_FileName
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Attributes

GroupPointer m_Group
 
MetaSceneConverter
< NDimensions, PixelType,
TMeshTraits > 
m_MetaToSpatialConverter
 
ScenePointer m_Scene
 
typedef Object Superclass
 
virtual const char * GetNameOfClass () const
 

Member Typedef Documentation

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef GroupType::Pointer itk::SpatialObjectReader< NDimensions, PixelType, TMeshTraits >::GroupPointer

Definition at line 48 of file itkSpatialObjectReader.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef GroupSpatialObject< NDimensions > itk::SpatialObjectReader< NDimensions, PixelType, TMeshTraits >::GroupType

Definition at line 47 of file itkSpatialObjectReader.h.

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

base type for MetaConverters – bidirections conversion btw SpatialObject & MetaObject

Definition at line 56 of file itkSpatialObjectReader.h.

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

Definition at line 43 of file itkSpatialObjectReader.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
typedef SceneType::Pointer itk::SpatialObjectReader< NDimensions, PixelType, TMeshTraits >::ScenePointer

Definition at line 51 of file itkSpatialObjectReader.h.

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

Definition at line 50 of file itkSpatialObjectReader.h.

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

SmartPointer typedef support

Definition at line 42 of file itkSpatialObjectReader.h.

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

Definition at line 45 of file itkSpatialObjectReader.h.

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

Definition at line 44 of file itkSpatialObjectReader.h.

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

Run-time type information (and related methods).

Definition at line 59 of file itkSpatialObjectReader.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
const MetaEvent* itk::SpatialObjectReader< NDimensions, PixelType, TMeshTraits >::GetEvent ( )
inline

Set/GetEvent

Definition at line 81 of file itkSpatialObjectReader.h.

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

Get the filename

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
GroupPointer itk::SpatialObjectReader< NDimensions, PixelType, TMeshTraits >::GetGroup ( void  )
inline

Get the output

Definition at line 77 of file itkSpatialObjectReader.h.

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

Run-time type information (and related methods).

Reimplemented from itk::Object.

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

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
ScenePointer itk::SpatialObjectReader< NDimensions, PixelType, TMeshTraits >::GetScene ( void  )
inline

Get the output

Definition at line 76 of file itkSpatialObjectReader.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
static Pointer itk::SpatialObjectReader< 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::SpatialObjectReader< 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 >>
void itk::SpatialObjectReader< NDimensions, PixelType, TMeshTraits >::SetEvent ( MetaEvent event)
inline

Set/GetEvent

Definition at line 82 of file itkSpatialObjectReader.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
virtual void itk::SpatialObjectReader< 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::SpatialObjectReader< NDimensions, PixelType, TMeshTraits >::Update ( )

Load a scene file.

Member Data Documentation

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

Definition at line 91 of file itkSpatialObjectReader.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
GroupPointer itk::SpatialObjectReader< NDimensions, PixelType, TMeshTraits >::m_Group
private

Definition at line 101 of file itkSpatialObjectReader.h.

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

Definition at line 103 of file itkSpatialObjectReader.h.

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits< PixelType, NDimensions, NDimensions >>
ScenePointer itk::SpatialObjectReader< NDimensions, PixelType, TMeshTraits >::m_Scene
private

Definition at line 100 of file itkSpatialObjectReader.h.


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