casa
5.7.0-16
|
A source of data used to supply x and y values. More...
#include <PlotData.h>
Public Member Functions | |
PlotPointData () | |
virtual | ~PlotPointData () |
virtual unsigned int | size () const =0 |
ABSTRACT METHODS //. More... | |
virtual double | xAt (unsigned int i) const =0 |
Returns the x value at the given index. More... | |
virtual double | yAt (unsigned int i) const =0 |
Returns the y value at the given index. More... | |
virtual bool | minsMaxes (double &xMin, double &xMax, double &yMin, double &yMax)=0 |
Gets the minimum and maximum values. More... | |
virtual void | xAndYAt (unsigned int index, double &x, double &y) const |
IMPLEMENTED METHODS //. More... | |
Public Member Functions inherited from casa::PlotData | |
PlotData () | |
virtual | ~PlotData () |
virtual bool | isValid () const =0 |
ABSTRACT METHODS //. More... | |
virtual bool | willDeleteData () const =0 |
Returns whether this object will delete its underlying data structures upon deconstruction or not. More... | |
virtual void | setDeleteData (bool del=true)=0 |
Sets whether this object will delete its underlying data structures upon deconstruction or not. More... | |
A source of data used to supply x and y values.
Basically consists of indexing its values.
Definition at line 99 of file PlotData.h.
|
inline |
Definition at line 101 of file PlotData.h.
|
inlinevirtual |
Definition at line 103 of file PlotData.h.
|
pure virtual |
Gets the minimum and maximum values.
Returns false for error.
Implemented in casa::PlotHistogramData, casa::PlotPointDataImpl< T >, and casa::PlotMSIndexer.
|
pure virtual |
ABSTRACT METHODS //.
Returns the number of points.
Implemented in casa::PlotHistogramData, casa::PlotPointDataImpl< T >, and casa::PlotMSIndexer.
|
virtual |
IMPLEMENTED METHODS //.
Gets the x and y values at the given index. Default implementation just calls xAt and yAt, but in subclasses where performance could be gained, this method should be overridden. Implementations for plots that use PlotPointData should use this method by default in case there are performance gains.
Reimplemented in casa::PlotMSRaDecIndexer, and casa::PlotMSIndexer.
|
pure virtual |
Returns the x value at the given index.
Implemented in casa::PlotHistogramData, casa::PlotPointDataImpl< T >, casa::PlotMSRaDecIndexer, and casa::PlotMSIndexer.
|
pure virtual |
Returns the y value at the given index.
Implemented in casa::PlotHistogramData, casa::PlotPointDataImpl< T >, casa::PlotMSRaDecIndexer, and casa::PlotMSIndexer.