Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
Wizt::Fish< double >::LevelIterator Struct Referenceabstract

An iterator object to traverse over refinements level of a Grid, where these refinement levels may reside at different times than the coarsest level. More...

#include <Fish.hpp>

Public Member Functions

virtual ~LevelIterator ()=0
 Virtual destructor.
virtual bool apply (const Fiber::Info< Fiber::Skeleton > &RefinementSkeleton, int Level, const RefPtr< Fiber::Grid > &GridWithCoarsetRefinementLevel, const RefPtr< ValuePool > &Context)=0
 Virtual callback function, as called during iteration.

Detailed Description

An iterator object to traverse over refinements level of a Grid, where these refinement levels may reside at different times than the coarsest level.

Use in conjunction with Fish<VObject>::IterateLevels();

Member Function Documentation

◆ apply()

virtual bool Wizt::Fish< double >::LevelIterator::apply ( const Fiber::Info< Fiber::Skeleton > & RefinementSkeleton,
int Level,
const RefPtr< Fiber::Grid > & GridWithCoarsetRefinementLevel,
const RefPtr< ValuePool > & Context )
pure virtual

Virtual callback function, as called during iteration.

Parameters
RefinementSkeletonThe skeleton of the current refinement. To get a representation, do
RefPtr<Representation> LevelRep = RefinementSkeleton.getCartesianRepresentation();
StrongPtr< Object, ObjectBase > RefPtr

Referenced by Wizt::Fish< double >::IterateLevels().