28 #ifndef LATTICES_LATTICEAPPLY_H
29 #define LATTICES_LATTICEAPPLY_H
39 template <
class T,
class U>
class TiledCollapser;
40 template <
class T,
class U>
class LineCollapser;
41 template <
class T>
class Lattice;
42 template <
class T>
class MaskedLattice;
43 class LatticeProgress;
257 #ifndef CASACORE_NO_AUTO_TEMPLATES
258 #include <casacore/lattices/LatticeMath/LatticeApply.tcc>
259 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
Abstract base class to monitor progress in lattice operations.
A templated, abstract base class for array-like objects with masks.
static IPosition _chunkShape(uInt axis, const MaskedLattice< T > &latticeIn)
Abstract base class to collapse chunks for LatticeApply.
Optimally iterate through a Lattice and apply provided function object.
static IPosition prepare(const IPosition &shapeIn, const IPosition &shapeOut, const IPosition &collapseAxes, Int newOutAxis)
Do some checks on the given arguments.
Abstract base class for LatticeApply function signatures.
static void tiledApply(MaskedLattice< U > &latticeOut, const MaskedLattice< T > &latticeIn, TiledCollapser< T, U > &collapser, const IPosition &collapseAxes, Int newOutAxis=-1, LatticeProgress *tellProgress=0)
This function iterates tile by tile through an input lattice and applies a user supplied function obj...
static void tiledMultiApply(PtrBlock< MaskedLattice< U > * > &latticeOut, const MaskedLattice< T > &latticeIn, TiledCollapser< T, U > &collapser, const IPosition &collapseAxes, LatticeProgress *tellProgress=0)
This function iterates tile by tile through an input lattice and applies a user supplied function obj...
static void lineMultiApply(PtrBlock< MaskedLattice< U > * > &latticeOut, const MaskedLattice< T > &latticeIn, LineCollapser< T, U > &collapser, uInt collapseAxis, LatticeProgress *tellProgress=0)
This function iterates line by line through an input lattice and applies a user supplied function obj...
A drop-in replacement for Block<T*>.
static void lineApply(MaskedLattice< U > &latticeOut, const MaskedLattice< T > &latticeIn, LineCollapser< T, U > &collapser, uInt collapseAxis, LatticeProgress *tellProgress=0)
This function iterates line by line through an input lattice and applies a user supplied function obj...
An optionally strided region in a Lattice.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.