ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Attributes | List of all members
itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor Class Reference

#include <itkCellInterface.h>

+ Inheritance diagram for itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor:
+ Collaboration diagram for itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor:

Detailed Description

template<typename TPixelType, typename TCellTraits>
class itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor

A visitor that can visit different cell types in a mesh. CellInterfaceVisitor instances can be registered for each type of cell that needs to be visited.

Definition at line 168 of file itkCellInterface.h.

Public Types

typedef SmartPointer< SelfPointer
 
typedef MultiVisitor Self
 
typedef VisitorType::Pointer VisitorPointer
 
typedef std::map< int,
VisitorPointer >::value_type 
VisitorPointerValueType
 
typedef CellInterfaceVisitor
< TPixelType, TCellTraits > 
VisitorType
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

void AddVisitor (VisitorType *v)
 
virtual const char * GetNameOfClass () const
 
VisitorTypeGetVisitor (int id)
 
virtual ~MultiVisitor ()
 
- Public Member Functions inherited from itk::LightObject
virtual Pointer CreateAnother () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const
 

Static Public Member Functions

static Pointer New (void)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Attributes

std::map< int, VisitorPointerm_UserDefined
 
VisitorPointer m_Visitors [LAST_ITK_CELL]
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Member Typedef Documentation

template<typename TPixelType , typename TCellTraits >
typedef SmartPointer< Self > itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::Pointer

Definition at line 177 of file itkCellInterface.h.

template<typename TPixelType , typename TCellTraits >
typedef MultiVisitor itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::Self

Standard class typedefs.

Definition at line 176 of file itkCellInterface.h.

template<typename TPixelType , typename TCellTraits >
typedef VisitorType::Pointer itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::VisitorPointer

Typedefs for the visitor class.

Definition at line 185 of file itkCellInterface.h.

template<typename TPixelType , typename TCellTraits >
typedef std::map< int, VisitorPointer >::value_type itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::VisitorPointerValueType

Definition at line 190 of file itkCellInterface.h.

template<typename TPixelType , typename TCellTraits >
typedef CellInterfaceVisitor< TPixelType, TCellTraits > itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::VisitorType

Visitor type, because VisualC++ 6.0 does not like Visitor being a nested type of CellInterfaceVisitor

Definition at line 173 of file itkCellInterface.h.

Constructor & Destructor Documentation

template<typename TPixelType , typename TCellTraits >
virtual itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::~MultiVisitor ( )
inlinevirtual

Definition at line 225 of file itkCellInterface.h.

Member Function Documentation

template<typename TPixelType , typename TCellTraits >
void itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::AddVisitor ( VisitorType v)
inline
template<typename TPixelType , typename TCellTraits >
virtual const char* itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::LightObject.

template<typename TPixelType , typename TCellTraits >
VisitorType* itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::GetVisitor ( int  id)
inline
template<typename TPixelType , typename TCellTraits >
static Pointer itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::New ( void  )
inlinestatic

Method for creation through the object factory.

Definition at line 181 of file itkCellInterface.h.

References itk::SmartPointer< TObjectType >::UnRegister().

Member Data Documentation

template<typename TPixelType , typename TCellTraits >
std::map< int, VisitorPointer > itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::m_UserDefined
protected
template<typename TPixelType , typename TCellTraits >
VisitorPointer itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::m_Visitors[LAST_ITK_CELL]
protected

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