casa
$Rev:20696$
|
#include <DSScreenEllipse.h>
Public Member Functions | |
DSScreenEllipse () | |
DSScreenEllipse (const Record &setting, PixelCanvas *pc) | |
DSScreenEllipse (DSPixelEllipse &other, PixelCanvas *pc) | |
DSScreenEllipse (DSWorldEllipse &other) | |
virtual | ~DSScreenEllipse () |
virtual void | recalculateScreenPosition () |
virtual Bool | setOptions (const Record &settings) |
virtual Record | getOptions () |
Get and set options. | |
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 | 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 DSScreenEllipse.h.
casa::DSScreenEllipse::DSScreenEllipse | ( | const Record & | setting, |
PixelCanvas * | pc | ||
) |
casa::DSScreenEllipse::DSScreenEllipse | ( | DSPixelEllipse & | other, |
PixelCanvas * | pc | ||
) |
virtual casa::DSScreenEllipse::~DSScreenEllipse | ( | ) | [virtual] |
virtual void casa::DSScreenEllipse::changePoint | ( | const Vector< Float > & | newPoint, |
const Int | nPoint | ||
) | [virtual] |
Changes the nth point making up the DisplayShape ot the specified location.
Reimplemented from casa::DSEllipse.
virtual void casa::DSScreenEllipse::changePoint | ( | const Vector< Float > & | newPos | ) | [virtual] |
Changes the closest point to the supplied location to that location.
Reimplemented from casa::DSEllipse.
virtual Record casa::DSScreenEllipse::getOptions | ( | ) | [virtual] |
virtual Record casa::DSScreenEllipse::getRawOptions | ( | ) | [inline, virtual] |
PLUS OTHERS! :) change point etc.
Implements casa::DisplayShapeWithCoords.
Definition at line 69 of file DSScreenEllipse.h.
References getOptions().
virtual void casa::DSScreenEllipse::move | ( | const Float & | dX, |
const Float & | dy | ||
) | [virtual] |
Reimplemented from casa::DSEllipse.
virtual void casa::DSScreenEllipse::recalculateScreenPosition | ( | ) | [virtual] |
Reimplemented from casa::DisplayShape.
virtual void casa::DSScreenEllipse::rotate | ( | const Float & | angle | ) | [virtual] |
Rotate the shape about its center by a set angle (angle in degrees).
Reimplemented from casa::DSEllipse.
virtual void casa::DSScreenEllipse::setCenter | ( | const Float & | xPos, |
const Float & | yPos | ||
) | [virtual] |
Sets the center of the DisplayShape.
Reimplemented from casa::DSEllipse.
virtual Bool casa::DSScreenEllipse::setOptions | ( | const Record & | settings | ) | [virtual] |
Reimplemented from casa::DSEllipse.
virtual void casa::DSScreenEllipse::updateRelative | ( | ) | [virtual] |
PixelCanvas* casa::DSScreenEllipse::itsPC [private] |
Definition at line 76 of file DSScreenEllipse.h.
Vector<Float> casa::DSScreenEllipse::itsRelativeCenter [private] |
Definition at line 77 of file DSScreenEllipse.h.
Float casa::DSScreenEllipse::itsRelHeight [private] |
Definition at line 80 of file DSScreenEllipse.h.
Float casa::DSScreenEllipse::itsRelWidth [private] |
Definition at line 79 of file DSScreenEllipse.h.