casa
5.7.0-16
|
Why not use casacore::MDirection? It's limited by valid astronomical coordinates on the sky Hz vs arcsec does not fly. More...
#include <Position.h>
Public Member Functions | |
Position () | |
Position (const DisplayCoordinateSystem &cs, const casacore::Quantity &x, const casacore::Quantity &y) | |
Later this could check for consistency between the coordinate and the system... More... | |
Position (const DisplayCoordinateSystem &cs, const casacore::Quantity &x, const casacore::Quantity &y, const casacore::Quantity &z) | |
Later this could check for consistency between the coordinate and the system... More... | |
Position (const Position &that) | |
const DisplayCoordinateSystem & | csys () const |
const casacore::Vector < casacore::Quantity > & | coord () const |
void | show (std::ostream &out) const |
Protected Attributes | |
DisplayCoordinateSystem | csys_ |
casacore::Vector < casacore::Quantity > | coord_ |
Why not use casacore::MDirection? It's limited by valid astronomical coordinates on the sky Hz vs arcsec does not fly.
The idea here is to represent a point, line, plane, etc. (depending on the dimensions of the coordinate system and the coordinate contained here) and eventually have positions which can convert themselves to match different coordinate systems used in other images; removing some of the tangle of linToWorld(...) et al. that snakes through canvases and display datas currently. It may well be that some of this may need to remain in the current canvases/datas, but at least the viewer (and regions) will be able to talk about positions independent of the rest of the viewer hierarchy.
Definition at line 41 of file Position.h.
|
inline |
Definition at line 43 of file Position.h.
|
inline |
Later this could check for consistency between the coordinate and the system...
Definition at line 45 of file Position.h.
References coord_.
|
inline |
Later this could check for consistency between the coordinate and the system...
Definition at line 50 of file Position.h.
References coord_.
|
inline |
Definition at line 55 of file Position.h.
|
inline |
Definition at line 60 of file Position.h.
References coord_.
|
inline |
Definition at line 57 of file Position.h.
References csys_.
void casa::viewer::Position::show | ( | std::ostream & | out | ) | const |
Referenced by casa::viewer::operator<<(), casa::operator<<(), and operator<<().
|
protected |
Definition at line 68 of file Position.h.
Referenced by coord(), and Position().
|
protected |
Definition at line 67 of file Position.h.
Referenced by csys().