28 #ifndef LATTICES_LATTICENAVIGATOR_H
29 #define LATTICES_LATTICENAVIGATOR_H
39 class ROTiledStManAccessor;
217 virtual void reset() = 0;
340 uInt maxCacheSize,
uInt bucketSize)
const = 0;
A Vector of integers, for indexing into Array<T> objects.
virtual IPosition hangOverTrc() const
virtual IPosition cursorShape() const =0
Function which returns the current shape of the cursor which is iterating through the Lattice...
virtual IPosition relativePosition() const
virtual IPosition increment() const
virtual IPosition endPosition() const =0
Functions which return the current position of the end of the cursor.
virtual void subSection(const IPosition &blc, const IPosition &trc)
Function to specify a "section" of the Lattice to Navigate over.
virtual IPosition hangOverBlc() const
Functions which return the "bottom left corner" and the "top right corner" of the cursor that does no...
virtual Bool atStart() const =0
Function which returns "True" if the cursor is at the beginning of the Lattice, otherwise, returns "False".
virtual Bool ok() const
Function which checks the internals of the class for consistency.
virtual Bool atEnd() const =0
Function which returns "True" if an attempt has been made to increment the cursor beyond the end of t...
LatticeNavigator & operator=(const LatticeNavigator &)
Assignment.
LatticeNavigator(const LatticeNavigator &)
Copy constructor.
virtual IPosition trc() const
virtual Bool hangOver() const =0
Function which returns "True" if the increment/decrement operators have moved the cursor position suc...
virtual ~LatticeNavigator()
A virtual destructor.
virtual void reset()=0
Function to reset the cursor to the beginning of the Lattice and reset the number of steps taken to z...
virtual IPosition cursorAxes() const =0
Function which returns the axes of the cursor.
virtual uInt nsteps() const =0
Function to return the number of steps (increments or decrements) taken since construction (or since ...
bool Bool
Define the standard types used by Casacore.
virtual IPosition subLatticeShape() const
virtual IPosition blc() const
Return the bottom left hand corner (blc), top right corner (trc) or step size (increment) used by the...
virtual IPosition relativeEndPosition() const
LatticeNavigator()
Default constructor.
virtual IPosition latticeShape() const =0
Functions which return the shape of the Lattice being iterated through.
virtual IPosition position() const =0
Functions which return the current position of the beginning of the cursor.
virtual LatticeNavigator * clone() const =0
Function which returns a pointer to dynamic memory of an exact copy of this LatticeNavigator.
virtual const IPosition & axisPath() const =0
Return the axis path.
virtual uInt calcCacheSize(const IPosition &cubeShape, const IPosition &tileShape, uInt maxCacheSize, uInt bucketSize) const =0
Calculate the cache size (in tiles) for this type of access to a lattice in the given row of the tile...
Abstract base class to steer lattice iterators.