ITK  5.4.0
Insight Toolkit
Public Types | Public Member Functions | Protected Member Functions | List of all members
itk::CellInterfaceVisitor< TPixelType, TCellTraits > Class Template Referenceabstract

#include <itkCellInterfaceVisitor.h>

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 45 of file itkCellInterfaceVisitor.h.

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

Public Types

using CellIdentifier = typename TCellTraits::CellIdentifier
 
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = CellInterfaceVisitor
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual CellGeometryEnum GetCellTopologyId ()=0
 
const char * GetNameOfClass () const override
 
virtual void VisitFromCell (CellIdentifier cellId, CellInterface< TPixelType, TCellTraits > *)=0
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual Pointer CreateAnother () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
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 ()=default
 
 ~CellInterfaceVisitor () override=default
 
- Protected Member Functions inherited from itk::LightObject
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 Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ CellIdentifier

template<typename TPixelType , typename TCellTraits >
using itk::CellInterfaceVisitor< TPixelType, TCellTraits >::CellIdentifier = typename TCellTraits::CellIdentifier

Definition at line 55 of file itkCellInterfaceVisitor.h.

◆ ConstPointer

template<typename TPixelType , typename TCellTraits >
using itk::CellInterfaceVisitor< TPixelType, TCellTraits >::ConstPointer = SmartPointer<const Self>

Definition at line 54 of file itkCellInterfaceVisitor.h.

◆ Pointer

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

Definition at line 53 of file itkCellInterfaceVisitor.h.

◆ Self

template<typename TPixelType , typename TCellTraits >
using itk::CellInterfaceVisitor< TPixelType, TCellTraits >::Self = CellInterfaceVisitor

Standard class type aliases.

Definition at line 51 of file itkCellInterfaceVisitor.h.

◆ Superclass

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

Definition at line 52 of file itkCellInterfaceVisitor.h.

Constructor & Destructor Documentation

◆ CellInterfaceVisitor()

template<typename TPixelType , typename TCellTraits >
itk::CellInterfaceVisitor< TPixelType, TCellTraits >::CellInterfaceVisitor ( )
protecteddefault

◆ ~CellInterfaceVisitor()

template<typename TPixelType , typename TCellTraits >
itk::CellInterfaceVisitor< TPixelType, TCellTraits >::~CellInterfaceVisitor ( )
overrideprotecteddefault

Member Function Documentation

◆ GetCellTopologyId()

template<typename TPixelType , typename TCellTraits >
virtual CellGeometryEnum itk::CellInterfaceVisitor< TPixelType, TCellTraits >::GetCellTopologyId ( )
pure virtual

◆ GetNameOfClass()

template<typename TPixelType , typename TCellTraits >
const char* itk::CellInterfaceVisitor< TPixelType, TCellTraits >::GetNameOfClass ( ) const
overridevirtual

◆ VisitFromCell()

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: