ITK  5.2.0
Insight Toolkit
Public Types | List of all members

#include <itkQuadEdge.h>

+ Inheritance diagram for itk::QuadEdge:

Public Types

using ConstIterator = QuadEdgeMeshConstIterator< Self >
 
using Iterator = QuadEdgeMeshIterator< Self >
 
using Self = QuadEdge
 

Public Member Functions

 itkQEDefineIteratorMethodsMacro (Onext)
 
 QuadEdge ()
 
 QuadEdge (const QuadEdge &)=default
 
 QuadEdge (QuadEdge &&)=default
 
QuadEdgeoperator= (const QuadEdge &)=default
 
QuadEdgeoperator= (QuadEdge &&)=default
 
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 https://hdl.handle.net/1926/306

See also
"Accessing adjacent edges."

Definition at line 134 of file itkQuadEdge.h.

Member Typedef Documentation

◆ ConstIterator

Definition at line 142 of file itkQuadEdge.h.

◆ Iterator

Iterator types.

Definition at line 141 of file itkQuadEdge.h.

◆ Self

Hierarchy type alias & values.

Definition at line 138 of file itkQuadEdge.h.

Constructor & Destructor Documentation

◆ QuadEdge() [1/3]

itk::QuadEdge::QuadEdge ( )

Object creation methods.

◆ QuadEdge() [2/3]

itk::QuadEdge::QuadEdge ( const QuadEdge )
default

Basic iterators methods.

◆ QuadEdge() [3/3]

itk::QuadEdge::QuadEdge ( QuadEdge &&  )
default

Basic iterators methods.

◆ ~QuadEdge()

virtual itk::QuadEdge::~QuadEdge ( )
virtual

Basic iterators methods.

Member Function Documentation

◆ GetDnext() [1/2]

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

◆ GetDnext() [2/2]

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

Basic iterators methods.

◆ GetDprev() [1/2]

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

◆ GetDprev() [2/2]

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

Basic iterators methods.

◆ GetInvDnext() [1/2]

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

Basic iterators methods.

Definition at line 373 of file itkQuadEdge.h.

◆ GetInvDnext() [2/2]

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

Basic iterators methods.

Definition at line 418 of file itkQuadEdge.h.

◆ GetInvLnext() [1/2]

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

Basic iterators methods.

Definition at line 363 of file itkQuadEdge.h.

◆ GetInvLnext() [2/2]

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

Basic iterators methods.

Definition at line 408 of file itkQuadEdge.h.

◆ GetInvOnext() [1/2]

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

Basic iterators methods.

Definition at line 358 of file itkQuadEdge.h.

◆ GetInvOnext() [2/2]

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

Basic iterators methods.

Definition at line 403 of file itkQuadEdge.h.

◆ GetInvRnext() [1/2]

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

Basic iterators methods.

Definition at line 368 of file itkQuadEdge.h.

◆ GetInvRnext() [2/2]

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

Basic iterators methods.

Definition at line 413 of file itkQuadEdge.h.

◆ GetInvRot() [1/2]

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

Inverse operators

Definition at line 332 of file itkQuadEdge.h.

References GetRot().

◆ GetInvRot() [2/2]

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

Basic iterators methods.

Definition at line 378 of file itkQuadEdge.h.

References GetRot().

◆ GetLnext() [1/2]

Self* itk::QuadEdge::GetLnext ( )

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

◆ GetLnext() [2/2]

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

Basic iterators methods.

◆ GetLprev() [1/2]

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

◆ GetLprev() [2/2]

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

Basic iterators methods.

◆ GetOnext() [1/2]

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

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

Definition at line 188 of file itkQuadEdge.h.

Referenced by Splice().

◆ GetOnext() [2/2]

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

Basic iterators methods.

Definition at line 198 of file itkQuadEdge.h.

◆ GetOprev() [1/2]

Self* itk::QuadEdge::GetOprev ( )

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

◆ GetOprev() [2/2]

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

Basic iterators methods.

◆ GetOrder()

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

Basic iterators methods.

◆ GetRnext() [1/2]

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

◆ GetRnext() [2/2]

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

Basic iterators methods.

◆ GetRot() [1/2]

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

Basic iterators methods.

Definition at line 193 of file itkQuadEdge.h.

Referenced by GetInvRot(), and Splice().

◆ GetRot() [2/2]

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

Basic iterators methods.

Definition at line 203 of file itkQuadEdge.h.

◆ GetRprev() [1/2]

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

◆ GetRprev() [2/2]

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

Basic iterators methods.

◆ GetSym() [1/2]

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

Returns the symmetric edge (see "Accessing adjacent edges").

Definition at line 249 of file itkQuadEdge.h.

◆ GetSym() [2/2]

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

Basic iterators methods.

Definition at line 260 of file itkQuadEdge.h.

◆ IsEdgeInOnextRing()

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

Basic iterators methods.

◆ IsHalfEdge()

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

Queries.

Definition at line 425 of file itkQuadEdge.h.

◆ IsIsolated()

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

Basic iterators methods.

Definition at line 430 of file itkQuadEdge.h.

◆ IsLnextGivenSizeCyclic()

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

Basic iterators methods.

◆ itkQEDefineIteratorMethodsMacro()

itk::QuadEdge::itkQEDefineIteratorMethodsMacro ( Onext  )
inline

Basic iterators methods.

◆ operator=() [1/2]

QuadEdge& itk::QuadEdge::operator= ( const QuadEdge )
default

Basic iterators methods.

◆ operator=() [2/2]

QuadEdge& itk::QuadEdge::operator= ( QuadEdge &&  )
default

Basic iterators methods.

◆ SetOnext()

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

Sub-algebra Set methods.

Definition at line 173 of file itkQuadEdge.h.

Referenced by Splice().

◆ SetRot()

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

Basic iterators methods.

Definition at line 178 of file itkQuadEdge.h.

◆ Splice()

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 228 of file itkQuadEdge.h.

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


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