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

itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor > Class Template Reference
[Mesh Access Objects]

#include <itkCellInterfaceVisitor.h>

Inheritance diagram for itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >:

Inheritance graph
[legend]
Collaboration diagram for itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CellInterfaceVisitorImplementation Self
typedef SmartPointer< SelfPointer

Public Member Functions

virtual const char * GetClassName () const
virtual int GetCellTopologyId ()
void VisitFromCell (unsigned long cellId, CellInterface< TPixelType, TCellTraits > *c)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 CellInterfaceVisitorImplementation ()
 ~CellInterfaceVisitorImplementation ()

Detailed Description

template<typename TPixelType, typename TCellTraits, class CellTopology, class UserVisitor>
class itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >

A template class used to implement a visitor object.

The Visitor implementation does the down cast to the specific cell type that is being visited. After the cast, a member of the UserVisitor type called Visit is passed the exact cell type being visited. To use this class, write a class that implements a function Visit(int id, CellTopology*). Then, use that as the UserVisitor template parameter.

Template parameters for CellInterfaceVisitorImplementation: TPixelType = see CellInterface

TCellTraits = see CellInterface

CellTopology = The specific type of cell that needs to be visited.

UserVisitor = A user supplied class that implements the function Visit(int id, CellTopology*)

Definition at line 102 of file itkCellInterfaceVisitor.h.


Member Typedef Documentation

template<typename TPixelType, typename TCellTraits, class CellTopology, class UserVisitor>
typedef SmartPointer<Self> itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >::Pointer
 

Reimplemented from itk::CellInterfaceVisitor< TPixelType, TCellTraits >.

Definition at line 108 of file itkCellInterfaceVisitor.h.

template<typename TPixelType, typename TCellTraits, class CellTopology, class UserVisitor>
typedef CellInterfaceVisitorImplementation itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >::Self
 

Standard class typedefs.

Reimplemented from itk::CellInterfaceVisitor< TPixelType, TCellTraits >.

Definition at line 107 of file itkCellInterfaceVisitor.h.


Constructor & Destructor Documentation

template<typename TPixelType, typename TCellTraits, class CellTopology, class UserVisitor>
itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >::CellInterfaceVisitorImplementation  )  [inline, protected]
 

Definition at line 128 of file itkCellInterfaceVisitor.h.

template<typename TPixelType, typename TCellTraits, class CellTopology, class UserVisitor>
itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >::~CellInterfaceVisitorImplementation  )  [inline, protected]
 

Definition at line 129 of file itkCellInterfaceVisitor.h.


Member Function Documentation

template<typename TPixelType, typename TCellTraits, class CellTopology, class UserVisitor>
virtual int itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >::GetCellTopologyId  )  [inline, virtual]
 

Call the static method GetTopologyId for the CellTopology type that we are templated over.

Implements itk::CellInterfaceVisitor< TPixelType, TCellTraits >.

Definition at line 118 of file itkCellInterfaceVisitor.h.

template<typename TPixelType, typename TCellTraits, class CellTopology, class UserVisitor>
virtual const char* itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::CellInterfaceVisitor< TPixelType, TCellTraits >.

template<typename TPixelType, typename TCellTraits, class CellTopology, class UserVisitor>
Pointer itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::LightObject.

template<typename TPixelType, typename TCellTraits, class CellTopology, class UserVisitor>
void itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >::VisitFromCell unsigned long  cellId,
CellInterface< TPixelType, TCellTraits > *  c
[inline, virtual]
 

Call the method Visit from the UserVisitor template parameter that this class inherits from. I am my own gradpa...

Implements itk::CellInterfaceVisitor< TPixelType, TCellTraits >.

Definition at line 122 of file itkCellInterfaceVisitor.h.


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