ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
itk::QuadEdgeMeshTopologyChecker< TMesh > Class Template Reference

#include <itkQuadEdgeMeshTopologyChecker.h>

+ Inheritance diagram for itk::QuadEdgeMeshTopologyChecker< TMesh >:
+ Collaboration diagram for itk::QuadEdgeMeshTopologyChecker< TMesh >:

Public Types

using BoundaryEdges = QuadEdgeMeshBoundaryEdgesMeshFunction< MeshType >
 
using CellIdentifier = typename MeshType::CellIdentifier
 
using CellsContainerConstIterator = typename MeshType::CellsContainerConstIterator
 
using ConstPointer = SmartPointer< const Self >
 
using EdgeCellType = typename MeshType::EdgeCellType
 
using IdentifierType = ::itk::IdentifierType
 
using MeshType = TMesh
 
using OffsetValueType = ::itk::OffsetValueType
 
using Pointer = SmartPointer< Self >
 
using PointIdentifier = typename MeshType::PointIdentifier
 
using QEPrimal = typename MeshType::QEPrimal
 
using Self = QuadEdgeMeshTopologyChecker
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
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 ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual void SetExpectedGenus (OffsetValueType _arg)
 
virtual void SetExpectedNumberOfBoundaries (CellIdentifier _arg)
 
virtual void SetExpectedNumberOfEdges (CellIdentifier _arg)
 
virtual void SetExpectedNumberOfFaces (CellIdentifier _arg)
 
virtual void SetExpectedNumberOfPoints (PointIdentifier _arg)
 
virtual void SetMesh (const MeshType *_arg)
 
bool ValidateEulerCharacteristic () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const override
 
 QuadEdgeMeshTopologyChecker ()
 
 ~QuadEdgeMeshTopologyChecker () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Types

using MeshPointer = typename MeshType::ConstPointer
 

Private Attributes

OffsetValueType m_ExpectedGenus
 
CellIdentifier m_ExpectedNumberOfBoundaries
 
CellIdentifier m_ExpectedNumberOfEdges
 
CellIdentifier m_ExpectedNumberOfFaces
 
PointIdentifier m_ExpectedNumberOfPoints
 
MeshPointer m_Mesh
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TMesh>
class itk::QuadEdgeMeshTopologyChecker< TMesh >

Make some basic checks in order to verify that the considered mesh is not degenerated and correctly represents a surface with a potential boundary.

We check that they are no isolated vertices, no isolated edges and that the Euler formula is possible.

Author
Alexandre Gouaillard, Leonardo Florez-Valencia, Eric Boix

This implementation was contributed as a paper to the Insight Journal https://www.insight-journal.org/browse/publication/122

Definition at line 42 of file itkQuadEdgeMeshTopologyChecker.h.

Member Typedef Documentation

◆ BoundaryEdges

Definition at line 57 of file itkQuadEdgeMeshTopologyChecker.h.

◆ CellIdentifier

template<typename TMesh >
using itk::QuadEdgeMeshTopologyChecker< TMesh >::CellIdentifier = typename MeshType::CellIdentifier

Definition at line 60 of file itkQuadEdgeMeshTopologyChecker.h.

◆ CellsContainerConstIterator

template<typename TMesh >
using itk::QuadEdgeMeshTopologyChecker< TMesh >::CellsContainerConstIterator = typename MeshType::CellsContainerConstIterator

Definition at line 56 of file itkQuadEdgeMeshTopologyChecker.h.

◆ ConstPointer

template<typename TMesh >
using itk::QuadEdgeMeshTopologyChecker< TMesh >::ConstPointer = SmartPointer<const Self>

Definition at line 51 of file itkQuadEdgeMeshTopologyChecker.h.

◆ EdgeCellType

template<typename TMesh >
using itk::QuadEdgeMeshTopologyChecker< TMesh >::EdgeCellType = typename MeshType::EdgeCellType

Definition at line 55 of file itkQuadEdgeMeshTopologyChecker.h.

◆ IdentifierType

template<typename TMesh >
using itk::QuadEdgeMeshTopologyChecker< TMesh >::IdentifierType = ::itk::IdentifierType

Definition at line 68 of file itkQuadEdgeMeshTopologyChecker.h.

◆ MeshPointer

template<typename TMesh >
using itk::QuadEdgeMeshTopologyChecker< TMesh >::MeshPointer = typename MeshType::ConstPointer
private

Definition at line 87 of file itkQuadEdgeMeshTopologyChecker.h.

◆ MeshType

template<typename TMesh >
using itk::QuadEdgeMeshTopologyChecker< TMesh >::MeshType = TMesh

Definition at line 53 of file itkQuadEdgeMeshTopologyChecker.h.

◆ OffsetValueType

template<typename TMesh >
using itk::QuadEdgeMeshTopologyChecker< TMesh >::OffsetValueType = ::itk::OffsetValueType

Definition at line 69 of file itkQuadEdgeMeshTopologyChecker.h.

