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

Iterator class allowing to circulate over vertices immediatly neighbors of a given vertex. More...

#include <Mesh3dVertexVertexConstCirculator.h>

Public Types

typedef MeshType::DataType T
 underlying mesh 3d data type
 
typedef MeshType::VertexType VertexType
 underlying mesh 3d vertex type
 
typedef Mesh3dVertexVertexConstCirculator< MeshType > Iterator
 iterator type
 
typedef std::input_iterator_tag iterator_category
 iterator category
 
typedef VertexType value_type
 value type associated to iterator
 
typedef ipUInt32 difference_type
 
typedef const VertexTypepointer
 pointer type for iterator
 
typedef const VertexTypereference
 

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
 
const VertexTypegetStartVertex () const
 retrieve starting vertex associated to circulator
 
Iteratoroperator++ ()
 increment of iterator
 
const VertexTypeoperator-> () const
 retrieve current triangle associated to iterator position
 
const VertexTypeoperator* () const
 retrieve current triangle associated to iterator position
 
void swap (Iterator &iter)
 swap between iterators
 
Constructors and destructor
 Mesh3dVertexVertexConstCirculator ()
 
 Mesh3dVertexVertexConstCirculator (const MeshType *pMesh, const ipUInt32 startVertexIdx)
 
 Mesh3dVertexVertexConstCirculator (const Iterator &iter)
 
Mesh3dVertexVertexConstCirculatoroperator= (const Iterator &iter)
 
 ~Mesh3dVertexVertexConstCirculator ()
 
bool operator== (const Iterator &iter) const
 iterator comparison
 
bool operator!= (const Iterator &iter) const
 iterator comparison
 

Protected Attributes

const MeshType * _pMesh
 reference to mesh 3d associated to iterator
 
ipUInt32 _startHalfEdgeIdx
 starting half edge index
 
ipUInt32 _curHalfEdgeIdx
 

Detailed Description

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

Iterator class allowing to circulate over vertices immediatly neighbors of a given vertex.

Author
E.Noirfalise
Date
2017/08/16

Member Data Documentation

◆ _curHalfEdgeIdx

template<typename MeshType>
ipUInt32 ipsdk::geom::Mesh3dVertexVertexConstCirculator< 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: