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>
66 const
double units = 1000.0,
67 const
std::
string& strunits = "kHz");
72 const int64_t numDataPoints,
73 const
double timePerFFT,
75 const
int droppedFrames);
79 const int64_t numDataPoints,
80 const
double timePerFFT,
82 const
int droppedFrames);
98 void setAlpha(
unsigned int which,
int alpha);
112 void enableLegend(
bool en);
120 void _updateIntensityRangeDisplay();
122 double d_start_frequency;
123 double d_stop_frequency;
124 double d_center_frequency;
125 int d_xaxis_multiplier;
127 bool d_legend_enabled;
132 #if QWT_VERSION < 0x060000
133 std::vector<PlotWaterfall*> d_spectrogram;
135 std::vector<QwtPlotSpectrogram*> d_spectrogram;
138 std::vector<int> d_intensity_color_map_type;
139 QColor d_user_defined_low_intensity_color;
140 QColor d_user_defined_high_intensity_color;
141 int d_color_bar_title_font_size;
QWidget for displaying waterfall (spectrogram) plots.
Definition: WaterfallDisplayPlot.h:44
void setIntensityColorMapType1(int)
double getMinIntensity(unsigned int which) const
QColor low_intensity_color
Definition: WaterfallDisplayPlot.h:51
void setUserDefinedLowIntensityColor(QColor)
QWidget base plot to build QTGUI plotting tools.
Definition: DisplayPlot.h:61
const QColor getUserDefinedLowIntensityColor() const
void setIntensityRange(const double minIntensity, const double maxIntensity)
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)
int getColorMapTitleFontSize() const
Definition: waterfallGlobalData.h:34
double getStartFrequency() const
void setColorMapTitleFontSize(int tfs)
double getStopFrequency() const
double getMaxIntensity(unsigned int which) const
void updatedUpperIntensityLevel(const double)
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:45
void setFrequencyRange(const double, const double, const double units=1000.0, const std::string &strunits="kHz")
int intensity_color_map_type1
Definition: WaterfallDisplayPlot.h:49
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:49
void setAlpha(unsigned int which, int alpha)
int getIntensityColorMapType1() const
void setIntensityColorMapType(const unsigned int, const int, const QColor, const QColor)
void setPlotPosHalf(bool half)
void updatedLowerIntensityLevel(const double)
void setUserDefinedHighIntensityColor(QColor)
int getAlpha(unsigned int which)
QColor high_intensity_color
Definition: WaterfallDisplayPlot.h:53
void setNumRows(int nrows)
const QColor getUserDefinedHighIntensityColor() const
int color_map_title_font_size
Definition: WaterfallDisplayPlot.h:55