A Vector of integers, for indexing into Array<T> objects.
A 1-D Specialization of the Array class.
casacore::Bool getChanExt(casacore::Double &, casacore::Double &)
static QtWCBox * fromRecord(const casacore::TableRecord &rec, const casacore::String &tableName)
Convert to a QtWCBox from a record.
DisplayCoordinateSystem itsCSys
QtWCBox splitBox(const casacore::IPosition &axes) const
Make a new box from the given axesin this box.
void checkUnits(const casacore::IPosition &pixelAxes, const casacore::Vector< casacore::Quantum< casacore::Double > > &values, const DisplayCoordinateSystem &cSys)
Check units of quanta are consistent with DisplayCoordinateSystem.
virtual ~QtWCBox()
Destructor.
casacore::Vector< casacore::Int > itsAbsRel
QtWCBox & operator=(const QtWCBox &other)
Assignment (copy semantics)
virtual casacore::String type() const
Return region type.
void setChanExt(const casacore::Double, const casacore::Double)
FIXME: refactor to someplace more appropriate get/set chan extension.
void convertPixel(casacore::Double &pixel, const casacore::Quantum< casacore::Double > &value, const casacore::Int absRel, const casacore::Double refPix, const casacore::Int shape, const casacore::Bool isBlc) const
Convert relative pixels to absolute or fill in defaults.
virtual casacore::WCRegion * cloneRegion() const
Clone a QtWCBox object.
casacore::Vector< casacore::Quantum< casacore::Double > > itsTrc
casacore::Vector< casacore::Quantum< casacore::Double > > itsBlc
virtual casacore::TableRecord toRecord(const casacore::String &tableName) const
Convert the QtWCBox object to a record.
virtual casacore::LCRegion * doToLCRegion(const casacore::CoordinateSystem &cSys, const casacore::IPosition &latticeShape, const casacore::IPosition &pixelAxesMap, const casacore::IPosition &outOrder) const
Convert to an casacore::LCRegion using the supplied DisplayCoordinateSystem and shape.
void setPolExt(const casacore::Double, const casacore::Double)
FIXME: refactor to someplace more appropriate get/set pol extension.
bool Bool
Define the standard types used by Casacore.
virtual casacore::Bool operator==(const casacore::WCRegion &other) const
Comparison.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
A hierarchical collection of named fields of various types.
static casacore::String className()
Returns QtWCBox.
static QtWCBox * fromBoxString(const casacore::String &, const DisplayCoordinateSystem &cSys, casacore::String &err)
virtual casacore::Bool canExtend() const
QtWCBox can extend a region.
casacore::Bool getPolExt(casacore::Double &, casacore::Double &)
Base class to define world coordinate regions of interest in an image.
String: the storage and methods of handling collections of characters.
casacore::IPosition itsPixelAxes
Interconvert pixel and world coordinates.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
casacore::String toBoxString() const
Convert from/to boxit format string.
Abstract base class to define a region of interest in lattice coordinates.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.