IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ipsdk::geom::Mesh3dTriangleTriangleConstCirculator< MeshType > Class Template Reference

Iterator class allowing to circulate over triangles immediatly neighbors of a given triangle. More...

#include <Mesh3dTriangleTriangleConstCirculator.h>

Public Types

typedef MeshType::DataType T
 underlying mesh 3d data type
 
typedef MeshType::VertexType VertexType
 underlying mesh 3d vertex type
 
typedef Triangle3d< TTriangleType
 underlying triangle 3d type
 
typedef Mesh3dTriangleTriangleConstCirculator< MeshType > Iterator
 iterator type
 
typedef std::input_iterator_tag iterator_category
 iterator category
 
typedef TriangleType value_type
 value type associated to iterator
 
typedef ipUInt32 difference_type
 
typedef const TriangleTypepointer
 pointer type for iterator
 
typedef const TriangleTypereference
 

Public Member Functions

const ipUInt32 getStartHalfEdgeIdx () const
 retrieve starting half edge index associated to circulator
 
const ipUInt32 getCurHalfEdgeIdx () const
 retrieve current half edge index associated to circulator
 
TriangleType getStartTriangle () const
 retrieve starting triangle associated to circulator
 
Iteratoroperator++ ()
 increment of iterator
 
const TriangleTypeoperator-> () const
 retrieve current triangle associated to iterator position
 
const TriangleTypeoperator* () const
 retrieve current triangle associated to iterator position
 
void swap (Iterator &iter)
 swap between iterators
 
Constructors and destructor
 Mesh3dTriangleTriangleConstCirculator ()
 
 Mesh3dTriangleTriangleConstCirculator (const MeshType *pMesh, const ipUInt32 startTriangleIdx)
 
 Mesh3dTriangleTriangleConstCirculator (const Iterator &iter)
 
Mesh3dTriangleTriangleConstCirculatoroperator= (const Iterator &iter)
 
 ~Mesh3dTriangleTriangleConstCirculator ()
 
bool operator== (const Iterator &iter) const
 iterator comparison
 
bool operator!= (const Iterator &iter) const
 iterator comparison
 

Protected Member Functions

void updateData ()
 method allowing to update iterator internal data
 

Protected Attributes

const MeshType * _pMesh
 reference to mesh 3d associated to iterator
 
ipUInt32 _startHalfEdgeIdx
 starting half edge index
 
ipUInt32 _curHalfEdgeIdx
 
TriangleType _triangle
 triangle data associated to current iterator position
 

Detailed Description

template<typename MeshType>
class ipsdk::geom::Mesh3dTriangleTriangleConstCirculator< MeshType >

Iterator class allowing to circulate over triangles immediatly neighbors of a given triangle.

Author
E.Noirfalise
Date
2017/08/16

Member Data Documentation

◆ _curHalfEdgeIdx

template<typename MeshType >
ipUInt32 ipsdk::geom::Mesh3dTriangleTriangleConstCirculator< MeshType >::_curHalfEdgeIdx
protected

current half edge index (NumericLimits<ipUInt32>::max() stands for ending position)


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