![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
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< T > | TriangleType |
| 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 TriangleType * | pointer |
| pointer type for iterator | |
| typedef const TriangleType & | reference |
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 | |
| Iterator & | operator++ () |
| increment of iterator | |
| const TriangleType * | operator-> () const |
| retrieve current triangle associated to iterator position | |
| const TriangleType & | operator* () 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) | |
| Mesh3dTriangleTriangleConstCirculator & | operator= (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 | |
Iterator class allowing to circulate over triangles immediatly neighbors of a given triangle.
|
protected |
current half edge index (NumericLimits<ipUInt32>::max() stands for ending position)
1.8.14