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_interval.h> 27 typedef QwtInterval QwtDoubleInterval;
56 const double units = 1000.0,
57 const std::string& strunits =
"kHz");
61 void plotNewData(
const std::vector<double*> dataPoints,
62 const int64_t numDataPoints,
63 const double timePerFFT,
65 const int droppedFrames);
69 const int64_t numDataPoints,
70 const double timePerFFT,
72 const int droppedFrames);
78 void replot(
void)
override;
88 void setAlpha(
unsigned int which,
int alpha);
110 void _updateIntensityRangeDisplay();
112 double d_start_frequency;
113 double d_stop_frequency;
114 double d_center_frequency;
115 int d_xaxis_multiplier;
117 bool d_legend_enabled;
120 std::vector<WaterfallData*> d_data;
122 #if QWT_VERSION < 0x060000 123 std::vector<PlotWaterfall*> d_spectrogram;
125 std::vector<QwtPlotSpectrogram*> d_spectrogram;
128 std::vector<int> d_intensity_color_map_type;
129 QColor d_user_defined_low_intensity_color;
130 QColor d_user_defined_high_intensity_color;
131 int d_color_bar_title_font_size;
QWidget for displaying waterfall (spectrogram) plots.
Definition: WaterfallDisplayPlot.h:34
void setIntensityColorMapType1(int)
QColor low_intensity_color
Definition: WaterfallDisplayPlot.h:41
void setUserDefinedLowIntensityColor(QColor)
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:52
double getStopFrequency() const
void setIntensityRange(const double minIntensity, const double maxIntensity)
int getColorMapTitleFontSize() const
const QColor getUserDefinedLowIntensityColor() const
int getIntensityColorMapType1() 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)
double getStartFrequency() const
void setColorMapTitleFontSize(int tfs)
void updatedUpperIntensityLevel(const double)
double getMinIntensity(unsigned int which) const
double getMaxIntensity(unsigned int which) const
void disableLegend() override
void setFrequencyRange(const double, const double, const double units=1000.0, const std::string &strunits="kHz")
int intensity_color_map_type1
Definition: WaterfallDisplayPlot.h:39
WaterfallDisplayPlot(int nplots, QWidget *)
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:40
void setAlpha(unsigned int which, int alpha)
void replot(void) override
~WaterfallDisplayPlot() override
void setIntensityColorMapType(const unsigned int, const int, const QColor, const QColor)
void setPlotPosHalf(bool half)
void updatedLowerIntensityLevel(const double)
int getIntensityColorMapType(unsigned int) const
void setUserDefinedHighIntensityColor(QColor)
int getAlpha(unsigned int which)
QColor high_intensity_color
Definition: WaterfallDisplayPlot.h:43
void setNumRows(int nrows)
int color_map_title_font_size
Definition: WaterfallDisplayPlot.h:45
const QColor getUserDefinedHighIntensityColor() const