Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::QuadEdge Class Reference
[Mesh Representation Objects]

#include <itkQuadEdge.h>

Inheritance diagram for itk::QuadEdge:

Inheritance graph
[legend]
Collaboration diagram for itk::QuadEdge:

Collaboration graph
[legend]
List of all members.

Detailed Description

Base class for the implementation of a quad-edge data structure as proposed in Guibas and Stolfi 1985.

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

See also:
Accessing adjacent edges.

Definition at line 223 of file itkQuadEdge.h.

Public Types

typedef QuadEdgeMeshConstIterator<
Self
ConstIterator
typedef QuadEdgeMeshIterator<
Self
Iterator
typedef QuadEdge Self

Public Member Functions

void Splice (Self *b)
const SelfGetDnext () const
SelfGetDnext ()
const SelfGetDprev () const
SelfGetDprev ()
const SelfGetInvDnext () const
SelfGetInvDnext ()
const SelfGetInvLnext () const
SelfGetInvLnext ()
const SelfGetInvOnext () const
SelfGetInvOnext ()
const SelfGetInvRnext () const
SelfGetInvRnext ()
const SelfGetInvRot () const
SelfGetInvRot ()
const SelfGetLnext () const
SelfGetLnext ()
const SelfGetLprev () const
SelfGetLprev ()
const SelfGetOnext () const
SelfGetOnext ()
const SelfGetRot () const
SelfGetRot ()
const SelfGetOprev () const
SelfGetOprev ()
unsigned int GetOrder () const
bool IsEdgeInOnextRing (Self *testEdge) const
bool IsHalfEdge () const
bool IsIsolated () const
bool IsLnextGivenSizeCyclic (const int size) const
const SelfGetRnext () const
SelfGetRnext ()
const SelfGetRprev () const
SelfGetRprev ()
const SelfGetSym () const
SelfGetSym ()
 itkQEDefineIteratorMethodsMacro (Onext)
void SetOnext (Self *onext)
void SetRot (Self *rot)


Member Typedef Documentation

typedef QuadEdgeMeshConstIterator< Self > itk::QuadEdge::ConstIterator

Definition at line 231 of file itkQuadEdge.h.

typedef QuadEdgeMeshIterator< Self > itk::QuadEdge::Iterator

Iterator types.

Definition at line 230 of file itkQuadEdge.h.

typedef QuadEdge itk::QuadEdge::Self

Hierarchy typedefs & values.

Reimplemented in itk::GeometricalQuadEdge< TVRef, TFRef, TPrimalData, TDualData, PrimalDual >.

Definition at line 227 of file itkQuadEdge.h.


Constructor & Destructor Documentation

itk::QuadEdge::QuadEdge (  ) 

Object creation methods.

virtual itk::QuadEdge::~QuadEdge (  )  [virtual]

Object creation methods.

itk::QuadEdge::QuadEdge (  ) 

Object creation methods.

virtual itk::QuadEdge::~QuadEdge (  )  [virtual]

Object creation methods.


Member Function Documentation

const Self* itk::QuadEdge::GetDnext (  )  const

Self* itk::QuadEdge::GetDnext (  ) 

Returns next edge with same right face and same Destination. The first edge encountered when moving counter-clockwise from e (see Accessing adjacent edges).

const Self* itk::QuadEdge::GetDprev (  )  const

Self* itk::QuadEdge::GetDprev (  ) 

Returns the previous edge with same Right face and same Destination. The first edge encountered when moving clockwise from e around e->Dest. (see Accessing adjacent edges).

const Self* itk::QuadEdge::GetInvDnext (  )  const

Self* itk::QuadEdge::GetInvDnext (  ) 

const Self* itk::QuadEdge::GetInvLnext (  )  const

Self* itk::QuadEdge::GetInvLnext (  ) 

const Self* itk::QuadEdge::GetInvOnext (  )  const

Self* itk::QuadEdge::GetInvOnext (  ) 

const Self* itk::QuadEdge::GetInvRnext (  )  const

Self* itk::QuadEdge::GetInvRnext (  ) 

const Self* itk::QuadEdge::GetInvRot (  )  const

Self* itk::QuadEdge::GetInvRot (  ) 

Inverse operators

