Public Types | Public Member Functions | List of all members
lvr2::MeshHandleIterator< HandleT > Class Template Referenceabstract

An iterator for handles in the BaseMesh. More...

#include <BaseMesh.hpp>

Inheritance diagram for lvr2::MeshHandleIterator< HandleT >:
Inheritance graph
[legend]

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 MeshHandleIteratoroperator++ ()=0
 
virtual bool operator== (const MeshHandleIterator &other) const =0
 
virtual ~MeshHandleIterator ()=default
 

Detailed Description

template<typename HandleT>
class lvr2::MeshHandleIterator< HandleT >

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!

Template Parameters
HandleTThe type of the requested handle

Definition at line 61 of file BaseMesh.hpp.

Member Typedef Documentation

◆ HandleType

template<typename HandleT >
using lvr2::MeshHandleIterator< HandleT >::HandleType = HandleT

Definition at line 76 of file BaseMesh.hpp.

Constructor & Destructor Documentation

◆ ~MeshHandleIterator()

template<typename HandleT >
virtual lvr2::MeshHandleIterator< HandleT >::~MeshHandleIterator ( )
virtualdefault

Member Function Documentation

◆ operator!=()

template<typename HandleT >
virtual bool lvr2::MeshHandleIterator< HandleT >::operator!= ( const MeshHandleIterator< HandleT > &  other) const
pure virtual

◆ operator*()

template<typename HandleT >
virtual HandleT lvr2::MeshHandleIterator< HandleT >::operator* ( ) const
pure virtual

Returns the current handle.

Implemented in lvr2::HemFevIterator< HandleT, ElemT >.

◆ operator++()

template<typename HandleT >
virtual MeshHandleIterator& lvr2::MeshHandleIterator< HandleT >::operator++ ( )
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 >.

◆ operator==()

template<typename HandleT >
virtual bool lvr2::MeshHandleIterator< HandleT >::operator== ( const MeshHandleIterator< HandleT > &  other) const
pure virtual

The documentation for this class was generated from the following file:


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:27