23 #ifndef VECTOR_DISPLAY_PLOT_HPP 24 #define VECTOR_DISPLAY_PLOT_HPP 63 const int64_t numDataPoints,
64 const
double refLevel,
65 const
double timeInterval);
99 void setMinVecColor(QColor c);
117 void _resetXAxisPoints();
118 void _autoScale(
double bottom,
double top);
120 std::vector<
double*> d_ydata;
122 QwtPlotCurve* d_min_vec_plot_curve;
123 QwtPlotCurve* d_max_vec_plot_curve;
124 QColor d_min_vec_color;
125 bool d_min_vec_visible;
126 QColor d_max_vec_color;
127 bool d_max_vec_visible;
128 QColor d_marker_lower_intensity_color;
129 bool d_marker_lower_intensity_visible;
130 QColor d_marker_upper_intensity_color;
131 bool d_marker_upper_intensity_visible;
132 QColor d_marker_ref_level_color;
133 bool d_marker_ref_level_visible;
135 double d_x_axis_start;
136 double d_x_axis_step;
141 QwtPlotMarker* d_lower_intensity_marker;
142 QwtPlotMarker* d_upper_intensity_marker;
144 QwtPlotMarker* d_marker_ref_level;
148 QString d_x_axis_label;
149 QString d_y_axis_label;
151 double* d_min_vec_data;
152 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:50
void onPickerPointSelected(const QwtDoublePoint &p)
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)
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:44
const QColor getMarkerLowerIntensityColor() const
const bool getMaxVecVisible() const
void setUpperIntensityLevel(const double)
void setMarkerRefLevelAmplitudeVisible(bool visible)
bool marker_ref_level_visible
Definition: VectorDisplayPlot.h:54
void setMarkerRefLevelAmplitudeColor(QColor c)
bool min_vec_visible
Definition: VectorDisplayPlot.h:41
const bool getMarkerLowerIntensityVisible() const
const QColor getMarkerRefLevelAmplitudeColor() const
void setXAxisUnit(const QString &unit)
const QColor getMinVecColor() const
void onPickerPointSelected6(const QPointF &p)
QColor marker_upper_intensity_color
Definition: VectorDisplayPlot.h:48
QColor max_vec_color
Definition: VectorDisplayPlot.h:40
const bool getMinVecVisible() const
QColor marker_ref_level_color
Definition: VectorDisplayPlot.h:52
void setMarkerLowerIntensityVisible(bool visible)
void setAutoScale(bool state)
void setYAxisUnit(const QString &unit)
const bool getMarkerRefLevelAmplitudeVisible() const
void setBGColour(QColor c)
void setXAxisLabel(const QString &label)
void setMaxVecColor(QColor c)
const QColor getMarkerUpperIntensityColor() const
bool max_vec_visible
Definition: VectorDisplayPlot.h:42
void setMarkerLowerIntensityColor(QColor c)
const bool getMarkerUpperIntensityVisible() const
bool marker_lower_intensity_visible
Definition: VectorDisplayPlot.h:46
void plotNewData(const std::vector< double *> dataPoints, const int64_t numDataPoints, const double refLevel, const double timeInterval)
void setMaxVecVisible(const bool)
const QColor getMaxVecColor() const
void setTraceColour(QColor)
void setYaxis(double min, double max)
void setXAxisValues(const double start, const double step=1.0)