Go to the documentation of this file.
28 #ifndef LATTICES_TILESTEPPER_H
29 #define LATTICES_TILESTEPPER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/lattices/Lattices/LatticeNavigator.h>
34 #include <casacore/lattices/Lattices/LatticeIndexer.h>
35 #include <casacore/casa/Arrays/IPosition.h>
264 uInt maxCacheSize,
uInt bucketSize)
const;
virtual Bool ok() const
Function which checks the internal data of this class for correct dimensionality and consistant value...
virtual IPosition subLatticeShape() const
virtual LatticeNavigator * clone() const
Function which returns a pointer to dynamic memory of an exact copy of this instance.
virtual IPosition blc() const
Return the bottom left hand corner (blc), top right corner (trc) or step size (increment) used by the...
IPosition tileShape() const
Function which returns the shape of the "tile" the cursor will iterate through before moving onto the...
virtual Bool atEnd() const
Function which returns "True" if an attempt has been made to increment the cursor beyond the end of t...
LatticeIndexer itsSubSection
virtual Bool atStart() const
Function which returns "True" if the cursor is at the beginning of the Lattice, otherwise,...
virtual void subSection(const IPosition &blc, const IPosition &trc)
Functions to specify a "section" of the Lattice to step over.
virtual IPosition increment() const
TileStepper & operator=(const TileStepper &other)
Assignment (copy semantics).
virtual Bool hangOver() const
Function which returns "True" if the increment/decrement operators have moved the cursor position suc...
virtual void reset()
Function to move the cursor to the beginning of the Lattice.
virtual IPosition trc() const
TileStepper()
Prevent the default constructor from being used.
virtual IPosition position() const
Function which returns the current position of the beginning of the cursor.
virtual IPosition cursorAxes() const
Function which returns the axes of the cursor.
virtual IPosition latticeShape() const
Functions which return the shape of the Lattice being iterated through.
virtual uInt nsteps() const
Function to return the number of steps (increments & decrements) taken since construction (or since l...
this file contains all the compiler specific defines
TileStepper(const TileStepper &other)
Copy constructor (copy semantics).
TileStepper(const IPosition &latticeShape, const IPosition &tileShape, const IPosition &axisPath)
virtual Bool operator++(int)
Increment operator (postfix or prefix version) - move the cursor forward one step.
virtual void subSection(const IPosition &blc, const IPosition &trc, const IPosition &inc)
bool Bool
Define the standard types used by Casacore.
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...
TileStepper(const IPosition &latticeShape, const IPosition &tileShape)
Construct a TileStepper by specifying the Lattice shape, a tile shape, and an optional axis path (def...
virtual IPosition endPosition() const
Function which returns the current position of the end of the cursor.
virtual IPosition cursorShape() const
Function which returns the shape of the cursor.
virtual Bool operator--(int)
Decrement operator (postfix or prefix version) - move the cursor backwards one step.
virtual const IPosition & axisPath() const
Return the axis path.
IPosition itsTilerCursorPos