32#include <casacore/casa/aips.h> 
   33#include <casacore/coordinates/Coordinates/CoordinateSystem.h> 
   34#include <casacore/images/Regions/WCRegion.h> 
   35#include <casacore/lattices/LRegions/RegionType.h> 
   36#include <casacore/casa/Arrays/Vector.h> 
   37#include <casacore/casa/Quanta/Quantum.h> 
  386                     const Bool isBlc) 
const;
 
 
String: the storage and methods of handling collections of characters.
 
virtual Bool canExtend() const
WCBox can extend a region.
 
WCBox splitBox(const IPosition &axes) const
Make a new box from the given axesin this box.
 
virtual Bool operator==(const WCRegion &other) const
Comparison.
 
virtual TableRecord toRecord(const String &tableName) const
Convert the WCBox object to a record.
 
Vector< Quantum< Double > > itsBlc
 
static WCBox * fromRecord(const TableRecord &rec, const String &tableName)
Convert to a WCBox from a record.
 
virtual LCRegion * doToLCRegion(const CoordinateSystem &cSys, const IPosition &latticeShape, const IPosition &pixelAxesMap, const IPosition &outOrder) const
Convert to an LCRegion using the supplied CoordinateSystem and shape.
 
void checkUnits(const IPosition &pixelAxes, const Vector< Quantum< Double > > &values, const CoordinateSystem &cSys)
Check units of quanta are consistent with CoordinateSystem.
 
WCBox(const LCRegion ®ion, const CoordinateSystem &cSys)
Construct from the bounding box of an LCRegion.
 
WCBox(const Vector< Quantum< Double > > &blc, const Vector< Quantum< Double > > &trc, const CoordinateSystem &cSys, const Vector< Int > &absRel)
Construct from vectors of world coordinates defining the box corners.
 
virtual WCRegion * cloneRegion() const
Clone a WCBox object.
 
virtual ~WCBox()
Destructor.
 
WCBox(const WCBox &other)
Copy constructor (reference semantics [except for CoordinateSystem])
 
WCBox(const Vector< Quantum< Double > > &blc, const Vector< Quantum< Double > > &trc, const IPosition &pixelAxes, const CoordinateSystem &cSys, const Vector< Int > &absRel)
Construct from vectors of world coordinates defining the box corners.
 
virtual String type() const
Return region type.
 
void convertPixel(Double &pixel, const Quantum< Double > &value, const Int absRel, const Double refPix, const Int shape, const Bool isBlc) const
Convert relative pixels to absolute or fill in defaults.
 
Vector< Quantum< Double > > itsTrc
 
static String className()
Returns WCBox.
 
WCBox & operator=(const WCBox &other)
Assignment (copy semantics)
 
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.
 
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.