28 #ifndef IMAGES_LELIMAGECOORD_H
29 #define IMAGES_LELIMAGECOORD_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/lattices/LEL/LELLattCoord.h>
34 #include <casacore/coordinates/Coordinates/CoordinateSystem.h>
35 #include <casacore/images/Images/ImageInfo.h>
36 #include <casacore/tables/Tables/TableRecord.h>
37 #include <casacore/casa/Quanta/Unit.h>
38 #include <casacore/casa/Utilities/CountedPtr.h>
43 class LatticeExprNode;
44 class LattRegionHolder;
Referenced counted pointer for constant data.
virtual LatticeExprNode makeRebinLattice(const LatticeExprNode &expr, const IPosition &binning) const
Create a rebinning for an expression node.
virtual Int compare(const LELLattCoordBase &other) const
Check how the coordinates of this and that compare.
LELImageCoord(const CoordinateSystem &coords, const ImageInfo &imageInfo, const Unit &unit, const RecordInterface &miscInfo)
virtual Int doCompare(const LELImageCoord &other) const
Check how the coordinates of this and that image compare.
virtual LatticeExprNode makeExtendLattice(const LatticeExprNode &expr, const IPosition &newShape, const LELLattCoordBase &newCoord) const
Create an extension for an expression node.
virtual String classname() const
The name of the class.
const Unit & unit() const
Get the brightness unit.
virtual uInt getSpectralInfo(Vector< Double > &worldCoordinates, const IPosition &shape) const
Get the coordinates of the spectral axis for the given shape.
virtual LatticeExprNode makeSubLattice(const LatticeExprNode &expr, const LattRegionHolder ®ion) const
Create a SubLattice for an expression node.
virtual Bool hasCoordinates() const
The class has true coordinates (thus returns True).
const TableRecord & miscInfo() const
Get the MiscInfo.
const CoordinateSystem & coordinates() const
Get the coordinates.
CountedPtr< CoordinateSystem > coords_p
const ImageInfo & imageInfo() const
Get the ImageInfo.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.
bool Bool
Define the standard types used by Casacore.