28 #ifndef LATTICES_LINECOLLAPSER_H
29 #define LATTICES_LINECOLLAPSER_H
39 template <
class T>
class Vector;
102 virtual void init (
uInt nOutPixelsPerCollapse) = 0;
143 #ifndef CASACORE_NO_AUTO_TEMPLATES
144 #include <casacore/lattices/LatticeMath/LineCollapser.tcc>
145 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
A 1-D Specialization of the Array class.
std::vector< double > Vector
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
virtual ~LineCollapser()
Destructor.
virtual void init(uInt nOutPixelsPerCollapse)=0
The init function for a derived class.
virtual Bool canHandleNullMask() const
Can the process function in the derived class handle a null mask? If not, LatticeApply ensures that i...
virtual void process(U &result, Bool &resultMask, const Vector< T > &line, const Vector< Bool > &mask, const IPosition &pos)=0
Collapse the given line and return one value from that operation.
Abstract base class for LatticeApply function signatures.
bool Bool
Define the standard types used by Casacore.
virtual void multiProcess(Vector< U > &result, Vector< Bool > &resultMask, const Vector< T > &line, const Vector< Bool > &mask, const IPosition &pos)=0
Collapse the given line and return a line of values from that operation.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.