ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Attributes
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:

List of all members.

Public Types

typedef SmartPointer< SelfPointer
typedef MultiVisitor Self
typedef CellInterfaceVisitor
< TPixelType, TCellTraits > 
VisitorType

Public Member Functions

void AddVisitor (VisitorType *v)
virtual const char * GetNameOfClass () const
virtual ~MultiVisitor ()

Static Public Member Functions

static Pointer New (void)

Protected Attributes

std::map< int, VisitorPointerm_UserDefined
VisitorPointer m_Visitors [LAST_ITK_CELL]
typedef VisitorType::Pointer VisitorPointer
typedef std::map< int,
VisitorPointer >::value_type 
VisitorPointerValueType
VisitorTypeGetVisitor (int id)

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.


Member Typedef Documentation

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

Reimplemented from itk::LightObject.

Definition at line 177 of file itkCellInterface.h.

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

Standard class typedefs.

Reimplemented from itk::LightObject.

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

Typedefs for the visitor class.

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 ( ) [inline, virtual]

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  ) [inline, static]

Method for creation through the object factory.

Reimplemented from itk::LightObject.

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: