![]() |
ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkCellInterfaceVisitor.h>
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.
Public Types | |
typedef TCellTraits::CellIdentifier | CellIdentifier |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef CellInterfaceVisitor | Self |
typedef LightObject | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual int | GetCellTopologyId ()=0 |
virtual const char * | GetNameOfClass () const |
virtual void | VisitFromCell (CellIdentifier cellId, CellInterface< TPixelType, TCellTraits > *)=0 |
![]() | |
virtual Pointer | CreateAnother () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
Protected Member Functions | |
CellInterfaceVisitor () | |
~CellInterfaceVisitor () override | |
![]() | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Additional Inherited Members | |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
![]() | |
AtomicInt< int > | m_ReferenceCount |
typedef TCellTraits::CellIdentifier itk::CellInterfaceVisitor< TPixelType, TCellTraits >::CellIdentifier |
Definition at line 58 of file itkCellInterfaceVisitor.h.
typedef SmartPointer< const Self > itk::CellInterfaceVisitor< TPixelType, TCellTraits >::ConstPointer |
Definition at line 57 of file itkCellInterfaceVisitor.h.
typedef SmartPointer< Self > itk::CellInterfaceVisitor< TPixelType, TCellTraits >::Pointer |
Definition at line 56 of file itkCellInterfaceVisitor.h.
typedef CellInterfaceVisitor itk::CellInterfaceVisitor< TPixelType, TCellTraits >::Self |
Standard class typedefs.
Definition at line 54 of file itkCellInterfaceVisitor.h.
typedef LightObject itk::CellInterfaceVisitor< TPixelType, TCellTraits >::Superclass |
Definition at line 55 of file itkCellInterfaceVisitor.h.
|
inlineprotected |
Definition at line 71 of file itkCellInterfaceVisitor.h.
|
inlineoverrideprotected |
Definition at line 72 of file itkCellInterfaceVisitor.h.
|
pure virtual |
Return the index of the CellTopology.
Implemented in itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >.
Referenced by itk::CellInterface< TPixelType, TCellTraits >::MultiVisitor::AddVisitor().
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::LightObject.
Reimplemented in itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >.
|
pure virtual |
This method is called by each cell as it visits this visitor.
Implemented in itk::CellInterfaceVisitorImplementation< TPixelType, TCellTraits, CellTopology, UserVisitor >.