casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
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)
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

Detailed Description

Definition at line 44 of file CanvasCurve.h.


Constructor & Destructor Documentation

casa::CanvasCurve::CanvasCurve ( CurveData  curveData,
ErrorData  errorData,
QString  legend,
QColor  curveColor,
int  curveType 
)
virtual casa::CanvasCurve::~CanvasCurve ( ) [virtual]

Member Function Documentation

double casa::CanvasCurve::convertValue ( double  value,
double  freqValue,
const QString &  oldDisplayUnits,
const QString &  yUnitDisplay,
const QString &  xUnits 
)
QColor casa::CanvasCurve::getColor ( ) 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
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

Definition at line 76 of file CanvasCurve.h.

Definition at line 78 of file CanvasCurve.h.

Definition at line 83 of file CanvasCurve.h.

Definition at line 79 of file CanvasCurve.h.

QString casa::CanvasCurve::legend [private]

Definition at line 77 of file CanvasCurve.h.

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.


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