23#ifndef WATERFALL_DISPLAY_PLOT_H
24#define WATERFALL_DISPLAY_PLOT_H
29#include <qwt_plot_spectrogram.h>
34#if QWT_VERSION < 0x060000
38#include <qwt_point_3d.h>
39#include <qwt_compat.h>
69 const
double units = 1000.0,
70 const
std::
string& strunits = "kHz");
75 const int64_t numDataPoints,
76 const
double timePerFFT,
77 const
gr::high_res_timer_type timestamp,
78 const
int droppedFrames);
82 const int64_t numDataPoints,
83 const
double timePerFFT,
84 const
gr::high_res_timer_type timestamp,
85 const
int droppedFrames);
122 void _updateIntensityRangeDisplay();
124 double d_start_frequency;
125 double d_stop_frequency;
126 double d_center_frequency;
127 int d_xaxis_multiplier;
129 bool d_legend_enabled;
134#if QWT_VERSION < 0x060000
135 std::vector<PlotWaterfall*> d_spectrogram;
137 std::vector<QwtPlotSpectrogram*> d_spectrogram;
140 std::vector<int> d_intensity_color_map_type;
141 QColor d_user_defined_low_intensity_color;
142 QColor d_user_defined_high_intensity_color;
143 int d_color_bar_title_font_size;
QWidget base plot to build QTGUI plotting tools.
Definition DisplayPlot.h:65
Definition waterfallGlobalData.h:37
QWidget for displaying waterfall (spectrogram) plots.
Definition WaterfallDisplayPlot.h:48
int getColorMapTitleFontSize() const
void setNumRows(int nrows)
void setIntensityRange(const double minIntensity, const double maxIntensity)
double getStopFrequency() const
void setPlotPosHalf(bool half)
const QColor getUserDefinedLowIntensityColor() const
int getIntensityColorMapType1() const
int color_map_title_font_size
Definition WaterfallDisplayPlot.h:58
double getMaxIntensity(int which) const
void setIntensityColorMapType1(int)
void updatedLowerIntensityLevel(const double)
void setUserDefinedHighIntensityColor(QColor)
const QColor getUserDefinedHighIntensityColor() const
int getIntensityColorMapType(int) const
void setAlpha(int which, int alpha)
QColor high_intensity_color
Definition WaterfallDisplayPlot.h:56
void setColorMapTitleFontSize(int tfs)
int intensity_color_map_type1
Definition WaterfallDisplayPlot.h:52
void setUserDefinedLowIntensityColor(QColor)
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:54
double getMinIntensity(int which) const
double getStartFrequency() const
void setIntensityColorMapType(const int, const int, const QColor, const QColor)
void updatedUpperIntensityLevel(const double)
Include this header to use the message passing features.
Definition basic_block.h:45