#include <DSWorldPolyLine.h>
Public Member Functions | |
| DSWorldPolyLine () | |
| DSWorldPolyLine (const Record &settings, PanelDisplay *pd) | |
| DSWorldPolyLine (DSScreenPolyLine &other, PanelDisplay *pd) | |
| DSWorldPolyLine (DSPixelPolyLine &other, PanelDisplay *pd) | |
| virtual | ~DSWorldPolyLine () |
| 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 | scale (const Float &scaleFactor) |
| Scale the shape about its center by the scaleFactor. | |
| virtual void | addPoint (const Vector< Float > &newPos) |
| If applicable, this function will add a point to the shape in the most meaningful location. | |
| virtual void | setPoints (const Matrix< Float > &points) |
| 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) |
| Point manipulation functions. | |
| virtual void | draw (PixelCanvas *pc) |
| General DisplayShape functions. | |
| virtual Bool | setOptions (const Record &settings) |
| Get and set this shapes options. | |
| virtual Record | getOptions () |
| Settings. | |
| virtual Record | getRawOptions () |
| virtual PanelDisplay * | panelDisplay () |
Private Member Functions | |
| void | updateWCoords () |
Private Attributes | |
| PanelDisplay * | itsPD |
| The paneldisplay from which I may choose an appropriate WC. | |
| WorldCanvas * | itsWC |
| The WC of my choosing. | |
| Vector< Quantum< Double > > | itsWorldXPoints |
| The center of the marker in world co-ords. | |
| Vector< Quantum< Double > > | itsWorldYPoints |
Definition at line 51 of file DSWorldPolyLine.h.
| casa::DSWorldPolyLine::DSWorldPolyLine | ( | ) |
| casa::DSWorldPolyLine::DSWorldPolyLine | ( | const Record & | settings, | |
| PanelDisplay * | pd | |||
| ) |
| casa::DSWorldPolyLine::DSWorldPolyLine | ( | DSScreenPolyLine & | other, | |
| PanelDisplay * | pd | |||
| ) |
| casa::DSWorldPolyLine::DSWorldPolyLine | ( | DSPixelPolyLine & | other, | |
| PanelDisplay * | pd | |||
| ) |
| virtual casa::DSWorldPolyLine::~DSWorldPolyLine | ( | ) | [virtual] |
| virtual void casa::DSWorldPolyLine::addPoint | ( | const Vector< Float > & | ) | [virtual] |
If applicable, this function will add a point to the shape in the most meaningful location.
Reimplemented from casa::DSPolyLine.
| virtual void casa::DSWorldPolyLine::changePoint | ( | const Vector< Float > & | pos | ) | [virtual] |
Point manipulation functions.
The changePoint with only one argument moves the closest point to the location specified.
Reimplemented from casa::DSPolyLine.
| virtual void casa::DSWorldPolyLine::changePoint | ( | const Vector< Float > & | newPoint, | |
| const Int | nPoint | |||
| ) | [virtual] |
Changes the nth point making up the DisplayShape ot the specified location.
Reimplemented from casa::DSPolyLine.
| virtual void casa::DSWorldPolyLine::draw | ( | PixelCanvas * | pc | ) | [virtual] |
General DisplayShape functions.
Reimplemented from casa::DSPolyLine.
| virtual Record casa::DSWorldPolyLine::getOptions | ( | ) | [virtual] |
| virtual Record casa::DSWorldPolyLine::getRawOptions | ( | ) | [inline, virtual] |
Implements casa::DisplayShapeWithCoords.
Definition at line 84 of file DSWorldPolyLine.h.
References getOptions().
| virtual void casa::DSWorldPolyLine::move | ( | const Float & | dX, | |
| const Float & | dY | |||
| ) | [virtual] |
So we can update our WCs.
Reimplemented from casa::DSPolyLine.
| virtual PanelDisplay* casa::DSWorldPolyLine::panelDisplay | ( | ) | [inline, virtual] |
Definition at line 88 of file DSWorldPolyLine.h.
References itsPD.
| virtual void casa::DSWorldPolyLine::recalculateScreenPosition | ( | ) | [virtual] |
Reimplemented from casa::DisplayShape.
| virtual void casa::DSWorldPolyLine::rotate | ( | const Float & | angle | ) | [virtual] |
Rotate the shape about its center by a set angle (angle in degrees).
Reimplemented from casa::DSPolyLine.
| virtual void casa::DSWorldPolyLine::scale | ( | const Float & | scaleFactor | ) | [virtual] |
Scale the shape about its center by the scaleFactor.
Reimplemented from casa::DSPolyLine.
| virtual void casa::DSWorldPolyLine::setCenter | ( | const Float & | xPos, | |
| const Float & | yPos | |||
| ) | [virtual] |
Sets the center of the DisplayShape.
Reimplemented from casa::DSPolyLine.
| virtual Bool casa::DSWorldPolyLine::setOptions | ( | const Record & | newSettings | ) | [virtual] |
Get and set this shapes options.
Reimplemented from casa::DSPolyLine.
| virtual void casa::DSWorldPolyLine::setPoints | ( | const Matrix< Float > & | points | ) | [virtual] |
Reimplemented from casa::DSPolyLine.
| void casa::DSWorldPolyLine::updateWCoords | ( | ) | [private] |
PanelDisplay* casa::DSWorldPolyLine::itsPD [private] |
The paneldisplay from which I may choose an appropriate WC.
Definition at line 95 of file DSWorldPolyLine.h.
Referenced by panelDisplay().
WorldCanvas* casa::DSWorldPolyLine::itsWC [private] |
The WC of my choosing.
Definition at line 98 of file DSWorldPolyLine.h.
Vector<Quantum<Double> > casa::DSWorldPolyLine::itsWorldXPoints [private] |
The center of the marker in world co-ords.
Definition at line 101 of file DSWorldPolyLine.h.
Vector<Quantum<Double> > casa::DSWorldPolyLine::itsWorldYPoints [private] |
Definition at line 102 of file DSWorldPolyLine.h.
1.6.1