ITK  5.0.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

using GroupPointer = typename GroupType::Pointer
 
using GroupType = GroupSpatialObject< NDimensions >
 
using MetaConverterBaseType = MetaConverterBase< NDimensions >
 
using MetaSceneConverterType = MetaSceneConverter< NDimensions, PixelType, TMeshTraits >
 
using Pointer = SmartPointer< Self >
 
using Self = SpatialObjectReader
 
using SpatialObjectPointer = typename SpatialObjectType::Pointer
 
using SpatialObjectType = SpatialObject< NDimensions >
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
const MetaEventGetEvent ()
 
virtual const char * GetFileName () const
 
GroupPointer GetGroup ()
 
void RegisterMetaConverter (const char *metaTypeName, const char *spatialObjectTypeName, MetaConverterBaseType *converter)
 
void SetEvent (MetaEvent *event)
 
virtual void SetFileName (const char *_arg)
 
void Update ()
 
- 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
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
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 ()
 
 ~SpatialObjectReader () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &time)
 
 ~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
std::atomic< int > m_ReferenceCount
 

Private Attributes

GroupPointer m_Group
 
MetaSceneConverterType::Pointer m_MetaToSpatialConverter
 
using Superclass = Object
 
virtual const char * GetNameOfClass () const
 

Member Typedef Documentation

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

Definition at line 49 of file itkSpatialObjectReader.h.

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

Definition at line 48 of file itkSpatialObjectReader.h.

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

base type for MetaConverters – bidirections conversion btw SpatialObject & MetaObject

Definition at line 54 of file itkSpatialObjectReader.h.

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

Definition at line 56 of file itkSpatialObjectReader.h.

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

Definition at line 44 of file itkSpatialObjectReader.h.

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

SmartPointer type alias support

Definition at line 43 of file itkSpatialObjectReader.h.

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

Definition at line 46 of file itkSpatialObjectReader.h.

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

Definition at line 45 of file itkSpatialObjectReader.h.

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

Run-time type information (and related methods).

Definition at line 62 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 >>
itk::SpatialObjectReader< NDimensions, PixelType, TMeshTraits >::~SpatialObjectReader ( )
overrideprotecteddefault

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.

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 79 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 ( )
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 >>
virtual const char* itk::SpatialObjectReader< NDimensions, PixelType, TMeshTraits >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::Object.

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

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 98 of file itkSpatialObjectReader.h.

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

Definition at line 100 of file itkSpatialObjectReader.h.


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