GNU Radio Manual and C++ API Reference
The Free & Open Software Radio Ecosystem

A plot item, which displays a waterfall spectrogram. More...

#include <gnuradio/qtgui/plot_waterfall.h>

Public Member Functions

 PlotWaterfall (WaterfallData *data, const QString &title=QString())
 ~PlotWaterfall () override
const WaterfallDatadata () const
void setColorMap (const QwtColorMap &)
const QwtColorMap & colorMap () const
int rtti () const override

Protected Member Functions

QImage renderImage (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &rect, const QSize &size=QSize(0, 0)) const override

Detailed Description

A plot item, which displays a waterfall spectrogram.

A waterfall displays three-dimensional data, where the 3rd dimension (the intensity) is displayed using colors. The colors are calculated from the values using a color map.

See also
QwtRasterData, QwtColorMap

Constructor & Destructor Documentation

◆ PlotWaterfall()

PlotWaterfall::PlotWaterfall ( WaterfallData data,
const QString &  title = QString() 

◆ ~PlotWaterfall()

PlotWaterfall::~PlotWaterfall ( )

Member Function Documentation

◆ colorMap()

const QwtColorMap& PlotWaterfall::colorMap ( ) const

◆ data()

const WaterfallData* PlotWaterfall::data ( ) const

◆ renderImage()

QImage PlotWaterfall::renderImage ( const QwtScaleMap &  xMap,
const QwtScaleMap &  yMap,
const QRectF &  rect,
const QSize &  size = QSize(0, 0) 
) const

◆ rtti()

int PlotWaterfall::rtti ( ) const

◆ setColorMap()

void PlotWaterfall::setColorMap ( const QwtColorMap &  )

The documentation for this class was generated from the following file: