11 #ifndef WATERFALL_DISPLAY_PLOT_H
12 #define WATERFALL_DISPLAY_PLOT_H
17 #include <qwt_plot_spectrogram.h>
22 #include <qwt_interval.h>
50 const double units = 1000.0,
51 const std::string& strunits =
"kHz");
56 const int64_t numDataPoints,
57 const double timePerFFT,
59 const int droppedFrames);
63 const int64_t numDataPoints,
64 const double timePerFFT,
66 const int droppedFrames);
104 void _updateIntensityRangeDisplay();
106 double d_start_frequency;
107 double d_stop_frequency;
108 double d_center_frequency;
109 int d_xaxis_multiplier;
111 bool d_legend_enabled;
114 std::vector<WaterfallData*> d_data;
116 std::vector<QwtPlotSpectrogram*> d_spectrogram;
118 std::vector<int> d_intensity_color_map_type;
119 QColor d_user_defined_low_intensity_color;
120 QColor d_user_defined_high_intensity_color;
121 int d_color_bar_title_font_size;
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:42
QWidget for displaying waterfall (spectrogram) plots.
Definition: WaterfallDisplayPlot.h:29
void setAlpha(unsigned int which, int alpha)
int getColorMapTitleFontSize() const
void setNumRows(int nrows)
void setIntensityRange(const double minIntensity, const double maxIntensity)
double getStopFrequency() const
void setPlotPosHalf(bool half)
void setIntensityColorMapType(const unsigned int, const int, const QColor, const QColor)
const QColor getUserDefinedLowIntensityColor() const
int getIntensityColorMapType1() const
int color_map_title_font_size
Definition: WaterfallDisplayPlot.h:39
void setIntensityColorMapType1(int)
void updatedLowerIntensityLevel(const double)
void disableLegend() override
void setUserDefinedHighIntensityColor(QColor)
~WaterfallDisplayPlot() override
double getMaxIntensity(unsigned int which) const
const QColor getUserDefinedHighIntensityColor() const
QColor high_intensity_color
Definition: WaterfallDisplayPlot.h:37
void setColorMapTitleFontSize(int tfs)
int intensity_color_map_type1
Definition: WaterfallDisplayPlot.h:33
void setUserDefinedLowIntensityColor(QColor)
int getIntensityColorMapType(unsigned int) const
void plotNewData(const std::vector< double * > dataPoints, const int64_t numDataPoints, const double timePerFFT, const gr::high_res_timer_type timestamp, const int droppedFrames)
void setFrequencyRange(const double, const double, const double units=1000.0, const std::string &strunits="kHz")
QColor low_intensity_color
Definition: WaterfallDisplayPlot.h:35
void enableLegend(bool en)
int getAlpha(unsigned int which)
WaterfallDisplayPlot(int nplots, QWidget *)
void replot(void) override
double getMinIntensity(unsigned int which) const
void plotNewData(const double *dataPoints, const int64_t numDataPoints, const double timePerFFT, const gr::high_res_timer_type timestamp, const int droppedFrames)
double getStartFrequency() const
void updatedUpperIntensityLevel(const double)
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:40