casa
$Rev:20696$
|
#include <DSWorldRectangle.h>
Public Member Functions | |
DSWorldRectangle () | |
DSWorldRectangle (const Record &settings, PanelDisplay *pd) | |
DSWorldRectangle (DSScreenRectangle &other, PanelDisplay *pd) | |
DSWorldRectangle (DSPixelRectangle &other, PanelDisplay *pd) | |
virtual | ~DSWorldRectangle () |
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 50 of file DSWorldRectangle.h.
casa::DSWorldRectangle::DSWorldRectangle | ( | const Record & | settings, |
PanelDisplay * | pd | ||
) |
casa::DSWorldRectangle::DSWorldRectangle | ( | DSScreenRectangle & | other, |
PanelDisplay * | pd | ||
) |
casa::DSWorldRectangle::DSWorldRectangle | ( | DSPixelRectangle & | other, |
PanelDisplay * | pd | ||
) |
virtual casa::DSWorldRectangle::~DSWorldRectangle | ( | ) | [virtual] |
virtual void casa::DSWorldRectangle::changePoint | ( | const Vector< Float > & | newPoint, |
const Int | nPoint | ||
) | [virtual] |
Changes the nth point making up the DisplayShape ot the specified location.
Reimplemented from casa::DSRectangle.
virtual void casa::DSWorldRectangle::changePoint | ( | const Vector< Float > & | newPos | ) | [virtual] |
Changes the closest point to the supplied location to that location.
Reimplemented from casa::DSRectangle.
virtual void casa::DSWorldRectangle::draw | ( | PixelCanvas * | pc | ) | [virtual] |
General DisplayShape functions.
Reimplemented from casa::DSPoly.
virtual Record casa::DSWorldRectangle::getOptions | ( | ) | [virtual] |
virtual Record casa::DSWorldRectangle::getRawOptions | ( | ) | [inline, virtual] |
Implements casa::DisplayShapeWithCoords.
Definition at line 80 of file DSWorldRectangle.h.
References getOptions().
virtual void casa::DSWorldRectangle::move | ( | const Float & | dX, |
const Float & | dY | ||
) | [virtual] |
So we can update our WCs.
Reimplemented from casa::DSRectangle.
virtual PanelDisplay* casa::DSWorldRectangle::panelDisplay | ( | ) | [inline, virtual] |
Definition at line 84 of file DSWorldRectangle.h.
References itsPD.
virtual void casa::DSWorldRectangle::recalculateScreenPosition | ( | ) | [virtual] |
Reimplemented from casa::DisplayShape.
virtual void casa::DSWorldRectangle::rotate | ( | const Float & | angle | ) | [virtual] |
Rotate the shape about its center by a set angle (angle in degrees).
Reimplemented from casa::DSRectangle.
virtual void casa::DSWorldRectangle::setCenter | ( | const Float & | xPos, |
const Float & | yPos | ||
) | [virtual] |
Sets the center of the DisplayShape.
Reimplemented from casa::DSRectangle.
virtual Bool casa::DSWorldRectangle::setOptions | ( | const Record & | settings | ) | [virtual] |
PLUS OTHERS!!
Reimplemented from casa::DSRectangle.
void casa::DSWorldRectangle::updateWCoords | ( | ) | [private] |
PanelDisplay* casa::DSWorldRectangle::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 96 of file DSWorldRectangle.h.
Referenced by panelDisplay().
WorldCanvas* casa::DSWorldRectangle::itsWC [private] |
The WC of my choosing.
Definition at line 99 of file DSWorldRectangle.h.
Vector<Quantum<Double> > casa::DSWorldRectangle::itsWorldParameters [private] |
The center of the marker in world co-ords.
x, y, major, minor, angle
Definition at line 103 of file DSWorldRectangle.h.