28 #ifndef TRIALDISPLAY_DSRECTANGLE_H
29 #define TRIALDISPLAY_DSRECTANGLE_H
casacore::Float itsAngle
Always valid.
virtual void setHeight(const casacore::Float &height)
Rectangle specific.
Implementation of a rectangle.
virtual void addPoint(const casacore::Vector< casacore::Float > &toAdd)
Polygon specific functions, add, delete and set points, all in pixels.
virtual void rotateAbout(const casacore::Float &angle, const casacore::Float &aboutX, const casacore::Float &aboutY)
virtual casacore::Bool setOptions(const casacore::Record &settings)
Get and set options.
virtual void changePoint(const casacore::Vector< casacore::Float > &pos)
Changes the closest point to the supplied location to that location.
virtual void setWidth(const casacore::Float &width)
casacore::Float itsHeight
virtual casacore::Float getHeight()
DSRectangle()
Constructors and Destructors.
virtual void move(const casacore::Float &dX, const casacore::Float &dY)
Standard DisplayShape functions.
virtual void setDefaultOptions()
Used to set up the class when default constructor called.
Implementation of a Polygon.
virtual casacore::Float getWidth()
virtual void setAngle(const casacore::Float &newAngle)
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual casacore::Record getOptions()
Get and set options.
virtual void setCenter(const casacore::Float &xPos, const casacore::Float &yPos)
Sets the center of the DisplayShape.
virtual void rotate(const casacore::Float &angle)
Rotate the shape about its center by a set angle (angle in degrees).
virtual casacore::Matrix< casacore::Float > makeAsPoly(const casacore::Float &xPos, const casacore::Float &yPos, const casacore::Float &width, const casacore::Float &height)
Using supplied parameters, make a polygon of four points representing the rectangle.
virtual casacore::Float getAngle()
casacore::Float itsCenter
Ony used during the set-up period.