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
typedef std::map< int, VisitorPointer
>::value_type 
VisitorPointerValueType

Public Member Functions

virtual const char * GetNameOfClass () const
VisitorTypeGetVisitor (int id)
void AddVisitor (VisitorType *v)
virtual ~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 std::map<int, VisitorPointer>::value_type itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::VisitorPointerValueType
 

Definition at line 191 of file itkCellInterface.h.

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

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>
virtual itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::~MultiVisitor  )  [inline, virtual]
 

Definition at line 223 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 211 of file itkCellInterface.h.

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

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]
 

Definition at line 194 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 226 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 225 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 Thu May 25 00:32:51 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000