casa
$Rev:20696$
|
#include <DSWorldText.h>
Public Member Functions | |
DSWorldText () | |
DSWorldText (const Record &settings, PanelDisplay *pd) | |
DSWorldText (DSScreenText &other, PanelDisplay *pd) | |
DSWorldText (DSPixelText &other, PanelDisplay *pd) | |
virtual | ~DSWorldText () |
virtual void | recalculateScreenPosition () |
virtual void | move (const Float &dX, const Float &dY) |
virtual void | setCenter (const Float &xPos, const Float &yPos) |
Sets the center of the DisplayShape. | |
virtual void | draw (PixelCanvas *pc) |
Functions to ensure consistancy with the "DisplayShape" interface. | |
virtual Bool | setOptions (const Record &settings) |
virtual Record | getOptions () |
Get and set options. | |
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 DSWorldText.h.
casa::DSWorldText::DSWorldText | ( | const Record & | settings, |
PanelDisplay * | pd | ||
) |
casa::DSWorldText::DSWorldText | ( | DSScreenText & | other, |
PanelDisplay * | pd | ||
) |
casa::DSWorldText::DSWorldText | ( | DSPixelText & | other, |
PanelDisplay * | pd | ||
) |
virtual casa::DSWorldText::~DSWorldText | ( | ) | [virtual] |
virtual void casa::DSWorldText::draw | ( | PixelCanvas * | pix | ) | [virtual] |
Functions to ensure consistancy with the "DisplayShape" interface.
Reimplemented from casa::DSText.
virtual Record casa::DSWorldText::getOptions | ( | ) | [virtual] |
virtual Record casa::DSWorldText::getRawOptions | ( | ) | [inline, virtual] |
Implements casa::DisplayShapeWithCoords.
Definition at line 71 of file DSWorldText.h.
References getOptions().
virtual void casa::DSWorldText::move | ( | const Float & | dX, |
const Float & | dY | ||
) | [virtual] |
Reimplemented from casa::DSText.
virtual PanelDisplay* casa::DSWorldText::panelDisplay | ( | ) | [inline, virtual] |
Definition at line 75 of file DSWorldText.h.
References itsPD.
virtual void casa::DSWorldText::recalculateScreenPosition | ( | ) | [virtual] |
Reimplemented from casa::DisplayShape.
virtual void casa::DSWorldText::setCenter | ( | const Float & | xPos, |
const Float & | yPos | ||
) | [virtual] |
Sets the center of the DisplayShape.
Reimplemented from casa::DSText.
virtual Bool casa::DSWorldText::setOptions | ( | const Record & | settings | ) | [virtual] |
Reimplemented from casa::DSText.
void casa::DSWorldText::updateWCent | ( | ) | [private] |
PanelDisplay* casa::DSWorldText::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 DSWorldText.h.
Referenced by panelDisplay().
WorldCanvas* casa::DSWorldText::itsWC [private] |
The WC of my choosing.
Definition at line 93 of file DSWorldText.h.
Vector<Quantum<Double> > casa::DSWorldText::itsWorldCenter [private] |
The center of the marker in world co-ords.
Definition at line 96 of file DSWorldText.h.