23 #ifndef VECTOR_DISPLAY_PLOT_HPP
24 #define VECTOR_DISPLAY_PLOT_HPP
57 const std::vector<double*> dataPoints,
58 const int64_t numDataPoints,
59 const double refLevel,
60 const double timeInterval
113 void _resetXAxisPoints();
114 void _autoScale(
double bottom,
double top);
116 std::vector<double*> d_ydata;
118 QwtPlotCurve* d_min_vec_plot_curve;
119 QwtPlotCurve* d_max_vec_plot_curve;
120 QColor d_min_vec_color;
121 bool d_min_vec_visible;
122 QColor d_max_vec_color;
123 bool d_max_vec_visible;
124 QColor d_marker_lower_intensity_color;
125 bool d_marker_lower_intensity_visible;
126 QColor d_marker_upper_intensity_color;
127 bool d_marker_upper_intensity_visible;
128 QColor d_marker_ref_level_color;
129 bool d_marker_ref_level_visible;
131 double d_x_axis_start;
132 double d_x_axis_step;
137 QwtPlotMarker* d_lower_intensity_marker;
138 QwtPlotMarker* d_upper_intensity_marker;
140 QwtPlotMarker *d_marker_ref_level;
144 QString d_x_axis_label;
145 QString d_y_axis_label;
147 double* d_min_vec_data;
148 double* d_max_vec_data;
QWidget for displaying 1D-vector plots.
Definition: VectorDisplayPlot.h:35
void setMinVecVisible(const bool)
void onPickerPointSelected(const QwtDoublePoint &p)
const QColor getMaxVecColor() const
void setMinVecColor(QColor c)
void setMarkerUpperIntensityVisible(bool visible)
void setLowerIntensityLevel(const double)
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:61
void setMarkerUpperIntensityColor(QColor c)
float min(float a, float b)
void setYAxisLabel(const QString &label)
const bool getMinVecVisible() const
void setUpperIntensityLevel(const double)
void setMarkerRefLevelAmplitudeVisible(bool visible)
const bool getMaxVecVisible() const
void setMarkerRefLevelAmplitudeColor(QColor c)
virtual ~VectorDisplayPlot()
VectorDisplayPlot(int nplots, QWidget *)
const bool getMarkerRefLevelAmplitudeVisible() const
const bool getMarkerLowerIntensityVisible() const
const bool getMarkerUpperIntensityVisible() const
const QColor getMarkerLowerIntensityColor() const
void setXAxisUnit(const QString &unit)
void onPickerPointSelected6(const QPointF &p)
const QColor getMinVecColor() const
void setMarkerLowerIntensityVisible(bool visible)
const QColor getMarkerUpperIntensityColor() const
void setAutoScale(bool state)
void plotNewData(const std::vector< double * > dataPoints, const int64_t numDataPoints, const double refLevel, const double timeInterval)
void setYAxisUnit(const QString &unit)
const QColor getMarkerRefLevelAmplitudeColor() const
void setBGColour(QColor c)
void setXAxisLabel(const QString &label)
void setMaxVecColor(QColor c)
void setMarkerLowerIntensityColor(QColor c)
void setMaxVecVisible(const bool)
void setTraceColour(QColor)
void setYaxis(double min, double max)
void setXAxisValues(const double start, const double step=1.0)