ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions
itk::CellInterfaceVisitor< TPixelType, TCellTraits > Class Template Reference

Abstract interface for a visitor class that can visit the cells in a Mesh. More...

#include <itkCellInterfaceVisitor.h>

Inheritance diagram for itk::CellInterfaceVisitor< TPixelType, TCellTraits >:
Collaboration diagram for itk::CellInterfaceVisitor< TPixelType, TCellTraits >:

List of all members.

Public Types

typedef TCellTraits::CellIdentifier CellIdentifier
typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef CellInterfaceVisitor Self
typedef LightObject Superclass

Public Member Functions

virtual int GetCellTopologyId ()=0
virtual const char * GetNameOfClass () const
virtual void VisitFromCell (CellIdentifier cellId, CellInterface< TPixelType, TCellTraits > *)=0

Protected Member Functions

 CellInterfaceVisitor ()
 ~CellInterfaceVisitor ()

Private Member Functions

 CellInterfaceVisitor (const Self &)
void operator= (const Self &)

Detailed Description

template<typename TPixelType, typename TCellTraits>
class itk::CellInterfaceVisitor< TPixelType, TCellTraits >

Abstract interface for a visitor class that can visit the cells in a Mesh.

Define the abstract interface for a visitor class that can visit the cells in a Mesh. This follows the Visitor Design Pattern. To make this class easier to use, the CellInterfaceVisitorImplementation is provided as a templated class to implement the pure virtual functions of CellInterfaceVisitor.

Definition at line 50 of file itkCellInterfaceVisitor.h.


Member Typedef Documentation

template<typename TPixelType , typename TCellTraits >
typedef TCellTraits::CellIdentifier itk::CellInterfaceVisitor< TPixelType, TCellTraits >::CellIdentifier
template<typename TPixelType , typename TCellTraits >
typedef SmartPointer< const Self > itk::CellInterfaceVisitor< TPixelType, TCellTraits >::ConstPointer

Reimplemented from itk::LightObject.

Definition at line 57 of file itkCellInterfaceVisitor.h.

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

Standard class typedefs.

Reimplemented from itk::LightObject.

Reimplemented in itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >.

Definition at line 54 of file itkCellInterfaceVisitor.h.

template<typename TPixelType , typename TCellTraits >
typedef LightObject itk::CellInterfaceVisitor< TPixelType, TCellTraits >::Superclass

Definition at line 55 of file itkCellInterfaceVisitor.h.


Constructor & Destructor Documentation

template<typename TPixelType , typename TCellTraits >
itk::CellInterfaceVisitor< TPixelType, TCellTraits >::CellInterfaceVisitor ( ) [inline, protected]

Definition at line 71 of file itkCellInterfaceVisitor.h.

template<typename TPixelType , typename TCellTraits >
itk::CellInterfaceVisitor< TPixelType, TCellTraits >::~CellInterfaceVisitor ( ) [inline, protected]

Definition at line 72 of file itkCellInterfaceVisitor.h.

template<typename TPixelType , typename TCellTraits >
itk::CellInterfaceVisitor< TPixelType, TCellTraits >::CellInterfaceVisitor ( const Self ) [private]

Member Function Documentation

template<typename TPixelType , typename TCellTraits >
virtual int itk::CellInterfaceVisitor< TPixelType, TCellTraits >::GetCellTopologyId ( ) [pure virtual]
template<typename TPixelType , typename TCellTraits >
virtual const char* itk::CellInterfaceVisitor< TPixelType, TCellTraits >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::LightObject.

Reimplemented in itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >.

template<typename TPixelType , typename TCellTraits >
void itk::CellInterfaceVisitor< TPixelType, TCellTraits >::operator= ( const Self ) [private]
template<typename TPixelType , typename TCellTraits >
virtual void itk::CellInterfaceVisitor< TPixelType, TCellTraits >::VisitFromCell ( CellIdentifier  cellId,
CellInterface< TPixelType, TCellTraits > *   
) [pure virtual]

This method is called by each cell as it visits this visitor.

Implemented in itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >.


The documentation for this class was generated from the following file: