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 Template 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::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 Methods

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

Static Public Methods

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 173 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 182 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 181 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 193 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 178 of file itkCellInterface.h.


Constructor & Destructor Documentation

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

Definition at line 225 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 213 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 196 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 186 of file itkCellInterface.h.


Member Data Documentation

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

Definition at line 228 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 227 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 Wed Mar 12 01:19:41 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000