ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes
itk::QuadEdgeMeshTopologyChecker< TMesh > Class Template Reference

#include <itkQuadEdgeMeshTopologyChecker.h>

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

List of all members.

Public Types

typedef
QuadEdgeMeshBoundaryEdgesMeshFunction
< MeshType
BoundaryEdges
typedef MeshType::CellIdentifier CellIdentifier
typedef
MeshType::CellsContainerConstIterator 
CellsContainerConstIterator
typedef SmartPointer< const SelfConstPointer
typedef MeshType::EdgeCellType EdgeCellType
typedef ::itk::IdentifierType IdentifierType
typedef TMesh MeshType
typedef ::itk::OffsetValueType OffsetValueType
typedef SmartPointer< SelfPointer
typedef MeshType::PointIdentifier PointIdentifier
typedef MeshType::QEPrimal QEPrimal
typedef QuadEdgeMeshTopologyChecker Self
typedef Object Superclass
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) 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 (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long 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
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () 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 void SetGlobalWarningDisplay (bool flag)
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const
 QuadEdgeMeshTopologyChecker ()
 ~QuadEdgeMeshTopologyChecker ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- 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

typedef MeshType::ConstPointer MeshPointer

Private Member Functions

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

Private Attributes

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

Detailed Description

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

Definition at line 41 of file itkQuadEdgeMeshTopologyChecker.h.


Member Typedef Documentation

Definition at line 54 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
typedef MeshType::CellIdentifier itk::QuadEdgeMeshTopologyChecker< TMesh >::CellIdentifier

Definition at line 57 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
typedef MeshType::CellsContainerConstIterator itk::QuadEdgeMeshTopologyChecker< TMesh >::CellsContainerConstIterator

Definition at line 53 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
typedef SmartPointer< const Self > itk::QuadEdgeMeshTopologyChecker< TMesh >::ConstPointer

Reimplemented from itk::Object.

Definition at line 48 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
typedef MeshType::EdgeCellType itk::QuadEdgeMeshTopologyChecker< TMesh >::EdgeCellType

Definition at line 52 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
typedef ::itk::IdentifierType itk::QuadEdgeMeshTopologyChecker< TMesh >::IdentifierType

Definition at line 63 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
typedef MeshType::ConstPointer itk::QuadEdgeMeshTopologyChecker< TMesh >::MeshPointer
private

Definition at line 85 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
typedef TMesh itk::QuadEdgeMeshTopologyChecker< TMesh >::MeshType

Definition at line 50 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
typedef ::itk::OffsetValueType itk::QuadEdgeMeshTopologyChecker< TMesh >::OffsetValueType

Definition at line 66 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
typedef SmartPointer< Self > itk::QuadEdgeMeshTopologyChecker< TMesh >::Pointer

Reimplemented from itk::Object.

Definition at line 47 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
typedef MeshType::PointIdentifier itk::QuadEdgeMeshTopologyChecker< TMesh >::PointIdentifier

Definition at line 56 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
typedef MeshType::QEPrimal itk::QuadEdgeMeshTopologyChecker< TMesh >::QEPrimal

Definition at line 51 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
typedef QuadEdgeMeshTopologyChecker itk::QuadEdgeMeshTopologyChecker< TMesh >::Self

Smart pointer typedef support.

Reimplemented from itk::Object.

Definition at line 45 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
typedef Object itk::QuadEdgeMeshTopologyChecker< TMesh >::Superclass

Reimplemented from itk::Object.

Definition at line 46 of file itkQuadEdgeMeshTopologyChecker.h.


Constructor & Destructor Documentation

template<class TMesh >
itk::QuadEdgeMeshTopologyChecker< TMesh >::QuadEdgeMeshTopologyChecker ( )
protected
template<class TMesh >
itk::QuadEdgeMeshTopologyChecker< TMesh >::~QuadEdgeMeshTopologyChecker ( )
inlineprotected

Definition at line 78 of file itkQuadEdgeMeshTopologyChecker.h.

template<class TMesh >
itk::QuadEdgeMeshTopologyChecker< TMesh >::QuadEdgeMeshTopologyChecker ( const Self )
private

Member Function Documentation

template<class TMesh >
virtual::itk::LightObject::Pointer itk::QuadEdgeMeshTopologyChecker< TMesh >::CreateAnother ( void  ) 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<class TMesh >
virtual const char* itk::QuadEdgeMeshTopologyChecker< TMesh >::GetNameOfClass ( ) const
virtual

Standard part of all itk objects.

Reimplemented from itk::Object.

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

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TMesh >
void itk::QuadEdgeMeshTopologyChecker< TMesh >::operator= ( const Self )
private

Mutex lock to protect modification to the reference count

Reimplemented from itk::Object.

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

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<class TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedGenus ( OffsetValueType  _arg)
virtual
template<class TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedNumberOfBoundaries ( CellIdentifier  _arg)
virtual
template<class TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedNumberOfEdges ( CellIdentifier  _arg)
virtual
template<class TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedNumberOfFaces ( CellIdentifier  _arg)
virtual
template<class TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetExpectedNumberOfPoints ( PointIdentifier  _arg)
virtual
template<class TMesh >
virtual void itk::QuadEdgeMeshTopologyChecker< TMesh >::SetMesh ( const MeshType _arg)
virtual
template<class TMesh >
bool itk::QuadEdgeMeshTopologyChecker< TMesh >::ValidateEulerCharacteristic ( ) const

Member Data Documentation

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

Definition at line 93 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 92 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 90 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 91 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 89 of file itkQuadEdgeMeshTopologyChecker.h.

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

Definition at line 87 of file itkQuadEdgeMeshTopologyChecker.h.


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