#include <FeatherPlot.h>
|
| FeatherPlot (QWidget *parent) |
|
virtual | ~FeatherPlot () |
|
void | clearCurves () |
|
void | clearLegend () |
|
void | resetLegend () |
|
void | addCurve (QVector< double > xValues, QVector< double > yValues, QColor curveColor, const QString &curveTitle, QwtPlot::Axis yAxis, bool sumCurve) |
|
void | addAxisTitle (QwtPlot::Axis axis, const QString &title) |
|
void | addDiagonal (QVector< double > xValues, QColor lineColor, QwtPlot::Axis yAxis) |
|
void | initializePlot (const QString &title, PlotType plotType) |
|
void | setFunctionColor (const QString &curveID, const QColor &color) |
| Preferences. More...
|
|
void | setLineThickness (int thickness) |
|
void | setDotSize (int dotSize) |
|
void | setLegendVisibility (bool visible) |
|
bool | setLogScale (bool uvScale, bool ampScale) |
| Returns true if the uvScale changed. More...
|
|
void | insertSingleLegend (QWidget *parent) |
| Legend. More...
|
|
QWidget * | getExternalAxisControl (QwtPlot::Axis position) |
|
FeatherPlot::PlotType | getPlotType () const |
| Accessors. More...
|
|
bool | isLogUV () const |
|
bool | isLogAmplitude () const |
|
bool | isEmpty () const |
|
bool | isScatterPlot () const |
|
bool | isSliceCut () const |
|
Definition at line 45 of file FeatherPlot.h.
Enumerator |
---|
SLICE_CUT |
|
SCATTER_PLOT |
|
NO_TYPE |
|
Definition at line 53 of file FeatherPlot.h.
casa::FeatherPlot::FeatherPlot |
( |
QWidget * |
parent | ) |
|
virtual casa::FeatherPlot::~FeatherPlot |
( |
| ) |
|
|
virtual |
void casa::FeatherPlot::addAxisTitle |
( |
QwtPlot::Axis |
axis, |
|
|
const QString & |
title |
|
) |
| |
void casa::FeatherPlot::addCurve |
( |
QVector< double > |
xValues, |
|
|
QVector< double > |
yValues, |
|
|
QColor |
curveColor, |
|
|
const QString & |
curveTitle, |
|
|
QwtPlot::Axis |
yAxis, |
|
|
bool |
sumCurve |
|
) |
| |
void casa::FeatherPlot::addDiagonal |
( |
QVector< double > |
xValues, |
|
|
QColor |
lineColor, |
|
|
QwtPlot::Axis |
yAxis |
|
) |
| |
void casa::FeatherPlot::adjustPlotBounds |
( |
std::pair< double, double > |
curveBounds, |
|
|
QwtPlot::Axis |
yAxis |
|
) |
| |
|
private |
void casa::FeatherPlot::clearCurves |
( |
| ) |
|
void casa::FeatherPlot::clearLegend |
( |
| ) |
|
int casa::FeatherPlot::getCurveIndex |
( |
const QString & |
curveTitle | ) |
const |
|
private |
QWidget* casa::FeatherPlot::getExternalAxisControl |
( |
QwtPlot::Axis |
position | ) |
|
void casa::FeatherPlot::initAxes |
( |
| ) |
|
|
private |
void casa::FeatherPlot::initializePlot |
( |
const QString & |
title, |
|
|
PlotType |
plotType |
|
) |
| |
void casa::FeatherPlot::insertSingleLegend |
( |
QWidget * |
parent | ) |
|
bool casa::FeatherPlot::isEmpty |
( |
| ) |
const |
bool casa::FeatherPlot::isLogAmplitude |
( |
| ) |
const |
bool casa::FeatherPlot::isLogUV |
( |
| ) |
const |
bool casa::FeatherPlot::isScatterPlot |
( |
| ) |
const |
bool casa::FeatherPlot::isSliceCut |
( |
| ) |
const |
void casa::FeatherPlot::resetLegend |
( |
| ) |
|
void casa::FeatherPlot::resetPlotBounds |
( |
| ) |
|
|
private |
void casa::FeatherPlot::setAxisLabels |
( |
| ) |
|
|
private |
void casa::FeatherPlot::setCurveData |
( |
FeatherCurve * |
curve, |
|
|
QwtPlot::Axis |
yAxis |
|
) |
| |
|
private |
void casa::FeatherPlot::setCurvePenColor |
( |
int |
curveIndex, |
|
|
const QColor & |
color |
|
) |
| |
|
private |
void casa::FeatherPlot::setCurveSize |
( |
int |
curveIndex | ) |
|
|
private |
void casa::FeatherPlot::setDotSize |
( |
int |
dotSize | ) |
|
void casa::FeatherPlot::setFunctionColor |
( |
const QString & |
curveID, |
|
|
const QColor & |
color |
|
) |
| |
void casa::FeatherPlot::setLegendSize |
( |
| ) |
|
|
private |
void casa::FeatherPlot::setLegendVisibility |
( |
bool |
visible | ) |
|
void casa::FeatherPlot::setLineThickness |
( |
int |
thickness | ) |
|
bool casa::FeatherPlot::setLogScale |
( |
bool |
uvScale, |
|
|
bool |
ampScale |
|
) |
| |
Returns true if the uvScale changed.
The log scale does not impact the return of this method.
void casa::FeatherPlot::updateAxes |
( |
| ) |
|
|
private |
void casa::FeatherPlot::updateAxis |
( |
int |
index | ) |
|
|
private |
const int casa::FeatherPlot::AXIS_COUNT |
|
private |
QList<QString> casa::FeatherPlot::axisLabels |
|
private |
QList<QString> casa::FeatherPlot::axisTitles |
|
private |
int casa::FeatherPlot::dotSize |
|
private |
QwtLegend* casa::FeatherPlot::externalLegend |
|
private |
QWidget* casa::FeatherPlot::legendParent |
|
private |
int casa::FeatherPlot::lineThickness |
|
private |
double casa::FeatherPlot::maxX |
|
private |
double casa::FeatherPlot::maxY |
|
private |
double casa::FeatherPlot::maxYRight |
|
private |
const int casa::FeatherPlot::MINIMUM_LEGEND_LINE_WIDTH |
|
private |
double casa::FeatherPlot::minX |
|
private |
double casa::FeatherPlot::minY |
|
private |
double casa::FeatherPlot::minYRight |
|
private |
bool casa::FeatherPlot::scaleLogAmplitude |
|
private |
bool casa::FeatherPlot::scaleLogUV |
|
private |
const QString casa::FeatherPlot::Y_EQUALS_X |
|
static |
The documentation for this class was generated from the following file: