casa::FeatherPlot Class Reference
#include <FeatherPlot.h>
List of all members.
Public Types |
| enum | PlotType {
SLICE_CUT,
SCATTER_PLOT,
NO_TYPE
} |
Public Member Functions |
| | 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.
|
| void | setLineThickness (int thickness) |
| void | setDotSize (int dotSize) |
| void | setLegendVisibility (bool visible) |
| bool | setLogScale (bool uvScale, bool ampScale) |
| | Returns true if the uvScale changed.
|
| void | insertSingleLegend (QWidget *parent) |
| | Legend.
|
| QWidget * | getExternalAxisControl (QwtPlot::Axis position) |
| FeatherPlot::PlotType | getPlotType () const |
| | Accessors.
|
| bool | isLogUV () const |
| bool | isLogAmplitude () const |
| bool | isEmpty () const |
| bool | isScatterPlot () const |
| bool | isSliceCut () const |
Static Public Attributes |
| static const QString | Y_EQUALS_X |
Private Member Functions |
| void | setCurvePenColor (int curveIndex, const QColor &color) |
| int | getCurveIndex (const QString &curveTitle) const |
| void | setCurveSize (int curveIndex) |
| void | updateAxes () |
| void | updateAxis (int index) |
| void | setAxisLabels () |
| void | adjustPlotBounds (std::pair< double, double > curveBounds, QwtPlot::Axis yAxis) |
| void | resetPlotBounds () |
| void | setLegendSize () |
| void | initAxes () |
| void | setCurveData (FeatherCurve *curve, QwtPlot::Axis yAxis) |
Private Attributes |
| QwtLegend * | externalLegend |
| QWidget * | legendParent |
| PlotType | plotType |
| int | lineThickness |
| int | dotSize |
| bool | scaleLogAmplitude |
| bool | scaleLogUV |
| const int | AXIS_COUNT |
| const int | MINIMUM_LEGEND_LINE_WIDTH |
| QList< FeatherCurve * > | curves |
| QList< QString > | axisTitles |
| | External axis drawing support.
|
| QList< QString > | axisLabels |
| QList< ExternalAxisControl * > | axisWidgets |
| QList< ExternalAxis * > | axisBlanks |
| double | minX |
| double | maxX |
| double | minY |
| double | maxY |
| double | minYRight |
| double | maxYRight |
Friends |
| class | ExternalAxisControlBottom |
| class | ExternalAxisControlRight |
| class | ExternalAxisControlLeft |
Detailed Description
Definition at line 45 of file FeatherPlot.h.
Member Enumeration Documentation
- Enumerator:
| SLICE_CUT |
|
| SCATTER_PLOT |
|
| NO_TYPE |
|
Definition at line 53 of file FeatherPlot.h.
Constructor & Destructor Documentation
| casa::FeatherPlot::FeatherPlot |
( |
QWidget * |
parent |
) |
|
| virtual casa::FeatherPlot::~FeatherPlot |
( |
|
) |
[virtual] |
Member Function Documentation
| 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] |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: