27 #ifndef TRIALDISPLAY_DSWORLDPOLY_H
28 #define TRIALDISPLAY_DSWORLDPOLY_H
51 class DSWorldPolyLine;
virtual void addPoint(const casacore::Vector< casacore::Float > &newPos)
Polygon specific functions, add, delete and set points, all in pixels.
casacore::Vector< casacore::Quantum< casacore::Double > > itsWorldXPoints
The center of the marker in world co-ords.
virtual void move(const casacore::Float &dX, const casacore::Float &dY)
So we can update our WCs.
virtual void setCenter(const casacore::Float &xPos, const casacore::Float &yPos)
Sets the center of the DisplayShape.
virtual casacore::Record getOptions()
Get and set options.
WorldCanvas * itsWC
The WC of my choosing.
virtual void setPoints(const casacore::Matrix< casacore::Float > &points)
virtual void draw(PixelCanvas *pc)
General DisplayShape functions.
virtual void recalculateScreenPosition()
Base class defining interface to pixel-based output devices.
virtual casacore::Bool setOptions(const casacore::Record &settings)
PanelDisplay * itsPD
The paneldisplay from which I may choose an appropriate WC.
virtual void rotate(const casacore::Float &angle)
Rotate the shape about its center by a set angle (angle in degrees).
virtual void changePoint(const casacore::Vector< casacore::Float > &pos, const casacore::Int n)
Changes the nth point making up the DisplayShape ot the specified location.
Implementation of a Polygon.
virtual PanelDisplay * panelDisplay()
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual casacore::Record getRawOptions()
Implementation of drawing in world coordinates on top of a PixelCanvas.
A class which creates and manages "panelled" displays.
casacore::Vector< casacore::Quantum< casacore::Double > > itsWorldYPoints
virtual void scale(const casacore::Float &scaleFactor)
Scale the shape about its center by the scaleFactor.
virtual casacore::Record getOptions()
Get and set options.