MeshFaceIterator, transverse all the faces in the mesh. More...
#include <iterators.h>
Public Member Functions | |
MeshFaceIterator (CBaseMesh< CVertex, CEdge, CFace, CHalfEdge > *pMesh) | |
CFace * | value () |
CFace * | operator* () |
void | operator++ () |
void | operator++ (int) |
bool | end () |
Private Attributes | |
CBaseMesh< CVertex, CEdge, CFace, CHalfEdge > * | m_pMesh |
std::list< CFace * >::iterator | m_iter |
MeshFaceIterator, transverse all the faces in the mesh.
Definition at line 821 of file iterators.h.
MeshLib::MeshFaceIterator< CVertex, CEdge, CFace, CHalfEdge >::MeshFaceIterator | ( | CBaseMesh< CVertex, CEdge, CFace, CHalfEdge > * | pMesh | ) | [inline] |
MeshFaceIterator constructor,
pMesh | the current mesh |
Definition at line 828 of file iterators.h.
bool MeshLib::MeshFaceIterator< CVertex, CEdge, CFace, CHalfEdge >::end | ( | ) | [inline] |
Indicate whether all the faces have been accessed.
Definition at line 853 of file iterators.h.
CFace* MeshLib::MeshFaceIterator< CVertex, CEdge, CFace, CHalfEdge >::operator* | ( | ) | [inline] |
The face, pointed by the current iterator
Definition at line 840 of file iterators.h.
{ return value(); };
void MeshLib::MeshFaceIterator< CVertex, CEdge, CFace, CHalfEdge >::operator++ | ( | int | ) | [inline] |
MeshFaceIterator postfix operator ++, goes to the next vertex
Definition at line 849 of file iterators.h.
{ ++ m_iter; }; //postfix
void MeshLib::MeshFaceIterator< CVertex, CEdge, CFace, CHalfEdge >::operator++ | ( | ) | [inline] |
MeshFaceIterator prefix operator ++, goes to the next vertex
Definition at line 845 of file iterators.h.
{ ++ m_iter; }; //prefix
CFace* MeshLib::MeshFaceIterator< CVertex, CEdge, CFace, CHalfEdge >::value | ( | ) | [inline] |
The face, pointed by the current iterator
Definition at line 836 of file iterators.h.
{ return *m_iter; };
std::list<CFace*>::iterator MeshLib::MeshFaceIterator< CVertex, CEdge, CFace, CHalfEdge >::m_iter [private] |
Current face list iterator.
Definition at line 861 of file iterators.h.
CBaseMesh<CVertex,CEdge,CFace,CHalfEdge>* MeshLib::MeshFaceIterator< CVertex, CEdge, CFace, CHalfEdge >::m_pMesh [private] |
Current mesh.
Definition at line 858 of file iterators.h.