Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor Class Reference
[Mesh Access Objects]

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. More...

#include <itkCellInterface.h>

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

Inheritance graph
[legend]
Collaboration diagram for itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor:

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Member Functions

virtual const char * GetClassName () const
VisitorTypeGetVisitor (int id)
void AddVisitor (VisitorType *v)
 ~MultiVisitor ()

Static Public Member Functions

Pointer New (void)

Protected Attributes

VisitorPointer m_Visitors [LAST_ITK_CELL]
std::map< int, VisitorPointerm_UserDefined

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 170 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 179 of file itkCellInterface.h.

Referenced by itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::New().

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

Standard class typedefs.

Reimplemented from itk::LightObject.

Definition at line 178 of file itkCellInterface.h.

Referenced by itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::New().

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

Typedefs for the visitor class. Definition at line 190 of file itkCellInterface.h.

Referenced by itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::~MultiVisitor().

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 175 of file itkCellInterface.h.


Constructor & Destructor Documentation

template<typename TPixelType, typename TCellTraits>
itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::~MultiVisitor  )  [inline]
 

Definition at line 222 of file itkCellInterface.h.

References itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::m_Visitors, and itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::VisitorPointer.


Member Function Documentation

template<typename TPixelType, typename TCellTraits>
void itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::AddVisitor VisitorType v  )  [inline]
 

Definition at line 210 of file itkCellInterface.h.

References itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::m_UserDefined, itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::m_Visitors, and itk::value_type().

template<typename TPixelType, typename TCellTraits>
virtual const char* itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

template<typename TPixelType, typename TCellTraits>
VisitorType* itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::GetVisitor int  id  )  [inline]
 

Definition at line 193 of file itkCellInterface.h.

References itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::m_UserDefined, and itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::m_Visitors.

template<typename TPixelType, typename TCellTraits>
Pointer itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::New void   )  [inline, static]
 

Method for creation through the object factory.

Reimplemented from itk::LightObject.

Definition at line 183 of file itkCellInterface.h.

References itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::Pointer, and itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::Self.


Member Data Documentation

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

Definition at line 225 of file itkCellInterface.h.

Referenced by itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::AddVisitor(), and itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::GetVisitor().

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

Definition at line 224 of file itkCellInterface.h.

Referenced by itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::AddVisitor(), itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::GetVisitor(), and itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::~MultiVisitor().


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 02:51:32 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000