MeshVertexIterator, transverse all the vertices in the mesh. More...
#include <iterators.h>
Public Member Functions | |
MeshVertexIterator (CBaseMesh< CVertex, CEdge, CFace, CHalfEdge > *pMesh) | |
CVertex * | value () |
CVertex * | operator* () |
void | operator++ () |
void | operator++ (int) |
bool | end () |
Private Attributes | |
CBaseMesh< CVertex, CEdge, CFace, CHalfEdge > * | m_pMesh |
std::list< CVertex * >::iterator | m_iter |
MeshVertexIterator, transverse all the vertices in the mesh.
Definition at line 771 of file iterators.h.
MeshLib::MeshVertexIterator< CVertex, CEdge, CFace, CHalfEdge >::MeshVertexIterator | ( | CBaseMesh< CVertex, CEdge, CFace, CHalfEdge > * | pMesh | ) | [inline] |
MeshVertexIterator constructor,
pMesh | the current mesh |
Definition at line 778 of file iterators.h.
bool MeshLib::MeshVertexIterator< CVertex, CEdge, CFace, CHalfEdge >::end | ( | ) | [inline] |
Indicate whether all the vertices have been accessed.
Definition at line 803 of file iterators.h.
CVertex* MeshLib::MeshVertexIterator< CVertex, CEdge, CFace, CHalfEdge >::operator* | ( | ) | [inline] |
The vertex, pointed by the current iterator
Definition at line 791 of file iterators.h.
{ return value(); };
void MeshLib::MeshVertexIterator< CVertex, CEdge, CFace, CHalfEdge >::operator++ | ( | int | ) | [inline] |
MeshVertexIterator prefix operator ++, goes to the next vertex
Definition at line 799 of file iterators.h.
{ ++ m_iter; }; //postfix
void MeshLib::MeshVertexIterator< CVertex, CEdge, CFace, CHalfEdge >::operator++ | ( | ) | [inline] |
MeshVertexIterator prefix operator ++, goes to the next vertex
Definition at line 795 of file iterators.h.
{ ++ m_iter; }; //prefix
CVertex* MeshLib::MeshVertexIterator< CVertex, CEdge, CFace, CHalfEdge >::value | ( | ) | [inline] |
The vertex, pointed by the current iterator
Definition at line 786 of file iterators.h.
{ return *m_iter; };
std::list<CVertex*>::iterator MeshLib::MeshVertexIterator< CVertex, CEdge, CFace, CHalfEdge >::m_iter [private] |
Current vertex list iterator.
Definition at line 813 of file iterators.h.
CBaseMesh<CVertex,CEdge,CFace,CHalfEdge>* MeshLib::MeshVertexIterator< CVertex, CEdge, CFace, CHalfEdge >::m_pMesh [private] |
Current mesh.
Definition at line 809 of file iterators.h.