casa
5.7.0-16
|
Abstract class for a single point on the canvas (not descended from PlotShape). More...
#include <PlotShape.h>
Public Member Functions | |
PlotPoint () | |
Constructor. More... | |
virtual | ~PlotPoint () |
Destructor. More... | |
virtual unsigned int | drawCount () const |
Implements PlotItem::drawCount(). More... | |
virtual PlotCoordinate | coordinate () const =0 |
ABSTRACT METHODS //. More... | |
virtual void | setCoordinate (const PlotCoordinate &coordinate)=0 |
Sets the location of the point to the given. More... | |
virtual PlotSymbolPtr | symbol () const =0 |
Returns a copy of the symbol used to draw the point. More... | |
virtual void | setSymbol (const PlotSymbol &symbol)=0 |
Sets the symbol used to draw the point. More... | |
Public Member Functions inherited from casa::PlotItem | |
PlotItem () | |
Constructor. More... | |
virtual | ~PlotItem () |
Destructor. More... | |
virtual PlotCanvas * | canvas () const =0 |
Returns the canvas this item is currently attached to, or NULL for none. More... | |
virtual casacore::String | title () const =0 |
Returns a human-readable title for identification. More... | |
virtual void | setTitle (const casacore::String &newTitle)=0 |
Sets this items's title to the given. More... | |
virtual bool | isValid () const =0 |
Returns true if this item is valid, false otherwise. More... | |
virtual bool | isQWidget () const =0 |
Returns whether this item can be directly casted to a QWidget or not. More... | |
virtual PlotAxis | xAxis () const =0 |
Returns the item's axes. More... | |
virtual PlotAxis | yAxis () const =0 |
virtual void | setXAxis (PlotAxis x)=0 |
Sets the item's axes. More... | |
virtual void | setYAxis (PlotAxis y)=0 |
virtual void | setAxes (PlotAxis x, PlotAxis y) |
Sets both the item's axes at once. More... | |
virtual unsigned int | drawSegments (unsigned int segmentThreshold) const |
Returns the number of draw segments for this item, using the given segment threshold. More... | |
Abstract class for a single point on the canvas (not descended from PlotShape).
Definition at line 323 of file PlotShape.h.
|
inline |
Constructor.
Definition at line 326 of file PlotShape.h.
|
inlinevirtual |
Destructor.
Definition at line 329 of file PlotShape.h.
|
pure virtual |
ABSTRACT METHODS //.
Returns the location of the point.
|
inlinevirtual |
Implements PlotItem::drawCount().
Provides default implementation that returns 1.
Implements casa::PlotItem.
Definition at line 334 of file PlotShape.h.
|
pure virtual |
Sets the location of the point to the given.
|
pure virtual |
Sets the symbol used to draw the point.
Referenced by casa::setSymbol().
|
pure virtual |
Returns a copy of the symbol used to draw the point.
Referenced by casa::setSymbol().