ITK  5.0.0
Insight Segmentation and Registration 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 >:

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://hdl.handle.net/1926/306

Definition at line 41 of file itkQuadEdgeMeshTopologyChecker.h.

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
 
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 noexceptoverride
 
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
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
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 flag)
 
- 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 ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
 ~Object () override
 
- 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
 

Member Typedef Documentation

Definition at line 56 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 59 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 55 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 50 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 54 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 67 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 84 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 52 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 68 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 49 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 58 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 53 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 47 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 48 of file itkQuadEdgeMeshTopologyChecker.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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.

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

Standard part of all itk objects.

Reimplemented from itk::Object.

template<typename TMesh >
static Pointer itk::QuadEdgeMeshTopologyChecker< TMesh >::New ( )
static
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.

template<typename TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedGenus ( OffsetValueType  _arg)
virtual
template<typename TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedNumberOfBoundaries ( CellIdentifier  _arg)
virtual
template<typename TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedNumberOfEdges ( CellIdentifier  _arg)
virtual
template<typename TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedNumberOfFaces ( CellIdentifier  _arg)
virtual
template<typename TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedNumberOfPoints ( PointIdentifier  _arg)
virtual
template<typename TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetMesh ( const MeshType _arg)
virtual
template<typename TMesh >
bool itk::QuadEdgeMeshTopologyChecker< TMesh >::ValidateEulerCharacteristic ( ) const

Member Data Documentation

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

Definition at line 92 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 91 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 89 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 90 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 88 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 86 of file itkQuadEdgeMeshTopologyChecker.h.


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