23 #ifndef VECTOR_DISPLAY_PLOT_HPP
24 #define VECTOR_DISPLAY_PLOT_HPP
57 const std::vector<
double*> dataPoints,
59 const
double refLevel,
60 const
double timeInterval
95 void setMinVecColor (QColor c);
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)
bool marker_upper_intensity_visible
Definition: VectorDisplayPlot.h:46
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:53
void setMarkerUpperIntensityColor(QColor c)
QColor min_vec_color
Definition: VectorDisplayPlot.h:39
float min(float a, float b)
void setYAxisLabel(const QString &label)
QColor marker_lower_intensity_color
Definition: VectorDisplayPlot.h:43
const bool getMinVecVisible() const
void setUpperIntensityLevel(const double)
void setMarkerRefLevelAmplitudeVisible(bool visible)
const bool getMaxVecVisible() const
bool marker_ref_level_visible
Definition: VectorDisplayPlot.h:48
void setMarkerRefLevelAmplitudeColor(QColor c)
const bool getMarkerRefLevelAmplitudeVisible() const
const bool getMarkerLowerIntensityVisible() const
const bool getMarkerUpperIntensityVisible() const
const QColor getMarkerLowerIntensityColor() const
bool min_vec_visible
Definition: VectorDisplayPlot.h:41
void setXAxisUnit(const QString &unit)
void onPickerPointSelected6(const QPointF &p)
QColor marker_upper_intensity_color
Definition: VectorDisplayPlot.h:45
QColor max_vec_color
Definition: VectorDisplayPlot.h:40
const QColor getMinVecColor() const
QColor marker_ref_level_color
Definition: VectorDisplayPlot.h:47
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)
signed __int64 int64_t
Definition: stdint.h:89
bool max_vec_visible
Definition: VectorDisplayPlot.h:42
void setMarkerLowerIntensityColor(QColor c)
bool marker_lower_intensity_visible
Definition: VectorDisplayPlot.h:44
void setMaxVecVisible(const bool)
void setTraceColour(QColor)
void setYaxis(double min, double max)
void setXAxisValues(const double start, const double step=1.0)