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

itk::QuadEdge Class Reference
[Mesh Representation Objects]

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

#include <itkQuadEdge.h>

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

List of all members.

Public Types

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

Public Member Functions

 itkQEDefineIteratorMethodsMacro (Onext)

 QuadEdge ()
virtual ~QuadEdge ()

void SetOnext (Self *onext)
void SetRot (Self *rot)

SelfGetOnext ()
SelfGetRot ()
const SelfGetOnext () const
const SelfGetRot () const

void Splice (Self *b)
SelfGetSym ()
const SelfGetSym () const

SelfGetLnext ()
const SelfGetLnext () const

SelfGetRnext ()
const SelfGetRnext () const

SelfGetDnext ()
const SelfGetDnext () const

SelfGetOprev ()
const SelfGetOprev () const

SelfGetLprev ()
const SelfGetLprev () const

SelfGetRprev ()
const SelfGetRprev () const

SelfGetDprev ()
const SelfGetDprev () const

SelfGetInvRot ()
SelfGetInvOnext ()
SelfGetInvLnext ()
SelfGetInvRnext ()
SelfGetInvDnext ()
const SelfGetInvRot () const
const SelfGetInvOnext () const
const SelfGetInvLnext () const
const SelfGetInvRnext () const
const SelfGetInvDnext () const

bool IsHalfEdge () const
bool IsIsolated () const
bool IsEdgeInOnextRing (Self *testEdge) const
bool IsLnextGivenSizeCyclic (const int size) const
unsigned int GetOrder () const

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://insight-journal.org/midas/handle.php?handle=1926/306

See also:
"Accessing adjacent edges."

Definition at line 224 of file itkQuadEdge.h.


Member Typedef Documentation

Definition at line 232 of file itkQuadEdge.h.

Iterator types.

Definition at line 231 of file itkQuadEdge.h.

Hierarchy typedefs & values.

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

Definition at line 228 of file itkQuadEdge.h.


Constructor & Destructor Documentation

itk::QuadEdge::QuadEdge (  ) 

Object creation methods.

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

Object creation methods.


Member Function Documentation

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::GetDnext (  )  const

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

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").

Referenced by GetInvDnext().

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

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 [inline]

Inverse operators

Definition at line 409 of file itkQuadEdge.h.

References GetDprev().

Self* itk::QuadEdge::GetInvDnext (  )  [inline]

Inverse operators

Definition at line 391 of file itkQuadEdge.h.

References GetDprev().

const Self* itk::QuadEdge::GetInvLnext (  )  const [inline]

Inverse operators

Definition at line 407 of file itkQuadEdge.h.

References GetLprev().

Self* itk::QuadEdge::GetInvLnext (  )  [inline]

Inverse operators

Definition at line 389 of file itkQuadEdge.h.

References GetLprev().

Self* itk::QuadEdge::GetInvOnext (  )  [inline]

Inverse operators

Definition at line 388 of file itkQuadEdge.h.

References GetOprev().

const Self* itk::QuadEdge::GetInvOnext (  )  const [inline]

Inverse operators

Definition at line 406 of file itkQuadEdge.h.

References GetOprev().

const Self* itk::QuadEdge::GetInvRnext (  )  const [inline]

Inverse operators

Definition at line 408 of file itkQuadEdge.h.

References GetRprev().

Self* itk::QuadEdge::GetInvRnext (  )  [inline]

Inverse operators

Definition at line 390 of file itkQuadEdge.h.

References GetRprev().

Self* itk::QuadEdge::GetInvRot (  )  [inline]
const Self* itk::QuadEdge::GetInvRot (  )  const [inline]

Inverse operators

Definition at line 392 of file itkQuadEdge.h.

References GetRot().

Self* itk::QuadEdge::GetLnext (  ) 

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

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

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

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").

Referenced by GetInvLnext().

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

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

Self* itk::QuadEdge::GetOnext (  )  [inline]

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

Definition at line 263 of file itkQuadEdge.h.

Referenced by IsIsolated(), itk::GeometricalQuadEdge< TVRef, TFRef, TPrimalData, TDualData, PrimalDual >::IsOriginDisconnected(), and Splice().

const Self* itk::QuadEdge::GetOnext (  )  const [inline]

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

Definition at line 265 of file itkQuadEdge.h.

Self* itk::QuadEdge::GetOprev (  ) 

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

Referenced by GetInvOnext().

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

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

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

Queries.

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::GetRnext (  )  const

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

Self* itk::QuadEdge::GetRot (  )  [inline]
const Self* itk::QuadEdge::GetRot (  )  const [inline]

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

Definition at line 266 of file itkQuadEdge.h.

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

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

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").

Referenced by GetInvRnext().

Self* itk::QuadEdge::GetSym (  )  [inline]
const Self* itk::QuadEdge::GetSym (  )  const [inline]

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 itk::QuadEdgeMesh::Splice it's geometry aware version.

Definition at line 316 of file itkQuadEdge.h.

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

Queries.

bool itk::QuadEdge::IsHalfEdge (  )  const [inline]

Queries.

Definition at line 413 of file itkQuadEdge.h.

References NULL.

bool itk::QuadEdge::IsIsolated (  )  const [inline]

Queries.

Definition at line 414 of file itkQuadEdge.h.

References GetOnext().

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

Queries.

itk::QuadEdge::itkQEDefineIteratorMethodsMacro ( Onext   )  [inline]

Basic iterators methods.

void itk::QuadEdge::SetOnext ( Self onext  )  [inline]

Sub-algebra Set methods.

Definition at line 256 of file itkQuadEdge.h.

Referenced by Splice().

void itk::QuadEdge::SetRot ( Self rot  )  [inline]

Sub-algebra Set methods.

Definition at line 257 of file itkQuadEdge.h.

void itk::QuadEdge::Splice ( Self b  )  [inline]

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 itk::QuadEdgeMesh::Splice it's geometry aware version.

Definition at line 287 of file itkQuadEdge.h.

References GetOnext(), GetRot(), and SetOnext().


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

Generated at Tue Jul 13 2010 01:02:07 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000