casa
$Rev:20696$
|
#include <DSWorldEllipse.h>
Public Member Functions | |
DSWorldEllipse () | |
DSWorldEllipse (const Record &settings, PanelDisplay *pd) | |
DSWorldEllipse (DSScreenEllipse &other, PanelDisplay *pd) | |
DSWorldEllipse (DSPixelEllipse &other, PanelDisplay *pd) | |
virtual | ~DSWorldEllipse () |
virtual void | recalculateScreenPosition () |
virtual void | move (const Float &dX, const Float &dY) |
So we can update our WCs. | |
virtual void | setCenter (const Float &xPos, const Float &yPos) |
Sets the center of the DisplayShape. | |
virtual void | rotate (const Float &angle) |
Rotate the shape about its center by a set angle (angle in degrees). | |
virtual void | changePoint (const Vector< Float > &pos, const Int n) |
Changes the nth point making up the DisplayShape ot the specified location. | |
virtual void | changePoint (const Vector< Float > &pos) |
Changes the closest point to the supplied location to that location. | |
virtual void | draw (PixelCanvas *pc) |
General DisplayShape functions. | |
virtual Bool | setOptions (const Record &settings) |
PLUS OTHERS!! | |
virtual Record | getOptions () |
Get and set options. | |
virtual Record | getRawOptions () |
virtual PanelDisplay * | panelDisplay () |
Private Member Functions | |
void | updateWCoords () |
Private Attributes | |
PanelDisplay * | itsPD |
Based on a pixel center virtual Bool chooseWC(const Float& centerX, const Float& centerY, PanelDisplay* pdx, WorldCanvas* wc);. | |
WorldCanvas * | itsWC |
The WC of my choosing. | |
Vector< Quantum< Double > > | itsWorldParameters |
The center of the marker in world co-ords. |
Definition at line 51 of file DSWorldEllipse.h.
casa::DSWorldEllipse::DSWorldEllipse | ( | const Record & | settings, |
PanelDisplay * | pd | ||
) |
casa::DSWorldEllipse::DSWorldEllipse | ( | DSScreenEllipse & | other, |
PanelDisplay * | pd | ||
) |
casa::DSWorldEllipse::DSWorldEllipse | ( | DSPixelEllipse & | other, |
PanelDisplay * | pd | ||
) |
virtual casa::DSWorldEllipse::~DSWorldEllipse | ( | ) | [virtual] |
virtual void casa::DSWorldEllipse::changePoint | ( | const Vector< Float > & | newPoint, |
const Int | nPoint | ||
) | [virtual] |
Changes the nth point making up the DisplayShape ot the specified location.
Reimplemented from casa::DSEllipse.
virtual void casa::DSWorldEllipse::changePoint | ( | const Vector< Float > & | newPos | ) | [virtual] |
Changes the closest point to the supplied location to that location.
Reimplemented from casa::DSEllipse.
virtual void casa::DSWorldEllipse::draw | ( | PixelCanvas * | pix | ) | [virtual] |
General DisplayShape functions.
Reimplemented from casa::DSEllipse.
virtual Record casa::DSWorldEllipse::getOptions | ( | ) | [virtual] |
virtual Record casa::DSWorldEllipse::getRawOptions | ( | ) | [inline, virtual] |
Implements casa::DisplayShapeWithCoords.
Definition at line 81 of file DSWorldEllipse.h.
References getOptions().
virtual void casa::DSWorldEllipse::move | ( | const Float & | dX, |
const Float & | dY | ||
) | [virtual] |
So we can update our WCs.
Reimplemented from casa::DSEllipse.
virtual PanelDisplay* casa::DSWorldEllipse::panelDisplay | ( | ) | [inline, virtual] |
Definition at line 85 of file DSWorldEllipse.h.
References itsPD.
virtual void casa::DSWorldEllipse::recalculateScreenPosition | ( | ) | [virtual] |
Reimplemented from casa::DisplayShape.
virtual void casa::DSWorldEllipse::rotate | ( | const Float & | angle | ) | [virtual] |
Rotate the shape about its center by a set angle (angle in degrees).
Reimplemented from casa::DSEllipse.
virtual void casa::DSWorldEllipse::setCenter | ( | const Float & | xPos, |
const Float & | yPos | ||
) | [virtual] |
Sets the center of the DisplayShape.
Reimplemented from casa::DSEllipse.
virtual Bool casa::DSWorldEllipse::setOptions | ( | const Record & | settings | ) | [virtual] |
PLUS OTHERS!!
Reimplemented from casa::DSEllipse.
void casa::DSWorldEllipse::updateWCoords | ( | ) | [private] |
PanelDisplay* casa::DSWorldEllipse::itsPD [private] |
Based on a pixel center virtual Bool chooseWC(const Float& centerX, const Float& centerY, PanelDisplay* pdx, WorldCanvas* wc);.
The paneldisplay from which I may choose an appropriate WC
Definition at line 97 of file DSWorldEllipse.h.
Referenced by panelDisplay().
WorldCanvas* casa::DSWorldEllipse::itsWC [private] |
The WC of my choosing.
Definition at line 100 of file DSWorldEllipse.h.
Vector<Quantum<Double> > casa::DSWorldEllipse::itsWorldParameters [private] |
The center of the marker in world co-ords.
x, y, major, minor, angle
Definition at line 104 of file DSWorldEllipse.h.