62 virtual bool isValid()
const = 0;
91 virtual unsigned int drawCount()
const = 0;
96 virtual unsigned int drawSegments(
unsigned int segmentThreshold)
const;
virtual void setYAxis(PlotAxis y)=0
virtual casacore::String title() const =0
Returns a human-readable title for identification.
virtual PlotAxis yAxis() const =0
virtual void setXAxis(PlotAxis x)=0
Sets the item's axes.
virtual unsigned int drawSegments(unsigned int segmentThreshold) const
Returns the number of draw segments for this item, using the given segment threshold.
virtual bool isValid() const =0
Returns true if this item is valid, false otherwise.
virtual PlotAxis xAxis() const =0
Returns the item's axes.
Referenced counted pointer for constant data.
virtual ~PlotItem()
Destructor.
PlotAxis
Enum for the four plot axes.
virtual unsigned int drawCount() const =0
Returns the "draw count" for this item, which subjectively means how many indexed draw operations thi...
PlotItem is the superclass of any object that is meant to be placed on the canvas (plots...
virtual void setTitle(const casacore::String &newTitle)=0
Sets this items's title to the given.
virtual PlotCanvas * canvas() const =0
Returns the canvas this item is currently attached to, or NULL for none.
PlotCanvas is an area for different PlotItems to be attached and drawn.
casacore::CountedPtr< PlotItem > PlotItemPtr
virtual bool isQWidget() const =0
Returns whether this item can be directly casted to a QWidget or not.
String: the storage and methods of handling collections of characters.
virtual void setAxes(PlotAxis x, PlotAxis y)
Sets both the item's axes at once.