Referenced by itk::GeometricalQuadEdge< TVRef, TFRef, TPrimalData, TDualData, PrimalDual >::GetLeft(), itk::GeometricalQuadEdge< TVRef, TFRef, TPrimalData, TDualData, PrimalDual >::SetLeft(), and itk::GeometricalQuadEdge< TVRef, TFRef, TPrimalData, TDualData, PrimalDual >::UnsetLeft().

const Self* itk::QuadEdge::GetLnext (  )  const

Self* itk::QuadEdge::GetLnext (  ) 

Returns next edge with same Left face (see Accessing adjacent edges).

const Self* itk::QuadEdge::GetLprev (  )  const

Self* itk::QuadEdge::GetLprev (  ) 

Returns previous edge with same Left face. The first edge encountered when moving clockwise from e around e->Left. (see Accessing adjacent edges).

const Self* itk::QuadEdge::GetOnext (  )  const

Self* itk::QuadEdge::GetOnext (  ) 

Sub-algebra Get methods. Returns edge with same Origin (see Accessing adjacent edges).

const Self* itk::QuadEdge::GetOprev (  )  const

Self* itk::QuadEdge::GetOprev (  ) 

Returns previous edge with same Origin (see Accessing adjacent edges).

unsigned int itk::QuadEdge::GetOrder (  )  const

const Self* itk::QuadEdge::GetRnext (  )  const

Self* itk::QuadEdge::GetRnext (  ) 

Returns next edge with same Right face. The first edge encountered when moving counter-clockwise from e around e->Right. (see Accessing adjacent edges).

const Self* itk::QuadEdge::GetRot (  )  const

Self* itk::QuadEdge::GetRot (  ) 

Referenced by itk::GeometricalQuadEdge< TVRef, TFRef, TPrimalData, TDualData, PrimalDual >::GetRight(), itk::GeometricalQuadEdge< TVRef, TFRef, TPrimalData, TDualData, PrimalDual >::SetDualData(), itk::GeometricalQuadEdge< TVRef, TFRef, TPrimalData, TDualData, PrimalDual >::SetRight(), itk::GeometricalQuadEdge< TVRef, TFRef, TPrimalData, TDualData, PrimalDual >::UnsetDualData(), and itk::GeometricalQuadEdge< TVRef, TFRef, TPrimalData, TDualData, PrimalDual >::UnsetRight().

const Self* itk::QuadEdge::GetRprev (  )  const

Self* itk::QuadEdge::GetRprev (  ) 

Returns the previous edge with same Right face. The first edge encountered when moving clockwise from e around e->Right. (see Accessing adjacent edges).

const Self* itk::QuadEdge::GetSym (  )  const

Self* itk::QuadEdge::GetSym (  ) 

Returns the symetric edge (see Accessing adjacent edges).

Referenced by itk::GeometricalQuadEdge< TVRef, TFRef, TPrimalData, TDualData, PrimalDual >::GetDestination(), itk::GeometricalQuadEdge< TVRef, TFRef, TPrimalData, TDualData, PrimalDual >::SetDestination(), and itk::GeometricalQuadEdge< TVRef, TFRef, TPrimalData, TDualData, PrimalDual >::UnsetDestination().

bool itk::QuadEdge::IsEdgeInOnextRing ( Self testEdge  )  const

bool itk::QuadEdge::IsHalfEdge (  )  const

Queries.

bool itk::QuadEdge::IsIsolated (  )  const

bool itk::QuadEdge::IsLnextGivenSizeCyclic ( const int  size  )  const

itk::QuadEdge::itkQEDefineIteratorMethodsMacro ( Onext   ) 

Basic iterators methods.

void itk::QuadEdge::SetOnext ( Self onext  ) 

Sub-algebra Set methods.

void itk::QuadEdge::SetRot ( Self rot  ) 

Sub-algebra Set methods.

void itk::QuadEdge::Splice ( Self b  ) 

Basic quad-edge topological method.

This method describes all possible topological operations on an edge.

It is its own inverse. It works in two ways:

1. If this->GetOrg() != b->GetOrg(), it slice a face in two. 2. If this->GetOrg() == b->GetOrg(), it unifies two faces.

Warning:
This class only handles of the connectivity and is not aware of the geometry that lies at the GeometricalQuadEdge level. It is strongly discouraged to use this method. Instead you should use itkQE::Mesh::Splice it's geometry aware version.
See also:
DoxySurgeryConnectivity


The documentation for this class was generated from the following file:
Generated at Sun Sep 23 19:47:13 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000