|
| WCEllipsoid (const Vector< Quantity > ¢er, const Vector< Quantity > &radii, const IPosition &pixelAxes, const CoordinateSystem &cSys, const RegionType::AbsRelType absRel=RegionType::Abs) |
| ellipsoid with axes parallel to coordinate axes More...
|
|
| WCEllipsoid (const Vector< Quantity > ¢er, const Quantity &radius, const IPosition &pixelAxes, const CoordinateSystem &cSys, const RegionType::AbsRelType absRel=RegionType::Abs) |
| sphere. More...
|
|
| WCEllipsoid (const Quantity &xcenter, const Quantity &ycenter, const Quantity &majorAxis, const Quantity &minorAxis, const Quantity &theta, const uInt pixelAxis0, const uInt pixelAxis1, const CoordinateSystem &cSys, const RegionType::AbsRelType absRel=RegionType::Abs) |
| 2-D ellipse. More...
|
|
| WCEllipsoid (const WCEllipsoid &that) |
|
WCEllipsoid & | operator= (const WCEllipsoid &that) |
|
Bool | operator== (const WCRegion &other) const |
| Comparison. More...
|
|
WCRegion * | cloneRegion () const |
| Clone a WCRegion object. More...
|
|
Bool | canExtend () const |
| Can the region extend itself? By default it cannot. More...
|
|
String | type () const |
| Return region type. More...
|
|
TableRecord | toRecord (const String &tableName) const |
| Convert the (derived) object to a record. More...
|
|
LCRegion * | doToLCRegion (const CoordinateSystem &csys, const IPosition &latticeShape, const IPosition &pixelAxesMap, const IPosition &outOrder) const |
| Convert to an LCRegion using the given coordinate system and shape. More...
|
|
| WCRegion () |
|
| WCRegion (const WCRegion &other) |
| Copy constructor (copy semantics). More...
|
|
virtual | ~WCRegion () |
| Destructor. More...
|
|
virtual Bool | operator== (const WCRegion &other) const |
| Comparison. More...
|
|
Bool | operator!= (const WCRegion &other) const |
|
virtual WCRegion * | cloneRegion () const =0 |
| Clone a WCRegion object. More...
|
|
virtual String | type () const =0 |
| Return region type. More...
|
|
virtual uInt | ndim () const |
| Get the dimensionality (i.e. More...
|
|
const Record & | getAxesDesc () const |
| Get the description of all axes. More...
|
|
const Record & | getAxisDesc (uInt axis) const |
| Get the description of the given axis. More...
|
|
Int | axisNr (const Record &desc, const Record &axesDesc) const |
| Return the axis number of the description of an axis in the full axes description. More...
|
|
Bool | isAxisDescEqual (const Record &desc1, const Record &desc2) const |
| Are both axis descriptions equal? More...
|
|
virtual Bool | canExtend () const |
| Can the region extend itself? By default it cannot. More...
|
|
const String & | comment () const |
| Get or set the comment. More...
|
|
void | setComment (const String &comment) |
|
virtual LCRegion * | toLCRegion (const CoordinateSystem &cSys, const IPosition &shape) const |
| Convert to an LCRegion using the given new coordinate system and shape. More...
|
|
LCRegion * | toLCRegionAxes (const CoordinateSystem &cSys, const IPosition &shape, const IPosition &pixelAxesMap, const IPosition &outOrder) const |
| Convert to an LCRegion using the given coordinate system and shape. More...
|
|
virtual TableRecord | toRecord (const String &tableName) const =0 |
| Convert the (derived) object to a record. More...
|
|
void | defineRecordFields (RecordInterface &record, const String &className) const |
| Define the type and class name in the record. More...
|
|
|
WCRegion & | operator= (const WCRegion &other) |
| Assignment (copy semantics) makes only sense for a derived class. More...
|
|
void | addAxisDesc (const Record &axisDesc) |
| Add an axis with its description. More...
|
|
Record | makeAxisDesc (const CoordinateSystem &cSys, uInt pixelAxis) const |
| Make a description of a pixel axis in the coordinate system. More...
|
|
Record | makeAxesDesc (const CoordinateSystem &cSys) const |
| Make a description of all pixel axes in the coordinate system (in pixel axes order). More...
|
|
virtual LCRegion * | doToLCRegion (const CoordinateSystem &cSys, const IPosition &shape, const IPosition &pixelAxesMap, const IPosition &extendAxes) const =0 |
| Convert to an LCRegion using the given coordinate system and shape. More...
|
|
void | makeWorldAbsolute (Vector< Double > &world, const Vector< Int > &absRel, const CoordinateSystem &cSys, const IPosition &shape) const |
| Convert relative to absolute world as needed. More...
|
|
void | checkAxes (const IPosition &pixelAxes, const CoordinateSystem &cSys, const Vector< String > &quantityUnits) const |
|
static void | unitInit () |
|
static void | convertPixel (Double &pixel, const Double &value, const String &unit, const Int absRel, const Double refPix, const Int shape) |
|
Class to define an n-dimensional ellipsoid in world coordinates.
Intended use:
Public interface
Prerequisite
Synopsis
Motivation
Users must be able to specify ellipsoids in world as well as lattice coordinates.
Definition at line 71 of file WCEllipsoid.h.