casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casa::PlotPoint Class Referenceabstract

Abstract class for a single point on the canvas (not descended from PlotShape). More...

#include <PlotShape.h>

Inheritance diagram for casa::PlotPoint:
casa::PlotItem

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 PlotCanvascanvas () 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...
 

Detailed Description

Abstract class for a single point on the canvas (not descended from PlotShape).

Definition at line 323 of file PlotShape.h.

Constructor & Destructor Documentation

casa::PlotPoint::PlotPoint ( )
inline

Constructor.

Definition at line 326 of file PlotShape.h.

virtual casa::PlotPoint::~PlotPoint ( )
inlinevirtual

Destructor.

Definition at line 329 of file PlotShape.h.

Member Function Documentation

virtual PlotCoordinate casa::PlotPoint::coordinate ( ) const
pure virtual

ABSTRACT METHODS //.

Returns the location of the point.

virtual unsigned int casa::PlotPoint::drawCount ( ) const
inlinevirtual

Implements PlotItem::drawCount().

Provides default implementation that returns 1.

Implements casa::PlotItem.

Definition at line 334 of file PlotShape.h.

virtual void casa::PlotPoint::setCoordinate ( const PlotCoordinate &  coordinate)
pure virtual

Sets the location of the point to the given.

virtual void casa::PlotPoint::setSymbol ( const PlotSymbol symbol)
pure virtual

Sets the symbol used to draw the point.

Referenced by casa::setSymbol().

virtual PlotSymbolPtr casa::PlotPoint::symbol ( ) const
pure virtual

Returns a copy of the symbol used to draw the point.

Referenced by casa::setSymbol().


The documentation for this class was generated from the following file: