#include <FeatherPlotWidget.qo.h>
Public Types | |
| typedef FeatherDataType::DataType | DataType |
| typedef FeatherCurveType::CurveType | CurveType |
Signals | |
| void | dishDiameterChanged (double newValue) |
| void | rectangleZoomed (double minX, double maxX, double minY, double maxY) |
Public Member Functions | |
| FeatherPlotWidget (const QString &title, FeatherPlot::PlotType plotType, QWidget *parent=0) | |
| void | setData (const Vector< Float > &xValues, const Vector< Float > &yValues, DataType dType) |
| Setting the data into the plots. | |
| virtual void | addSumData () |
| void | clearPlot () |
| void | clearData () |
| void | clearLegend () |
| void | setPlotColors (const QMap< CurveType, CurveDisplay > &colorMap) |
| Preferences. | |
| virtual void | setScatterCurves (const QString &, CurveType, const QList< CurveType > &) |
| void | setLineThickness (int thickness) |
| void | setLegendVisibility (bool v) |
| void | setDotSize (int size) |
| void | setLogScale (bool uvScale, bool logScale) |
| void | refresh () |
| void | changeZoom90 (bool zoom) |
| Zooming. | |
| void | zoomRectangle (double minX, double maxX, double minY, double maxY) |
| void | zoomNeutral () |
| void | resetZoomRectangleColor () |
| virtual void | addZoomNeutralCurves ()=0 |
| QWidget * | getExternalAxisControl (QwtPlot::Axis position) |
| void | insertLegend (QWidget *parent) |
| ~FeatherPlotWidget () | |
| bool | moveDiameterMarker (const QPoint &pos) |
| Dish diameter marker. | |
| double | getDishDiameter () const |
| bool | isDiameterSelectorMode () const |
| void | setDishDiameter (double value=-1, bool scale=true) |
| void | resetDishDiameterLineColor () |
| void | setRectangleZoomMode () |
| Left mouse mode. | |
| void | setDiameterSelectorMode () |
Protected Member Functions | |
| FeatherDataType::DataType | getDataTypeForCurve (CurveType cType) const |
| void | resizeEvent (QResizeEvent *event) |
| void | resetData (DataType dataType, const Vector< Float > &xValues, const Vector< Float > &yValues) |
| virtual void | addSumData (bool logAmplitude) |
| pair< double, double > | getMaxMin (QVector< double > values, FeatherCurveType::CurveType curveType) const |
| virtual void | zoomRectangleOther (double minX, double maxX, double minY, double maxY)=0 |
| virtual void | zoom90Other (double dishPosition)=0 |
| void | addPlotCurve (const QVector< double > &xValues, const QVector< double > &yValues, DataType dType, bool sumCurve) |
| void | addPlotCurve (const QVector< double > &xValues, const QVector< double > &yValues, QwtPlot::Axis axis, CurveType curveType, bool sumCurve) |
| pair< QVector< double > , QVector< double > > | limitX (DataType dType, double xCutOff) |
| pair< QVector< double > , QVector< double > > | limitX (DataType dType, double minValue, double maxValue) |
| void | initializeDomainLimitedData (double minValue, double maxValue, QVector< double > &xValues, QVector< double > &yValues, const QVector< double > &originalXValues, const QVector< double > &originalYValues) const |
| void | initializeSumData (QVector< double > &sumX, QVector< double > &sumY, bool logScale) |
| void | initializeMarkers () |
| virtual void | resetColors () |
Protected Attributes | |
| FeatherPlot * | plot |
| QwtPlot::Axis | sliceAxis |
| QwtPlot::Axis | weightAxis |
| QwtPlot::Axis | scatterAxis |
| QMap< DataType, std::pair < QVector< double >, QVector < double > > > | plotData |
| QMap< CurveType, CurveDisplay > | curvePreferences |
Private Types | |
| enum | LeftMouseMode { RECTANGLE_ZOOM, DIAMETER_SELECTION } |
| enum | ZoomState { ZOOM_NEUTRAL, ZOOM_90, ZOOM_RECTANGLE } |
Private Slots | |
| void | zoomRectangleSelected (const QwtDoubleRect &rect) |
| void | diameterSelected (const QwtDoublePoint &pos) |
Private Member Functions | |
| void | resetPlot (FeatherPlot::PlotType plotType) |
| void | initializeZooming () |
| void | initializeDiameterMarker () |
| void | initializeDiameterSelector () |
| void | setZoomRectangleState (double minX, double maxX, double minY, double maxY) |
| void | removeMarkers () |
| void | changeLeftMouseMode () |
| QwtPlot::Axis | getAxisYForData (DataType dType) |
| CurveType | getCurveTypeForData (DataType dType) |
Private Attributes | |
| QString | plotTitle |
| double | dishPosition |
| const int | MARKER_WIDTH |
| QwtPlotPicker * | zoomer |
| QwtPlotMarker * | diameterMarker |
| QwtPlotPicker * | diameterSelector |
| LeftMouseMode | leftMouseMode |
| ZoomState | zoomState |
| double | zoomMinX |
| double | zoomMaxX |
| double | zoomMinY |
| double | zoomMaxY |
| Ui::FeatherPlotWidgetClass | ui |
Definition at line 53 of file FeatherPlotWidget.qo.h.
Reimplemented in casa::FeatherPlotWidgetSlice.
Definition at line 59 of file FeatherPlotWidget.qo.h.
Reimplemented in casa::FeatherPlotWidgetSlice.
Definition at line 58 of file FeatherPlotWidget.qo.h.
enum casa::FeatherPlotWidget::LeftMouseMode [private] |
Definition at line 162 of file FeatherPlotWidget.qo.h.
enum casa::FeatherPlotWidget::ZoomState [private] |
Definition at line 164 of file FeatherPlotWidget.qo.h.
| casa::FeatherPlotWidget::FeatherPlotWidget | ( | const QString & | title, | |
| FeatherPlot::PlotType | plotType, | |||
| QWidget * | parent = 0 | |||
| ) |
| casa::FeatherPlotWidget::~FeatherPlotWidget | ( | ) |
| void casa::FeatherPlotWidget::addPlotCurve | ( | const QVector< double > & | xValues, | |
| const QVector< double > & | yValues, | |||
| QwtPlot::Axis | axis, | |||
| CurveType | curveType, | |||
| bool | sumCurve | |||
| ) | [protected] |
| void casa::FeatherPlotWidget::addPlotCurve | ( | const QVector< double > & | xValues, | |
| const QVector< double > & | yValues, | |||
| DataType | dType, | |||
| bool | sumCurve | |||
| ) | [protected] |
| virtual void casa::FeatherPlotWidget::addSumData | ( | bool | logAmplitude | ) | [protected, virtual] |
Reimplemented in casa::FeatherPlotWidgetSlice.
| virtual void casa::FeatherPlotWidget::addSumData | ( | ) | [virtual] |
Reimplemented in casa::FeatherPlotWidgetSlice.
| virtual void casa::FeatherPlotWidget::addZoomNeutralCurves | ( | ) | [pure virtual] |
Implemented in casa::FeatherPlotWidgetScatter, and casa::FeatherPlotWidgetSlice.
| void casa::FeatherPlotWidget::changeLeftMouseMode | ( | ) | [private] |
| void casa::FeatherPlotWidget::changeZoom90 | ( | bool | zoom | ) |
Zooming.
| void casa::FeatherPlotWidget::clearData | ( | ) |
| void casa::FeatherPlotWidget::clearLegend | ( | ) |
| void casa::FeatherPlotWidget::clearPlot | ( | ) |
| void casa::FeatherPlotWidget::diameterSelected | ( | const QwtDoublePoint & | pos | ) | [private, slot] |
| void casa::FeatherPlotWidget::dishDiameterChanged | ( | double | newValue | ) | [signal] |
| QwtPlot::Axis casa::FeatherPlotWidget::getAxisYForData | ( | DataType | dType | ) | [private] |
| FeatherDataType::DataType casa::FeatherPlotWidget::getDataTypeForCurve | ( | CurveType | cType | ) | const [protected] |
| double casa::FeatherPlotWidget::getDishDiameter | ( | ) | const |
| QWidget* casa::FeatherPlotWidget::getExternalAxisControl | ( | QwtPlot::Axis | position | ) |
| pair<double,double> casa::FeatherPlotWidget::getMaxMin | ( | QVector< double > | values, | |
| FeatherCurveType::CurveType | curveType | |||
| ) | const [protected] |
| void casa::FeatherPlotWidget::initializeDiameterMarker | ( | ) | [private] |
| void casa::FeatherPlotWidget::initializeDiameterSelector | ( | ) | [private] |
| void casa::FeatherPlotWidget::initializeDomainLimitedData | ( | double | minValue, | |
| double | maxValue, | |||
| QVector< double > & | xValues, | |||
| QVector< double > & | yValues, | |||
| const QVector< double > & | originalXValues, | |||
| const QVector< double > & | originalYValues | |||
| ) | const [protected] |
| void casa::FeatherPlotWidget::initializeMarkers | ( | ) | [protected] |
| void casa::FeatherPlotWidget::initializeSumData | ( | QVector< double > & | sumX, | |
| QVector< double > & | sumY, | |||
| bool | logScale | |||
| ) | [protected] |
| void casa::FeatherPlotWidget::initializeZooming | ( | ) | [private] |
| void casa::FeatherPlotWidget::insertLegend | ( | QWidget * | parent | ) |
| bool casa::FeatherPlotWidget::isDiameterSelectorMode | ( | ) | const |
| pair<QVector<double>,QVector<double> > casa::FeatherPlotWidget::limitX | ( | DataType | dType, | |
| double | minValue, | |||
| double | maxValue | |||
| ) | [protected] |
| pair<QVector<double>,QVector<double> > casa::FeatherPlotWidget::limitX | ( | DataType | dType, | |
| double | xCutOff | |||
| ) | [protected] |
| bool casa::FeatherPlotWidget::moveDiameterMarker | ( | const QPoint & | pos | ) |
Dish diameter marker.
| void casa::FeatherPlotWidget::rectangleZoomed | ( | double | minX, | |
| double | maxX, | |||
| double | minY, | |||
| double | maxY | |||
| ) | [signal] |
| void casa::FeatherPlotWidget::refresh | ( | ) |
| void casa::FeatherPlotWidget::removeMarkers | ( | ) | [private] |
| virtual void casa::FeatherPlotWidget::resetColors | ( | ) | [protected, virtual] |
Reimplemented in casa::FeatherPlotWidgetScatter, and casa::FeatherPlotWidgetSlice.
| void casa::FeatherPlotWidget::resetData | ( | DataType | dataType, | |
| const Vector< Float > & | xValues, | |||
| const Vector< Float > & | yValues | |||
| ) | [protected] |
| void casa::FeatherPlotWidget::resetDishDiameterLineColor | ( | ) |
| void casa::FeatherPlotWidget::resetPlot | ( | FeatherPlot::PlotType | plotType | ) | [private] |
| void casa::FeatherPlotWidget::resetZoomRectangleColor | ( | ) |
| void casa::FeatherPlotWidget::resizeEvent | ( | QResizeEvent * | event | ) | [protected] |
| void casa::FeatherPlotWidget::setData | ( | const Vector< Float > & | xValues, | |
| const Vector< Float > & | yValues, | |||
| DataType | dType | |||
| ) |
Setting the data into the plots.
| void casa::FeatherPlotWidget::setDiameterSelectorMode | ( | ) |
| void casa::FeatherPlotWidget::setDishDiameter | ( | double | value = -1, |
|
| bool | scale = true | |||
| ) |
| void casa::FeatherPlotWidget::setDotSize | ( | int | size | ) |
| void casa::FeatherPlotWidget::setLegendVisibility | ( | bool | v | ) |
| void casa::FeatherPlotWidget::setLineThickness | ( | int | thickness | ) |
| void casa::FeatherPlotWidget::setLogScale | ( | bool | uvScale, | |
| bool | logScale | |||
| ) |
| void casa::FeatherPlotWidget::setPlotColors | ( | const QMap< CurveType, CurveDisplay > & | colorMap | ) |
| void casa::FeatherPlotWidget::setRectangleZoomMode | ( | ) |
Left mouse mode.
| virtual void casa::FeatherPlotWidget::setScatterCurves | ( | const QString & | , | |
| CurveType | , | |||
| const QList< CurveType > & | ||||
| ) | [inline, virtual] |
Definition at line 73 of file FeatherPlotWidget.qo.h.
| void casa::FeatherPlotWidget::setZoomRectangleState | ( | double | minX, | |
| double | maxX, | |||
| double | minY, | |||
| double | maxY | |||
| ) | [private] |
| virtual void casa::FeatherPlotWidget::zoom90Other | ( | double | dishPosition | ) | [protected, pure virtual] |
Implemented in casa::FeatherPlotWidgetScatter, and casa::FeatherPlotWidgetSlice.
| void casa::FeatherPlotWidget::zoomNeutral | ( | ) |
| void casa::FeatherPlotWidget::zoomRectangle | ( | double | minX, | |
| double | maxX, | |||
| double | minY, | |||
| double | maxY | |||
| ) |
| virtual void casa::FeatherPlotWidget::zoomRectangleOther | ( | double | minX, | |
| double | maxX, | |||
| double | minY, | |||
| double | maxY | |||
| ) | [protected, pure virtual] |
Implemented in casa::FeatherPlotWidgetScatter, and casa::FeatherPlotWidgetSlice.
| void casa::FeatherPlotWidget::zoomRectangleSelected | ( | const QwtDoubleRect & | rect | ) | [private, slot] |
QMap<CurveType,CurveDisplay> casa::FeatherPlotWidget::curvePreferences [protected] |
Definition at line 135 of file FeatherPlotWidget.qo.h.
QwtPlotMarker* casa::FeatherPlotWidget::diameterMarker [private] |
Definition at line 158 of file FeatherPlotWidget.qo.h.
QwtPlotPicker* casa::FeatherPlotWidget::diameterSelector [private] |
Definition at line 159 of file FeatherPlotWidget.qo.h.
double casa::FeatherPlotWidget::dishPosition [private] |
Definition at line 155 of file FeatherPlotWidget.qo.h.
Definition at line 163 of file FeatherPlotWidget.qo.h.
const int casa::FeatherPlotWidget::MARKER_WIDTH [private] |
Definition at line 156 of file FeatherPlotWidget.qo.h.
FeatherPlot* casa::FeatherPlotWidget::plot [protected] |
Definition at line 130 of file FeatherPlotWidget.qo.h.
QMap<DataType, std::pair<QVector<double>,QVector<double> > > casa::FeatherPlotWidget::plotData [protected] |
Definition at line 134 of file FeatherPlotWidget.qo.h.
QString casa::FeatherPlotWidget::plotTitle [private] |
Definition at line 154 of file FeatherPlotWidget.qo.h.
QwtPlot::Axis casa::FeatherPlotWidget::scatterAxis [protected] |
Definition at line 133 of file FeatherPlotWidget.qo.h.
QwtPlot::Axis casa::FeatherPlotWidget::sliceAxis [protected] |
Definition at line 131 of file FeatherPlotWidget.qo.h.
Ui::FeatherPlotWidgetClass casa::FeatherPlotWidget::ui [private] |
Definition at line 170 of file FeatherPlotWidget.qo.h.
QwtPlot::Axis casa::FeatherPlotWidget::weightAxis [protected] |
Definition at line 132 of file FeatherPlotWidget.qo.h.
QwtPlotPicker* casa::FeatherPlotWidget::zoomer [private] |
Definition at line 157 of file FeatherPlotWidget.qo.h.
double casa::FeatherPlotWidget::zoomMaxX [private] |
Definition at line 167 of file FeatherPlotWidget.qo.h.
double casa::FeatherPlotWidget::zoomMaxY [private] |
Definition at line 169 of file FeatherPlotWidget.qo.h.
double casa::FeatherPlotWidget::zoomMinX [private] |
Definition at line 166 of file FeatherPlotWidget.qo.h.
double casa::FeatherPlotWidget::zoomMinY [private] |
Definition at line 168 of file FeatherPlotWidget.qo.h.
ZoomState casa::FeatherPlotWidget::zoomState [private] |
Definition at line 165 of file FeatherPlotWidget.qo.h.
1.6.1