ug4
|
Iterator to traverse the surface of a multi-grid hierarchy. More...
#include <surface_view.h>
Public Member Functions | |
bool | operator!= (const this_type &iter) const |
TValue | operator* () |
this_type | operator++ () |
this_type | operator++ (int unused) |
bool | operator== (const this_type &iter) const |
SurfaceViewElementIterator () | |
Private Types | |
typedef SurfaceViewElementIterator< TElem > | this_type |
typedef TElem * | TValue |
Private Member Functions | |
TValue | dereference () const |
dereference More... | |
bool | equal (SurfaceViewElementIterator< TElem > const &other) const |
returns if this iterator equals another More... | |
void | increment () |
returns next valid iterator More... | |
bool | increment_section () |
returns begin-iterator of next non-empty section, returns false if not available More... | |
template<class TGeomObj > | |
bool | is_contained (TGeomObj *obj) const |
returns if valid element, i.e. contained in iterator loop More... | |
SurfaceViewElementIterator (bool start, SurfaceView *surfView, const GridLevel &gl, SurfaceState validStates, int si=-1) | |
Private Attributes | |
geometry_traits< TElem >::iterator | m_elemIter |
int | m_fromSI |
GridLevel | m_gl |
geometry_traits< TElem >::iterator | m_iterEndSection |
int | m_lvl |
SurfaceView * | m_pSurfView |
int | m_si |
int | m_topLvl |
int | m_toSI |
SurfaceState | m_validStates |
Friends | |
class | ConstSurfaceViewElementIterator< TElem > |
class | SurfaceView |
Iterator to traverse the surface of a multi-grid hierarchy.
|
private |
|
private |
ug::SurfaceView::SurfaceViewElementIterator< TElem >::SurfaceViewElementIterator | ( | ) |
|
private |
References ug::SurfaceView::SurfaceViewElementIterator< TElem >::increment(), ug::SurfaceView::SurfaceViewElementIterator< TElem >::increment_section(), ug::SurfaceView::SurfaceViewElementIterator< TElem >::is_contained(), ug::SurfaceView::SurfaceViewElementIterator< TElem >::m_elemIter, ug::SurfaceView::SurfaceViewElementIterator< TElem >::m_iterEndSection, ug::SurfaceView::SurfaceViewElementIterator< TElem >::m_lvl, ug::SurfaceView::SurfaceViewElementIterator< TElem >::m_si, ug::SurfaceView::SurfaceViewElementIterator< TElem >::m_topLvl, ug::SurfaceView::SurfaceViewElementIterator< TElem >::m_toSI, ug::SurfaceView::subset_handler(), and UG_ASSERT.
|
inlineprivate |
dereference
Referenced by ug::SurfaceView::SurfaceViewElementIterator< TElem >::operator*().
|
inlineprivate |
returns if this iterator equals another
References ug::SurfaceView::SurfaceViewElementIterator< TElem >::m_elemIter.
Referenced by ug::SurfaceView::SurfaceViewElementIterator< TElem >::operator!=(), and ug::SurfaceView::SurfaceViewElementIterator< TElem >::operator==().
|
private |
returns next valid iterator
References ug::SurfaceView::is_contained().
Referenced by ug::SurfaceView::SurfaceViewElementIterator< TElem >::operator++(), and ug::SurfaceView::SurfaceViewElementIterator< TElem >::SurfaceViewElementIterator().
|
private |
returns begin-iterator of next non-empty section, returns false if not available
Referenced by ug::SurfaceView::SurfaceViewElementIterator< TElem >::SurfaceViewElementIterator().
|
inlineprivate |
returns if valid element, i.e. contained in iterator loop
References ug::SurfaceView::MG_SHADOW, ug::SurfaceView::MG_SURFACE_PURE, ug::Flag< TEnum, TStorageType, defaultValue >::partially_contains(), and ug::SurfaceView::TREAT_TOP_LVL_SHADOWS_AS_SURFACE_PURE.
Referenced by ug::SurfaceView::SurfaceViewElementIterator< TElem >::SurfaceViewElementIterator().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |