#include <DSScreenRectangle.h>
Public Member Functions | |
| DSScreenRectangle () | |
| DSScreenRectangle (const Record &setting, PixelCanvas *pc) | |
| DSScreenRectangle (DSPixelRectangle &other, PixelCanvas *pc) | |
| DSScreenRectangle (DSWorldRectangle &other) | |
| virtual | ~DSScreenRectangle () |
| virtual void | recalculateScreenPosition () |
| virtual Bool | setOptions (const Record &settings) |
| Get and set options. | |
| virtual Record | getOptions () |
| Get and set options. | |
| 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 | 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 Record | getRawOptions () |
| PLUS OTHERS! :) change point etc. | |
| virtual void | updateRelative () |
Private Attributes | |
| PixelCanvas * | itsPC |
| Vector< Float > | itsRelativeCenter |
| Float | itsRelWidth |
| Float | itsRelHeight |
Definition at line 47 of file DSScreenRectangle.h.
| casa::DSScreenRectangle::DSScreenRectangle | ( | ) |
| casa::DSScreenRectangle::DSScreenRectangle | ( | const Record & | setting, | |
| PixelCanvas * | pc | |||
| ) |
| casa::DSScreenRectangle::DSScreenRectangle | ( | DSPixelRectangle & | other, | |
| PixelCanvas * | pc | |||
| ) |
| casa::DSScreenRectangle::DSScreenRectangle | ( | DSWorldRectangle & | other | ) |
| virtual casa::DSScreenRectangle::~DSScreenRectangle | ( | ) | [virtual] |
| virtual void casa::DSScreenRectangle::changePoint | ( | const Vector< Float > & | newPos | ) | [virtual] |
Changes the closest point to the supplied location to that location.
Reimplemented from casa::DSRectangle.
| virtual void casa::DSScreenRectangle::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 Record casa::DSScreenRectangle::getOptions | ( | ) | [virtual] |
| virtual Record casa::DSScreenRectangle::getRawOptions | ( | ) | [inline, virtual] |
PLUS OTHERS! :) change point etc.
Implements casa::DisplayShapeWithCoords.
Definition at line 69 of file DSScreenRectangle.h.
References getOptions().
| virtual void casa::DSScreenRectangle::move | ( | const Float & | dX, | |
| const Float & | dY | |||
| ) | [virtual] |
Standard DisplayShape functions.
Reimplemented from casa::DSRectangle.
| virtual void casa::DSScreenRectangle::recalculateScreenPosition | ( | ) | [virtual] |
Reimplemented from casa::DisplayShape.
| virtual void casa::DSScreenRectangle::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::DSScreenRectangle::setCenter | ( | const Float & | xPos, | |
| const Float & | yPos | |||
| ) | [virtual] |
Sets the center of the DisplayShape.
Reimplemented from casa::DSRectangle.
| virtual Bool casa::DSScreenRectangle::setOptions | ( | const Record & | settings | ) | [virtual] |
Get and set options.
Reimplemented from casa::DSRectangle.
| virtual void casa::DSScreenRectangle::updateRelative | ( | ) | [virtual] |
PixelCanvas* casa::DSScreenRectangle::itsPC [private] |
Definition at line 76 of file DSScreenRectangle.h.
Vector<Float> casa::DSScreenRectangle::itsRelativeCenter [private] |
Definition at line 77 of file DSScreenRectangle.h.
Float casa::DSScreenRectangle::itsRelHeight [private] |
Definition at line 80 of file DSScreenRectangle.h.
Float casa::DSScreenRectangle::itsRelWidth [private] |
Definition at line 79 of file DSScreenRectangle.h.
1.6.1