Represents a curve on one of the plots.
More...
#include <FeatherCurve.h>
|
| FeatherCurve (FeatherPlot *plot, QwtPlot::Axis xAxis, QwtPlot::Axis yAxis, bool sumCurve) |
|
void | initScatterPlot (int dotSize) |
|
void | setTitle (const QString &title) |
|
void | setFunctionColor (const QColor &color, bool diagonalLine) |
|
void | setCurveData (const QVector< double > &xVals, const QVector< double > &yVals) |
| Change the data the curve contains. More...
|
|
QVector< double > | getXValues () const |
|
QVector< double > | getYValues () const |
|
QColor | getRectColor () const |
|
void | adjustData (bool uvLog, bool ampLog) |
| Change the scale of existing data (Log<–>No Log) More...
|
|
void | setCurveSize (bool scatterPlot, bool diagonalLine, int dotSize, int lineThickness) |
|
std::pair< double, double > | getBoundsX () const |
|
std::pair< double, double > | getBoundsY () const |
|
QwtPlot::Axis | getVerticalAxis () const |
|
QString | getTitle () const |
|
virtual | ~FeatherCurve () |
|
virtual | ~ColorProvider () |
|
Represents a curve on one of the plots.
Definition at line 44 of file FeatherCurve.h.
casa::FeatherCurve::FeatherCurve |
( |
FeatherPlot * |
plot, |
|
|
QwtPlot::Axis |
xAxis, |
|
|
QwtPlot::Axis |
yAxis, |
|
|
bool |
sumCurve |
|
) |
| |
virtual casa::FeatherCurve::~FeatherCurve |
( |
| ) |
|
|
virtual |
casa::FeatherCurve::FeatherCurve |
( |
const FeatherCurve & |
other | ) |
|
|
private |
void casa::FeatherCurve::adjustData |
( |
bool |
uvLog, |
|
|
bool |
ampLog |
|
) |
| |
Change the scale of existing data (Log<–>No Log)
QList<int> casa::FeatherCurve::doLogs |
( |
double * |
values, |
|
|
int |
count |
|
) |
| const |
|
private |
std::pair<double,double> casa::FeatherCurve::getBoundsX |
( |
| ) |
const |
std::pair<double,double> casa::FeatherCurve::getBoundsY |
( |
| ) |
const |
QColor casa::FeatherCurve::getRectColor |
( |
| ) |
const |
|
virtual |
QString casa::FeatherCurve::getTitle |
( |
| ) |
const |
QwtPlot::Axis casa::FeatherCurve::getVerticalAxis |
( |
| ) |
const |
QVector<double> casa::FeatherCurve::getXValues |
( |
| ) |
const |
QVector<double> casa::FeatherCurve::getYValues |
( |
| ) |
const |
void casa::FeatherCurve::initScatterPlot |
( |
int |
dotSize | ) |
|
bool casa::FeatherCurve::isSumCurve |
( |
| ) |
const |
|
private |
bool casa::FeatherCurve::isWeightCurve |
( |
| ) |
const |
|
private |
double casa::FeatherCurve::logarithm |
( |
double |
value, |
|
|
casacore::Bool & |
valid |
|
) |
| const |
|
private |
void casa::FeatherCurve::resetDataBounds |
( |
| ) |
|
|
private |
void casa::FeatherCurve::setCurveData |
( |
const QVector< double > & |
xVals, |
|
|
const QVector< double > & |
yVals |
|
) |
| |
Change the data the curve contains.
void casa::FeatherCurve::setCurvePenColor |
( |
const QColor & |
color | ) |
|
|
private |
void casa::FeatherCurve::setCurveSize |
( |
bool |
scatterPlot, |
|
|
bool |
diagonalLine, |
|
|
int |
dotSize, |
|
|
int |
lineThickness |
|
) |
| |
void casa::FeatherCurve::setFunctionColor |
( |
const QColor & |
color, |
|
|
bool |
diagonalLine |
|
) |
| |
void casa::FeatherCurve::setTitle |
( |
const QString & |
title | ) |
|
bool casa::FeatherCurve::firstTime |
|
private |
QColor casa::FeatherCurve::functionColor |
|
private |
double casa::FeatherCurve::maxX |
|
private |
double casa::FeatherCurve::maxY |
|
private |
double casa::FeatherCurve::minX |
|
private |
double casa::FeatherCurve::minY |
|
private |
bool casa::FeatherCurve::scaleLogAmplitude |
|
private |
bool casa::FeatherCurve::scaleLogUV |
|
private |
bool casa::FeatherCurve::scatterPlot |
|
private |
bool casa::FeatherCurve::sumCurve |
|
private |
This variable was added for scatter plots.
Normally if the FeatherCurveType is SUM_LOW_HIGH, it will be a sum curve. However, scatter plots can have x-values which are sums, and y-values which are something else, say a low-weighted curve. In this case, the FeatherCurveType will be whatever the y-axis. Thus, we set a boolean variable to indicated if it is a sum curve. This is imported because sums have to be specially calculated in the case of a logarithm scale and cannot be done directly by taking log( sum).
Definition at line 94 of file FeatherCurve.h.
QVector<double> casa::FeatherCurve::xValues |
|
private |
QVector<double> casa::FeatherCurve::yValues |
|
private |
The documentation for this class was generated from the following file: