29 #ifndef IMAGES_WCELLIPSOID_H
30 #define IMAGES_WCELLIPSOID_H
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>
102 const uInt pixelAxis0,
const uInt pixelAxis1,
AbsRelType
Define if a region is absolute or relative.
String: the storage and methods of handling collections of characters.
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
Vector< Quantity > _radii
TableRecord toRecord(const String &tableName) const
Convert the (derived) object to a record.
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.
WCRegion * cloneRegion() const
Clone a WCRegion object.
RegionType::AbsRelType _absRel
Bool operator==(const WCRegion &other) const
Comparison.
Bool canExtend() const
Can the region extend itself? By default it cannot.
static String className()
WCEllipsoid(const Vector< Quantity > ¢er, const Quantity &radius, const IPosition &pixelAxes, const CoordinateSystem &cSys, const RegionType::AbsRelType absRel=RegionType::Abs)
sphere.
static WCEllipsoid * fromRecord(const TableRecord &rec, const String &)
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.
WCEllipsoid & operator=(const WCEllipsoid &that)
SpecialType
WARN do not change the order of the members of this enum or you will break backward compatibility wit...
WCEllipsoid(const WCEllipsoid &that)
void _checkPixelAxes() const
String type() const
Return region type.
Vector< Quantity > _center
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.