casa
$Rev:20696$
|
#include <DSWorldMarker.h>
Public Member Functions | |
DSWorldMarker () | |
DSWorldMarker (const Record &settings, PanelDisplay *pd) | |
DSWorldMarker (DSScreenMarker &other, PanelDisplay *pd) | |
DSWorldMarker (DSPixelMarker &other, PanelDisplay *pd) | |
virtual | ~DSWorldMarker () |
virtual void | recalculateScreenPosition () |
virtual void | move (const Float &dX, const Float &dY) |
Standard DisplayShape functions. | |
virtual void | setCenter (const Float &xPos, const Float &yPos) |
Sets the center of the DisplayShape. | |
virtual void | draw (PixelCanvas *pc) |
Standard fns. | |
virtual Bool | setOptions (const Record &settings) |
Get and set options. | |
virtual Record | getOptions () |
Settings. | |
virtual Record | getRawOptions () |
virtual PanelDisplay * | panelDisplay () |
Private Member Functions | |
void | updateWCent () |
Private Attributes | |
PanelDisplay * | itsPD |
Based on a WC option record virtual Bool chooseWC(const Record& settings, PanelDisplay* pd, WorldCanvas* wc);. | |
WorldCanvas * | itsWC |
The WC of my choosing. | |
Vector< Quantum< Double > > | itsWorldCenter |
The center of the marker in world co-ords. |
Definition at line 51 of file DSWorldMarker.h.
casa::DSWorldMarker::DSWorldMarker | ( | const Record & | settings, |
PanelDisplay * | pd | ||
) |
casa::DSWorldMarker::DSWorldMarker | ( | DSScreenMarker & | other, |
PanelDisplay * | pd | ||
) |
casa::DSWorldMarker::DSWorldMarker | ( | DSPixelMarker & | other, |
PanelDisplay * | pd | ||
) |
virtual casa::DSWorldMarker::~DSWorldMarker | ( | ) | [virtual] |
virtual void casa::DSWorldMarker::draw | ( | PixelCanvas * | pc | ) | [virtual] |
Standard fns.
Reimplemented from casa::DSMarker.
virtual Record casa::DSWorldMarker::getOptions | ( | ) | [virtual] |
virtual Record casa::DSWorldMarker::getRawOptions | ( | ) | [inline, virtual] |
Implements casa::DisplayShapeWithCoords.
Definition at line 71 of file DSWorldMarker.h.
References getOptions().
virtual void casa::DSWorldMarker::move | ( | const Float & | dX, |
const Float & | dY | ||
) | [virtual] |
Standard DisplayShape functions.
Reimplemented from casa::DSMarker.
virtual PanelDisplay* casa::DSWorldMarker::panelDisplay | ( | ) | [inline, virtual] |
Definition at line 75 of file DSWorldMarker.h.
References itsPD.
virtual void casa::DSWorldMarker::recalculateScreenPosition | ( | ) | [virtual] |
Reimplemented from casa::DisplayShape.
virtual void casa::DSWorldMarker::setCenter | ( | const Float & | xPos, |
const Float & | yPos | ||
) | [virtual] |
Sets the center of the DisplayShape.
Reimplemented from casa::DSMarker.
virtual Bool casa::DSWorldMarker::setOptions | ( | const Record & | settings | ) | [virtual] |
Get and set options.
Reimplemented from casa::DSMarker.
void casa::DSWorldMarker::updateWCent | ( | ) | [private] |
PanelDisplay* casa::DSWorldMarker::itsPD [private] |
Based on a WC option record virtual Bool chooseWC(const Record& settings, PanelDisplay* pd, WorldCanvas* wc);.
Based on a pixel center virtual Bool chooseWC(const Float& xPos, const Float& yPos, PanelDisplay* pd, WorldCanvas* wc);
The paneldisplay from which I may choose an appropriate WC
Definition at line 90 of file DSWorldMarker.h.
Referenced by panelDisplay().
WorldCanvas* casa::DSWorldMarker::itsWC [private] |
The WC of my choosing.
Definition at line 93 of file DSWorldMarker.h.
Vector<Quantum<Double> > casa::DSWorldMarker::itsWorldCenter [private] |
The center of the marker in world co-ords.
Definition at line 96 of file DSWorldMarker.h.