Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
IterateGrids Class Reference
Inheritance diagram for IterateGrids:
Fiber::Iterator< Grid > Fiber::Iterator< Grid > Fiber::IteratorBase< T > Fiber::GridIterator Fiber::IteratorBase< T > Fiber::GridIterator Fiber::ElementIterator< T > Fiber::ElementIterator< T > Fiber::HyperslabParameters Fiber::HyperslabParameters

Public Member Functions

bool apply (GridID &id, Grid &g)
 Virtual callback function.
bool apply (GridID &id, Grid &g)
 Virtual callback function.
Public Member Functions inherited from Fiber::Iterator< Grid >
 Iterator (index_t howmany, Grid *Ptr)
 Construct view pointer from contiguous storage.
Iterator< array_t > getArrayIterator () const
 Get an iterator that operates on associated FixedArray<> subjects.
Iterator< component_t > getComponent (int n) const
 Get an iterator that operates on the nth component.
Gridoperator[] (index_t i) const
 Access an element of the array, writeable.
const GridgetValue (index_t i) const
 Get the value, readonly.
void set (const Grid &Value)
 Set all elements to the same value.
const_ranged_for_iterator< Gridbegin () const
const_ranged_for_iterator< Gridend () const
Public Member Functions inherited from Fiber::IteratorBase< T >
 IteratorBase (index_t Length, T *d, index_t Stride, index_t Offset)
 IteratorBase (const IteratorBase &IB)
 IteratorBase (const HyperslabParameters &IB, T *d)
 Construct compatible iterator with different data.
 IteratorBase (index_t ishift, const IteratorBase &P, const Add &)
Public Member Functions inherited from Fiber::ElementIterator< T >
 ElementIterator (index_t Length, T *Data, index_t Stride, index_t Offset)
 Construct an element iterator.
 ElementIterator (const ElementIterator &It)
 Copy Constructor.
 ElementIterator (const HyperslabParameters &It, T *newData)
 Constructor compatible iterator with new data.
 ElementIterator (index_t i, const ElementIterator &It, const Add &)
 Addition Constructor.
void SetNewData (T *newData, index_t newLength) throw ()
 Change the stored data chunk to a new location and length.
T * ptr (int c=0) const
 Return pointer to data, which is good for C interface, but otherwise, avoid that.
T & getElement (index_t i, int c) const
 Element access (no range check!).
 operator bool () const
 Implicit conversion to boolean: Check whether this is a valid pointer.
Public Member Functions inherited from Fiber::HyperslabParameters
 HyperslabParameters (index_t Length, index_t Stride, index_t Offset) throw ()
 Simple constructorm sets shift and cropped members to zero.
 HyperslabParameters (const HyperslabParameters &H) throw ()
 Copy constructor.
 HyperslabParameters (index_t i, const HyperslabParameters &H) throw ()
 Pointer addition constructor (sets the shift member).
index_t getLength () const throw ()
 Return the number of elements which can be accessed through this ElementIterator.
index_t getOffset () const throw ()
index_t getStride () const throw ()
index_t getShift () const throw ()
index_t getCropped () const throw ()
bool isSeparatedCompound () const throw ()
 Tell if the iterator refers to a data set which is built from arrays of structure members, i.e.
index_t multiplicity () const throw ()
 Return number of elements which form an entity.
index_t maxcount () const throw ()
 Return the number of steps which can be traversed through this ElementIterator.
index_t count () const throw ()
 Return the number of steps which can be traversed through this ElementIterator.
void setCount (index_t size) throw ()
 Set the maximally allowed count, i.e.
index_t getIndex (index_t i, int c) const throw ()
 Given a major and a minor index, compute the overall index in the dataset according to.
HyperslabParametersgetHyperslabParameters () throw ()
const HyperslabParametersgetHyperslabParameters () const throw ()
Public Member Functions inherited from Fiber::GridIterator
virtual ~GridIterator ()
 Destructor.

Additional Inherited Members

Public Types inherited from Fiber::Iterator< Grid >
typedef IteratorBase< GridBase_t
typedef Grid value_t
typedef Eagle::MetaInfo< value_t > FI
typedef FI::element_t component_t
typedef ElementryArrayTrait< Grid >::basetype_t array_t
typedef Gridreference_t
 The reference type.
Public Types inherited from Fiber::ElementIterator< T >
typedef Eagle::MetaInfo< T > info_t
typedef info_t::element_t element_info_t
Protected Member Functions inherited from Fiber::ElementIterator< T >
void incPtr (index_t what)
Protected Attributes inherited from Fiber::ElementIterator< T >
index_t length
 The length (number of elements) of the data array.
index_t stride
index_t offset
index_t shift
index_t cropped
Protected Attributes inherited from Fiber::HyperslabParameters
index_t length
 The length (number of elements) of the data array.
index_t stride
index_t offset
index_t shift
index_t cropped

Member Function Documentation

◆ apply() [1/2]

bool IterateGrids::apply ( GridID & id,
Grid & g )
inlinevirtual

Virtual callback function.

Implements Fiber::GridIterator.

◆ apply() [2/2]

bool IterateGrids::apply ( GridID & id,
Grid & g )
inlinevirtual

Virtual callback function.

Implements Fiber::GridIterator.