casa::CanvasCurve Class Reference
#include <CanvasCurve.h>
List of all members.
Public Member Functions |
| | CanvasCurve () |
| | CanvasCurve (CurveData curveData, ErrorData errorData, QString legend, QColor curveColor, int curveType, double beamAngle, double beamArea, SpectralCoordinate coord) |
| QColor | getColor () const |
| void | setColor (QColor color) |
| QString | getLegend () const |
| void | setLegend (const QString &legend) |
| int | getCurveType () const |
| CurveData | getCurveData () |
| Vector< float > | getXValues () const |
| Vector< float > | getYValues () const |
| CurveData | getErrorData () |
| QString | getToolTip (double x, double y, const QString &xUnit, const QString &yUnit) const |
| void | getMinMax (Double &xmin, Double &xmax, Double &ymin, Double &ymax, bool plotError) const |
| std::pair< double, double > | getRangeFor (double xMin, double xMax, Bool &exists) |
| void | scaleYValues (const QString &oldDisplayUnits, const QString &yUnitDisplay, const QString &xUnits) |
| double | convertValue (double value, double freqValue, const QString &oldDisplayUnits, const QString &yUnitDisplay, const QString &xUnits, SpectralCoordinate &coord) |
| virtual | ~CanvasCurve () |
Private Member Functions |
| Vector< float > | getErrorValues () const |
| double | getMaxY () const |
| double | getMaxError () const |
| void | storeData (const QString &oldUnits) |
| void | setYValues (const Vector< float > &yValues) |
| void | setErrorValues (const Vector< float > &errorValues) |
| double | calculateRelativeError (double minValue, double maxValue) const |
| void | calculateRelativeErrors (double &errorX, double &errorY) const |
Private Attributes |
| QColor | curveColor |
| QString | legend |
| CurveData | curveData |
| ErrorData | errorData |
| QString | maxUnits |
| double | maxValue |
| double | maxErrorValue |
| double | beamAngle |
| double | beamArea |
| int | curveType |
| SpectralCoordinate | spectralCoordinate |
Detailed Description
Definition at line 45 of file CanvasCurve.h.
Constructor & Destructor Documentation
| casa::CanvasCurve::CanvasCurve |
( |
|
) |
|
| casa::CanvasCurve::CanvasCurve |
( |
CurveData |
curveData, |
|
|
ErrorData |
errorData, |
|
|
QString |
legend, |
|
|
QColor |
curveColor, |
|
|
int |
curveType, |
|
|
double |
beamAngle, |
|
|
double |
beamArea, |
|
|
SpectralCoordinate |
coord | |
|
) |
| | |
| virtual casa::CanvasCurve::~CanvasCurve |
( |
|
) |
[virtual] |
Member Function Documentation
| double casa::CanvasCurve::calculateRelativeError |
( |
double |
minValue, |
|
|
double |
maxValue | |
|
) |
| | const [private] |
| void casa::CanvasCurve::calculateRelativeErrors |
( |
double & |
errorX, |
|
|
double & |
errorY | |
|
) |
| | const [private] |
| double casa::CanvasCurve::convertValue |
( |
double |
value, |
|
|
double |
freqValue, |
|
|
const QString & |
oldDisplayUnits, |
|
|
const QString & |
yUnitDisplay, |
|
|
const QString & |
xUnits, |
|
|
SpectralCoordinate & |
coord | |
|
) |
| | |
| QColor casa::CanvasCurve::getColor |
( |
|
) |
const |
| CurveData casa::CanvasCurve::getCurveData |
( |
|
) |
|
| int casa::CanvasCurve::getCurveType |
( |
|
) |
const |
| CurveData casa::CanvasCurve::getErrorData |
( |
|
) |
|
| Vector<float> casa::CanvasCurve::getErrorValues |
( |
|
) |
const [private] |
| QString casa::CanvasCurve::getLegend |
( |
|
) |
const |
| double casa::CanvasCurve::getMaxError |
( |
|
) |
const [private] |
| double casa::CanvasCurve::getMaxY |
( |
|
) |
const [private] |
| void casa::CanvasCurve::getMinMax |
( |
Double & |
xmin, |
|
|
Double & |
xmax, |
|
|
Double & |
ymin, |
|
|
Double & |
ymax, |
|
|
bool |
plotError | |
|
) |
| | const |
| std::pair<double,double> casa::CanvasCurve::getRangeFor |
( |
double |
xMin, |
|
|
double |
xMax, |
|
|
Bool & |
exists | |
|
) |
| | |
| QString casa::CanvasCurve::getToolTip |
( |
double |
x, |
|
|
double |
y, |
|
|
const QString & |
xUnit, |
|
|
const QString & |
yUnit | |
|
) |
| | const |
| Vector<float> casa::CanvasCurve::getXValues |
( |
|
) |
const |
| Vector<float> casa::CanvasCurve::getYValues |
( |
|
) |
const |
| void casa::CanvasCurve::scaleYValues |
( |
const QString & |
oldDisplayUnits, |
|
|
const QString & |
yUnitDisplay, |
|
|
const QString & |
xUnits | |
|
) |
| | |
| void casa::CanvasCurve::setColor |
( |
QColor |
color |
) |
|
| void casa::CanvasCurve::setErrorValues |
( |
const Vector< float > & |
errorValues |
) |
[private] |
| void casa::CanvasCurve::setLegend |
( |
const QString & |
legend |
) |
|
| void casa::CanvasCurve::setYValues |
( |
const Vector< float > & |
yValues |
) |
[private] |
| void casa::CanvasCurve::storeData |
( |
const QString & |
oldUnits |
) |
[private] |
Member Data Documentation
The documentation for this class was generated from the following file: