27 #ifndef TRIALDISPLAY_DSWORLDPOLYLINE_H
28 #define TRIALDISPLAY_DSWORLDPOLYLINE_H
48 class DSPixelPolyLine;
49 class DSScreenPolyLine;
casacore::Vector< casacore::Quantum< casacore::Double > > itsWorldYPoints
WorldCanvas * itsWC
The WC of my choosing.
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.
PanelDisplay * itsPD
The paneldisplay from which I may choose an appropriate WC.
Implementation of a polyline.
Base class defining interface to pixel-based output devices.
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 setCenter(const casacore::Float &xPos, const casacore::Float &yPos)
Sets the center of the DisplayShape.
virtual casacore::Record getOptions()
Settings.
virtual void recalculateScreenPosition()
virtual void move(const casacore::Float &dX, const casacore::Float &dY)
So we can update our WCs.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
virtual void setPoints(const casacore::Matrix< casacore::Float > &points)
casacore::Vector< casacore::Quantum< casacore::Double > > itsWorldXPoints
The center of the marker in world co-ords.
virtual PanelDisplay * panelDisplay()
virtual void scale(const casacore::Float &scaleFactor)
Scale the shape about its center by the scaleFactor.
Implementation of drawing in world coordinates on top of a PixelCanvas.
virtual casacore::Record getRawOptions()
A class which creates and manages "panelled" displays.
virtual casacore::Bool setOptions(const casacore::Record &settings)
Get and set this shapes options.
virtual ~DSWorldPolyLine()
virtual void rotate(const casacore::Float &angle)
Rotate the shape about its center by a set angle (angle in degrees).
virtual void draw(PixelCanvas *pc)
General DisplayShape functions.
virtual casacore::Record getOptions()
Settings.