 |
GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef WATERFALL_DISPLAY_PLOT_H
12 #define WATERFALL_DISPLAY_PLOT_H
17 #include <qwt_plot_spectrogram.h>
22 #if QWT_VERSION < 0x060000
25 #include <qwt_compat.h>
54 const double units = 1000.0,
55 const std::string& strunits =
"kHz");
59 void plotNewData(
const std::vector<double*> dataPoints,
60 const int64_t numDataPoints,
61 const double timePerFFT,
63 const int droppedFrames);
67 const int64_t numDataPoints,
68 const double timePerFFT,
70 const int droppedFrames);
76 void replot(
void)
override;
86 void setAlpha(
unsigned int which,
int alpha);
108 void _updateIntensityRangeDisplay();
110 double d_start_frequency;
111 double d_stop_frequency;
112 double d_center_frequency;
113 int d_xaxis_multiplier;
115 bool d_legend_enabled;
118 std::vector<WaterfallData*> d_data;
120 #if QWT_VERSION < 0x060000
121 std::vector<PlotWaterfall*> d_spectrogram;
123 std::vector<QwtPlotSpectrogram*> d_spectrogram;
126 std::vector<int> d_intensity_color_map_type;
127 QColor d_user_defined_low_intensity_color;
128 QColor d_user_defined_high_intensity_color;
129 int d_color_bar_title_font_size;
void setUserDefinedLowIntensityColor(QColor)
QColor low_intensity_color
Definition: WaterfallDisplayPlot.h:39
double getStopFrequency() const
void setColorMapTitleFontSize(int tfs)
const QColor getUserDefinedLowIntensityColor() const
QColor high_intensity_color
Definition: WaterfallDisplayPlot.h:41
WaterfallDisplayPlot(int nplots, QWidget *)
void setIntensityColorMapType1(int)
void plotNewData(const std::vector< double * > dataPoints, const int64_t numDataPoints, const double timePerFFT, const gr::high_res_timer_type timestamp, const int droppedFrames)
int getIntensityColorMapType1() const
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:49
void setIntensityColorMapType(const unsigned int, const int, const QColor, const QColor)
double getMinIntensity(unsigned int which) const
int color_map_title_font_size
Definition: WaterfallDisplayPlot.h:43
double getMaxIntensity(unsigned int which) const
~WaterfallDisplayPlot() override
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:38
void setAlpha(unsigned int which, int alpha)
void updatedLowerIntensityLevel(const double)
QWidget for displaying waterfall (spectrogram) plots.
Definition: WaterfallDisplayPlot.h:32
void setFrequencyRange(const double, const double, const double units=1000.0, const std::string &strunits="kHz")
int getIntensityColorMapType(unsigned int) const
void setUserDefinedHighIntensityColor(QColor)
int intensity_color_map_type1
Definition: WaterfallDisplayPlot.h:37
void updatedUpperIntensityLevel(const double)
void replot(void) override
int getColorMapTitleFontSize() const
void setPlotPosHalf(bool half)
void disableLegend() override
int getAlpha(unsigned int which)
const QColor getUserDefinedHighIntensityColor() const
void setNumRows(int nrows)
double getStartFrequency() const
void setIntensityRange(const double minIntensity, const double maxIntensity)