23 #ifndef WATERFALL_DISPLAY_PLOT_H
24 #define WATERFALL_DISPLAY_PLOT_H
29 #include <qwt_plot_spectrogram.h>
34 #if QWT_VERSION < 0x060000
37 #include <qwt_compat.h>
60 const
double units=1000.0,
61 const std::
string &strunits = "kHz");
65 void plotNewData(const std::vector<
double*> dataPoints,
66 const int64_t numDataPoints,
67 const
double timePerFFT,
69 const
int droppedFrames);
73 const int64_t numDataPoints,
74 const
double timePerFFT,
76 const
int droppedFrames);
97 void setIntensityColorMapType1(
int);
103 void enableLegend(
bool en);
111 void _updateIntensityRangeDisplay();
113 double d_start_frequency;
114 double d_stop_frequency;
115 double d_center_frequency;
116 int d_xaxis_multiplier;
118 bool d_legend_enabled;
123 #if QWT_VERSION < 0x060000
124 std::vector<PlotWaterfall*> d_spectrogram;
126 std::vector<QwtPlotSpectrogram*> d_spectrogram;
129 std::vector<int> d_intensity_color_map_type;
130 QColor d_user_defined_low_intensity_color;
131 QColor d_user_defined_high_intensity_color;
QWidget for displaying waterfall (spectrogram) plots.
Definition: WaterfallDisplayPlot.h:44
void setIntensityColorMapType1(int)
QColor low_intensity_color
Definition: WaterfallDisplayPlot.h:49
void setUserDefinedLowIntensityColor(QColor)
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:61
const QColor getUserDefinedLowIntensityColor() const
void setIntensityRange(const double minIntensity, const double maxIntensity)
void plotNewData(const std::vector< double * > dataPoints, const int64_t numDataPoints, const double timePerFFT, const gr::high_res_timer_type timestamp, const int droppedFrames)
Definition: waterfallGlobalData.h:34
double getMaxIntensity(int which) const
double getStartFrequency() const
void setAlpha(int which, int alpha)
double getStopFrequency() const
void updatedUpperIntensityLevel(const double)
void setIntensityColorMapType(const int, const int, const QColor, const QColor)
void setFrequencyRange(const double, const double, const double units=1000.0, const std::string &strunits="kHz")
int intensity_color_map_type1
Definition: WaterfallDisplayPlot.h:48
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:49
double getMinIntensity(int which) const
int getIntensityColorMapType1() const
void setPlotPosHalf(bool half)
void updatedLowerIntensityLevel(const double)
void setUserDefinedHighIntensityColor(QColor)
QColor high_intensity_color
Definition: WaterfallDisplayPlot.h:50
void setNumRows(int nrows)
const QColor getUserDefinedHighIntensityColor() const
int getIntensityColorMapType(int) const