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> 61 const
double units=1000.0,
62 const
std::
string &strunits = "kHz");
67 const int64_t numDataPoints,
68 const
double timePerFFT,
70 const
int droppedFrames);
74 const int64_t numDataPoints,
75 const
double timePerFFT,
77 const
int droppedFrames);
99 void setIntensityColorMapType1(
int);
106 void enableLegend(
bool en);
114 void _updateIntensityRangeDisplay();
116 double d_start_frequency;
117 double d_stop_frequency;
118 double d_center_frequency;
119 int d_xaxis_multiplier;
121 bool d_legend_enabled;
126 #if QWT_VERSION < 0x060000 127 std::vector<PlotWaterfall*> d_spectrogram;
129 std::vector<QwtPlotSpectrogram*> d_spectrogram;
132 std::vector<int> d_intensity_color_map_type;
133 QColor d_user_defined_low_intensity_color;
134 QColor d_user_defined_high_intensity_color;
135 int d_color_bar_title_font_size;
QWidget for displaying waterfall (spectrogram) plots.
Definition: WaterfallDisplayPlot.h:44
void setIntensityColorMapType1(int)
QColor low_intensity_color
Definition: WaterfallDisplayPlot.h:49
int getIntensityColorMapType(int) const
void setUserDefinedLowIntensityColor(QColor)
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:61
double getStopFrequency() const
void setIntensityRange(const double minIntensity, const double maxIntensity)
int getColorMapTitleFontSize() const
const QColor getUserDefinedLowIntensityColor() const
int getIntensityColorMapType1() const
Definition: waterfallGlobalData.h:34
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 setAlpha(int which, int alpha)
void updatedUpperIntensityLevel(const double)
double getMinIntensity(int which) const
Include this header to use the message passing features.
Definition: logger.h:65
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
double getMaxIntensity(int which) const
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:49
void setPlotPosHalf(bool half)
void updatedLowerIntensityLevel(const double)
void setUserDefinedHighIntensityColor(QColor)
QColor high_intensity_color
Definition: WaterfallDisplayPlot.h:50
void setNumRows(int nrows)
int color_map_title_font_size
Definition: WaterfallDisplayPlot.h:51
const QColor getUserDefinedHighIntensityColor() const