casa
$Rev:20696$
|
#include <CanvasCurve.h>
Public Member Functions | |
CanvasCurve () | |
CanvasCurve (CurveData curveData, ErrorData errorData, QString legend, QColor curveColor, int curveType) | |
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 double X_ERROR, const double Y_ERROR, 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) |
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) |
Private Attributes | |
QColor | curveColor |
QString | legend |
CurveData | curveData |
ErrorData | errorData |
QString | maxUnits |
double | maxValue |
double | maxErrorValue |
int | curveType |
Definition at line 44 of file CanvasCurve.h.
casa::CanvasCurve::CanvasCurve | ( | CurveData | curveData, |
ErrorData | errorData, | ||
QString | legend, | ||
QColor | curveColor, | ||
int | curveType | ||
) |
virtual casa::CanvasCurve::~CanvasCurve | ( | ) | [virtual] |
double casa::CanvasCurve::convertValue | ( | double | value, |
double | freqValue, | ||
const QString & | oldDisplayUnits, | ||
const QString & | yUnitDisplay, | ||
const QString & | xUnits | ||
) |
QColor casa::CanvasCurve::getColor | ( | ) | const |
int casa::CanvasCurve::getCurveType | ( | ) | const |
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 double | X_ERROR, | ||
const double | Y_ERROR, | ||
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] |
QColor casa::CanvasCurve::curveColor [private] |
Definition at line 76 of file CanvasCurve.h.
CurveData casa::CanvasCurve::curveData [private] |
Definition at line 78 of file CanvasCurve.h.
int casa::CanvasCurve::curveType [private] |
Definition at line 83 of file CanvasCurve.h.
ErrorData casa::CanvasCurve::errorData [private] |
Definition at line 79 of file CanvasCurve.h.
QString casa::CanvasCurve::legend [private] |
Definition at line 77 of file CanvasCurve.h.
double casa::CanvasCurve::maxErrorValue [private] |
Definition at line 82 of file CanvasCurve.h.
QString casa::CanvasCurve::maxUnits [private] |
Definition at line 80 of file CanvasCurve.h.
double casa::CanvasCurve::maxValue [private] |
Definition at line 81 of file CanvasCurve.h.