An iterator for handles in the BaseMesh. More...
#include <BaseMesh.hpp>
Public Types | |
using | HandleType = HandleT |
Public Member Functions | |
virtual bool | operator!= (const MeshHandleIterator &other) const =0 |
virtual HandleT | operator* () const =0 |
Returns the current handle. More... | |
virtual MeshHandleIterator & | operator++ ()=0 |
virtual bool | operator== (const MeshHandleIterator &other) const =0 |
virtual | ~MeshHandleIterator ()=default |
An iterator for handles in the BaseMesh.
Important: This is not a fail fast iterator! If the mesh struct is changed while using an instance of this iterator the behavior is undefined!
HandleT | The type of the requested handle |
Definition at line 61 of file BaseMesh.hpp.
using lvr2::MeshHandleIterator< HandleT >::HandleType = HandleT |
Definition at line 76 of file BaseMesh.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in lvr2::HemFevIterator< HandleT, ElemT >.
|
pure virtual |
Returns the current handle.
Implemented in lvr2::HemEdgeIterator< BaseVecT >, and lvr2::HemFevIterator< HandleT, ElemT >.
|
pure virtual |
Advances the iterator once. Using the dereference operator afterwards will yield the next handle.
Implemented in lvr2::HemEdgeIterator< BaseVecT >, and lvr2::HemFevIterator< HandleT, ElemT >.
|
pure virtual |
Implemented in lvr2::HemFevIterator< HandleT, ElemT >.