28 #ifndef LATTICES_TILEDLINESTEPPER_H
29 #define LATTICES_TILEDLINESTEPPER_H
224 virtual void reset();
326 uInt maxCacheSize,
uInt bucketSize)
const;
A Vector of integers, for indexing into Array<T> objects.
LatticeIndexer itsIndexer
virtual LatticeNavigator * clone() const
Function which returns a pointer to dynamic memory of an exact copy of this instance.
virtual void subSection(const IPosition &blc, const IPosition &trc)
Functions to specify a "section" of the Lattice to step over.
virtual Bool atEnd() const
Function which returns "True" if an attempt has been made to increment the cursor beyond the end of t...
virtual const IPosition & axisPath() const
Return the axis path.
virtual IPosition latticeShape() const
Functions which returns the shape of the Lattice being iterated through.
A helper class for stepping through Lattices.
virtual uInt nsteps() const
Function to return the number of steps (increments & decrements) taken since construction (or since l...
virtual Bool hangOver() const
Function which returns "True" if the increment/decrement operators have moved the cursor position suc...
virtual IPosition endPosition() const
Function which returns the current position of the end of the cursor.
virtual Bool ok() const
Function which checks the internal data of this class for correct dimensionality and consistant value...
LatticeIndexer itsSubSection
IPosition itsIndexerCursorPos
virtual IPosition cursorAxes() const
Function which returns the axes of the cursor.
TiledLineStepper()
Prevent the default constructor from being used.
bool Bool
Define the standard types used by Casacore.
virtual Bool atStart() const
Function which returns "True" if the cursor is at the beginning of the Lattice, otherwise, returns "False".
virtual IPosition trc() const
IPosition itsTilerCursorPos
virtual IPosition position() const
Function which returns the current position of the beginning of the cursor.
TiledLineStepper & operator=(const TiledLineStepper &other)
The assignment operator uses copy semantics.
virtual IPosition increment() const
virtual IPosition cursorShape() const
Function which returns the shape of the cursor.
virtual IPosition blc() const
Return the bottom left hand corner (blc), top right corner (trc) or step size (increment) used by the...
virtual IPosition subLatticeShape() const
IPosition tileShape() const
Function which returns the shape of the "tile" the cursor will iterate through before moving onto the...
virtual void reset()
Function to move the cursor to the beginning of the Lattice.
virtual uInt calcCacheSize(const IPosition &cubeShape, const IPosition &tileShape, uInt maxCacheSize, uInt bucketSize) const
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.
Step a Vector cursor optimally through a tiled Lattice.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.