◆ Pointer

template<typename TMesh >
using itk::QuadEdgeMeshTopologyChecker< TMesh >::Pointer = SmartPointer<Self>

Definition at line 50 of file itkQuadEdgeMeshTopologyChecker.h.

◆ PointIdentifier

template<typename TMesh >
using itk::QuadEdgeMeshTopologyChecker< TMesh >::PointIdentifier = typename MeshType::PointIdentifier

Definition at line 59 of file itkQuadEdgeMeshTopologyChecker.h.

◆ QEPrimal

template<typename TMesh >
using itk::QuadEdgeMeshTopologyChecker< TMesh >::QEPrimal = typename MeshType::QEPrimal

Definition at line 54 of file itkQuadEdgeMeshTopologyChecker.h.

◆ Self

template<typename TMesh >
using itk::QuadEdgeMeshTopologyChecker< TMesh >::Self = QuadEdgeMeshTopologyChecker

Definition at line 48 of file itkQuadEdgeMeshTopologyChecker.h.

◆ Superclass

template<typename TMesh >
using itk::QuadEdgeMeshTopologyChecker< TMesh >::Superclass = Object

Definition at line 49 of file itkQuadEdgeMeshTopologyChecker.h.

Constructor & Destructor Documentation

◆ QuadEdgeMeshTopologyChecker()

template<typename TMesh >
itk::QuadEdgeMeshTopologyChecker< TMesh >::QuadEdgeMeshTopologyChecker ( )
protected

◆ ~QuadEdgeMeshTopologyChecker()

template<typename TMesh >
itk::QuadEdgeMeshTopologyChecker< TMesh >::~QuadEdgeMeshTopologyChecker ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateAnother()

template<typename TMesh >
virtual::itk::LightObject::Pointer itk::QuadEdgeMeshTopologyChecker< TMesh >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

◆ GetNameOfClass()

template<typename TMesh >
virtual const char* itk::QuadEdgeMeshTopologyChecker< TMesh >::GetNameOfClass ( ) const
virtual

Standard part of all itk objects.

Reimplemented from itk::Object.

◆ New()

template<typename TMesh >
static Pointer itk::QuadEdgeMeshTopologyChecker< TMesh >::New ( )
static

◆ PrintSelf()

template<typename TMesh >
void itk::QuadEdgeMeshTopologyChecker< TMesh >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Object.

◆ SetExpectedGenus()

template<typename TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedGenus ( OffsetValueType  _arg)
virtual

◆ SetExpectedNumberOfBoundaries()

template<typename TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedNumberOfBoundaries ( CellIdentifier  _arg)
virtual

◆ SetExpectedNumberOfEdges()

template<typename TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedNumberOfEdges ( CellIdentifier  _arg)
virtual

◆ SetExpectedNumberOfFaces()

template<typename TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedNumberOfFaces ( CellIdentifier  _arg)
virtual

◆ SetExpectedNumberOfPoints()

template<typename TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedNumberOfPoints ( PointIdentifier  _arg)
virtual

◆ SetMesh()

template<typename TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetMesh ( const MeshType _arg)
virtual

◆ ValidateEulerCharacteristic()

template<typename TMesh >
bool itk::QuadEdgeMeshTopologyChecker< TMesh >::ValidateEulerCharacteristic ( ) const

Member Data Documentation

◆ m_ExpectedGenus

template<typename TMesh >
OffsetValueType itk::QuadEdgeMeshTopologyChecker< TMesh >::m_ExpectedGenus
private

Definition at line 95 of file itkQuadEdgeMeshTopologyChecker.h.

◆ m_ExpectedNumberOfBoundaries

template<typename TMesh >
CellIdentifier itk::QuadEdgeMeshTopologyChecker< TMesh >::m_ExpectedNumberOfBoundaries
private

Definition at line 94 of file itkQuadEdgeMeshTopologyChecker.h.

◆ m_ExpectedNumberOfEdges

template<typename TMesh >
CellIdentifier itk::QuadEdgeMeshTopologyChecker< TMesh >::m_ExpectedNumberOfEdges
private

Definition at line 92 of file itkQuadEdgeMeshTopologyChecker.h.

◆ m_ExpectedNumberOfFaces

template<typename TMesh >
CellIdentifier itk::QuadEdgeMeshTopologyChecker< TMesh >::m_ExpectedNumberOfFaces
private

Definition at line 93 of file itkQuadEdgeMeshTopologyChecker.h.

◆ m_ExpectedNumberOfPoints

template<typename TMesh >
PointIdentifier itk::QuadEdgeMeshTopologyChecker< TMesh >::m_ExpectedNumberOfPoints
private

Definition at line 91 of file itkQuadEdgeMeshTopologyChecker.h.

◆ m_Mesh

template<typename TMesh >
MeshPointer itk::QuadEdgeMeshTopologyChecker< TMesh >::m_Mesh
private

Definition at line 89 of file itkQuadEdgeMeshTopologyChecker.h.


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