28 #ifndef TRIALDISPLAY_DSPOLYLINE_H
29 #define TRIALDISPLAY_DSPOLYLINE_H
virtual void changePoint(const casacore::Vector< casacore::Float > &pos)
Point manipulation functions.
virtual void move(const casacore::Float &dX, const casacore::Float &dY)
virtual casacore::Vector< casacore::Float > getCenter()
Returns the center of the DisplayShape (x,y).
DSPolyLine()
Constructors and Destructors.
virtual casacore::uInt nPoints()
Return the number of points.
casacore::Bool itsValidCenter
virtual void rotate(const casacore::Float &angle)
Rotate the shape about its center by a set angle (angle in degrees).
virtual void setPoints(const casacore::Matrix< casacore::Float > &points)
Implementation of a polyline.
virtual void scale(const casacore::Float &scaleFactor)
Scale the shape about its center by the scaleFactor.
Base class defining interface to pixel-based output devices.
virtual void setCenter(const casacore::Float &xPos, const casacore::Float &yPos)
Sets the center of the DisplayShape.
virtual casacore::Matrix< casacore::Float > getPoints()
Return all my points.
virtual casacore::Record getOptions()
Settings.
virtual casacore::Bool inObject(const casacore::Float &xPos, const casacore::Float &yPos)
Is the supplied point within the DisplayShape?
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual void draw(PixelCanvas *pc)
General DisplayShape functions.
casacore::Matrix< casacore::Float > itsPoints
casacore::Vector< casacore::Float > itsCenter
virtual void rotateAbout(const casacore::Float &angle, const casacore::Float &aboutX, const casacore::Float &aboutY)
virtual void addPoint(const casacore::Vector< casacore::Float > &newPos)
If applicable, this function will add a point to the shape in the most meaningful location...
virtual void setDefaultOptions()
Used when default constructor called.
virtual casacore::Bool setOptions(const casacore::Record &newSettings)
Get and set this shapes options.
Base class for all "basic" shapes.