48 virtual unsigned int drawCount()
const {
return 1; }
55 virtual std::vector<PlotCoordinate>
coordinates()
const = 0;
134 const PlotCoordinate& lowerRight) = 0;
151 const PlotCoordinate&
radii) = 0;
154 virtual PlotCoordinate
radii()
const = 0;
160 virtual PlotCoordinate
center()
const = 0;
199 virtual double location()
const = 0;
229 const PlotCoordinate& to) = 0;
296 setWidthHeight(PlotCoordinate(width, height, PlotCoordinate::WORLD)); }
340 virtual PlotCoordinate
coordinate()
const = 0;
virtual void setAreaFill(const PlotAreaFill &fill)=0
Sets this shape's area fill to the given.
virtual PlotCoordinate startCoordinate() const =0
Returns the start coordinate.
Bool null() const
Check to see if this CountedPtr is un-initialized, null.
virtual int startAngle() const =0
Returns the start angle.
virtual bool lineShown() const =0
Returns true if a line is shown for this shape, false otherwise.
virtual ~PlotShapeArrow()
Destructor.
PlotShapePolygon()
Constructor.
virtual std::vector< PlotCoordinate > coordinates() const =0
ABSTRACT METHODS //.
virtual PlotAxis axis() const =0
Returns the line axis.
PlotShapeArrow()
Constructor.
virtual void setAreaFill(const casacore::String &color, PlotAreaFill::Pattern pattern=PlotAreaFill::FILL)
PlotShapeLine()
Constructor.
virtual void setAreaFill(const PlotAreaFillPtr f)
Convenience methods for setting the area fill.
virtual void setArrowSize(double size)=0
Sets the arrow size/length to the given.
virtual void setLine(const casacore::String &color, PlotLine::Style style=PlotLine::SOLID, double width=1.0)
virtual void setCoordinate(const PlotCoordinate &coordinate)=0
Sets the location of the point to the given.
virtual void setRectCoordinates(const PlotCoordinate &upperLeft, const PlotCoordinate &lowerRight)=0
Sets the rectangle coordinates to the given.
SMART POINTER DEFINITIONS PlotItemPtr PlotShapeLinePtr
virtual PlotCoordinate radii() const =0
Returns the x- and y- radii as a PlotCoordinate.
virtual double location() const =0
Returns the line location.
Abstract class for any shape which contains common functionality.
virtual ~PlotShapePath()
Destructor.
PlotShapeArc()
Constructor.
Abstract class for area fill.
virtual PlotLinePtr line() const =0
Returns a copy of the line used for this shape.
virtual void setWidthHeight(double width, double height)
Sets the width and height to the given.
virtual void setEllipseCoordinates(const PlotCoordinate ¢er, const PlotCoordinate &radii)=0
Sets the ellipse coordinates to the given.
virtual void setArrowStyles(Style from, Style to)
Pattern
Pattern enum, similar in spirit to http://doc.trolltech.com/4.3/qt.html#BrushStyle-enum.
SMART POINTER DEFINITIONS PlotShapeEllipsePtr
Specialization of PlotShape for a line.
TableExprNode pattern(const TableExprNode &node)
virtual ~PlotShapePolygon()
Destructor.
virtual ~PlotPoint()
Destructor.
virtual double arrowSize() const =0
Returns the arrow size/length.
PlotShapeRectangle()
Constructor.
virtual void setLine(const PlotLine &line)=0
Sets this shape's line to the given.
virtual void setLine(const PlotLinePtr l)
IMPLEMENTED METHODS //.
virtual ~PlotShapeLine()
Destructor.
virtual void setCenter(const PlotCoordinate ¢er)=0
Sets the center to the given.
virtual PlotCoordinate widthHeight() const =0
Returns the width and height as a PlotCoordinate.
virtual PlotSymbolPtr symbol() const =0
Returns a copy of the symbol used to draw the point.
virtual void setRadii(const PlotCoordinate &radii)=0
Sets the x- and y- radii to the given.
Specialization of PlotShape for an arrow.
PlotShapeEllipse()
Constructor.
virtual void setSpanAngle(int spanAngle)=0
Sets the span angle.
virtual bool areaFilled() const =0
Returns true if this shape has an area fill, false otherwise.
Abstract class for a line.
virtual ~PlotShapeRectangle()
Destructor.
SMART POINTER DEFINITIONS PlotShapePtr
SMART POINTER DEFINITIONS PlotShape
virtual void setOrientation(int o)=0
Sets the orientation.
PlotAxis
Enum for the four plot axes.
virtual unsigned int drawCount() const
Implements PlotItem::drawCount().
SMART POINTER DEFINITIONS PlotItemPtr PlotItemPtr PlotShapePathPtr
virtual void setCoordinates(const std::vector< PlotCoordinate > &c)=0
Sets this shape's coordinates to the given.
Specialization of PlotShape for a rectangle.
Abstract class for a symbol.
Abstract class for a single point on the canvas (not descended from PlotShape).
virtual ~PlotShapeArc()
Destructor.
virtual unsigned int drawCount() const
Overrides PlotShape::drawCount().
PlotItem is the superclass of any object that is meant to be placed on the canvas (plots...
virtual void setSymbol(const PlotSymbol &symbol)=0
Sets the symbol used to draw the point.
PlotShapePath()
Constructor.
virtual void setStartCoordinate(const PlotCoordinate &coord)=0
Sets the start coordinate to the given.
virtual PlotCoordinate center() const =0
Returns the center point.
INHERITANCE_POINTER2(PlotLayoutSingle, PlotLayoutSinglePtr, PlotCanvasLayout, PlotCanvasLayoutPtr) INHERITANCE_POINTER2(PlotLayoutGrid
virtual void setArrowCoordinates(const PlotCoordinate &from, const PlotCoordinate &to)=0
Sets the arrow coordinates to the given.
virtual Style arrowStyleFrom() const =0
Gets the arrow style on the from/to points.
casacore::CountedPtr< PlotItem > PlotItemPtr
Specialization of PlotShape for a polygon.
virtual ~PlotShape()
Destructor.
virtual int orientation() const =0
Returns the orientation.
virtual void setStartAngle(int startAngle)=0
Sets the start angle.
virtual unsigned int drawCount() const
Overrides PlotShape::drawCount().
Specialization of PlotShape for an arc.
virtual void setLineShown(bool line=true)=0
Sets whether a line is shown for this shape or not.
const Double c
Fundamental physical constants (SI units):
virtual ~PlotShapeEllipse()
Destructor.
Specialization of PlotShape for a path.
virtual unsigned int drawCount() const
Implements PlotItem::drawCount().
String: the storage and methods of handling collections of characters.
virtual void setAreaFilled(bool area=true)=0
Sets whether or not this shape has an area fill.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the color(i.e.,"000000"for black) and
INHERITANCE_POINTER(PlotFlagAllTool, PlotFlagAllToolPtr, PlotMouseTool, PlotMouseToolPtr, PlotTool, PlotToolPtr) TOOL NOTIFICATION CLASSESInterface for objects that want to be notified when the selection tool changes.*/class PlotSelectToolNotifier
virtual Style arrowStyleTo() const =0
virtual PlotCoordinate coordinate() const =0
ABSTRACT METHODS //.
virtual int spanAngle() const =0
Returns the span angle.
virtual PlotAreaFillPtr areaFill() const =0
Returns a copy of the area fill for this shape.
virtual void setArrowStyleFrom(Style style)=0
Sets the arrow style(s) to the given.
Specialization of PlotShape for an ellipse.
virtual void setArrowStyleTo(Style style)=0
virtual void setLineCoordinates(double location, PlotAxis axis)=0
Sets the line location to the given.