#include <DSScreenPolyLine.h>
Public Member Functions | |
| DSScreenPolyLine () | |
| DSScreenPolyLine (const Record &settings, PixelCanvas *pc) | |
| DSScreenPolyLine (DSPixelPolyLine &other, PixelCanvas *pc) | |
| DSScreenPolyLine (DSWorldPolyLine &other) | |
| virtual | ~DSScreenPolyLine () |
| virtual void | recalculateScreenPosition () |
| virtual void | setCenter (const Float &xPos, const Float &yPos) |
| Sets the center of the DisplayShape. | |
| virtual void | move (const Float &dX, const Float &dY) |
| virtual void | scale (const Float &scaleFactor) |
| Scale the shape about its center by the scaleFactor. | |
| 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) |
| Point manipulation functions. | |
| 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 Bool | setOptions (const Record &settings) |
| Get and set this shapes options. | |
| virtual Record | getOptions () |
| Settings. | |
| virtual Record | getRawOptions () |
Private Member Functions | |
| void | updateRelative () |
Private Attributes | |
| PixelCanvas * | itsPC |
| Matrix< Float > | itsRelativePoints |
Definition at line 52 of file DSScreenPolyLine.h.
| casa::DSScreenPolyLine::DSScreenPolyLine | ( | ) |
| casa::DSScreenPolyLine::DSScreenPolyLine | ( | const Record & | settings, | |
| PixelCanvas * | pc | |||
| ) |
| casa::DSScreenPolyLine::DSScreenPolyLine | ( | DSPixelPolyLine & | other, | |
| PixelCanvas * | pc | |||
| ) |
| casa::DSScreenPolyLine::DSScreenPolyLine | ( | DSWorldPolyLine & | other | ) |
| virtual casa::DSScreenPolyLine::~DSScreenPolyLine | ( | ) | [virtual] |
| virtual void casa::DSScreenPolyLine::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::DSScreenPolyLine::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::DSScreenPolyLine::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 Record casa::DSScreenPolyLine::getOptions | ( | ) | [virtual] |
| virtual Record casa::DSScreenPolyLine::getRawOptions | ( | ) | [inline, virtual] |
Implements casa::DisplayShapeWithCoords.
Definition at line 77 of file DSScreenPolyLine.h.
References getOptions().
| virtual void casa::DSScreenPolyLine::move | ( | const Float & | dX, | |
| const Float & | dY | |||
| ) | [virtual] |
Reimplemented from casa::DSPolyLine.
| virtual void casa::DSScreenPolyLine::recalculateScreenPosition | ( | ) | [virtual] |
Reimplemented from casa::DisplayShape.
| virtual void casa::DSScreenPolyLine::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::DSScreenPolyLine::scale | ( | const Float & | scaleFactor | ) | [virtual] |
Scale the shape about its center by the scaleFactor.
Reimplemented from casa::DSPolyLine.
| virtual void casa::DSScreenPolyLine::setCenter | ( | const Float & | xPos, | |
| const Float & | yPos | |||
| ) | [virtual] |
Sets the center of the DisplayShape.
Reimplemented from casa::DSPolyLine.
| virtual Bool casa::DSScreenPolyLine::setOptions | ( | const Record & | newSettings | ) | [virtual] |
Get and set this shapes options.
Reimplemented from casa::DSPolyLine.
| virtual void casa::DSScreenPolyLine::setPoints | ( | const Matrix< Float > & | points | ) | [virtual] |
Reimplemented from casa::DSPolyLine.
| void casa::DSScreenPolyLine::updateRelative | ( | ) | [private] |
PixelCanvas* casa::DSScreenPolyLine::itsPC [private] |
Definition at line 82 of file DSScreenPolyLine.h.
Matrix<Float> casa::DSScreenPolyLine::itsRelativePoints [private] |
Definition at line 83 of file DSScreenPolyLine.h.
1.6.1