GNU Radio Manual and C++ API Reference  3.7.4
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PlotWaterfall Class Reference

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::null)
 
virtual ~PlotWaterfall ()
 
const WaterfallDatadata () const
 
void setColorMap (const QwtColorMap &)
 
const QwtColorMap & colorMap () const
 
virtual QwtDoubleRect boundingRect () const
 
virtual QSize rasterHint (const QwtDoubleRect &) const
 
virtual int rtti () const
 
virtual void draw (QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &rect) const
 

Protected Member Functions

QImage renderImage (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QwtDoubleRect &rect) const
 

Detailed Description

A plot item, which displays a waterfall spectrogram.

A waterfall displays threedimenional 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 ( WaterfallData data,
const QString &  title = QString::null 
)
explicit
virtual PlotWaterfall::~PlotWaterfall ( )
virtual

Member Function Documentation

virtual QwtDoubleRect PlotWaterfall::boundingRect ( ) const
virtual
const QwtColorMap& PlotWaterfall::colorMap ( ) const
const WaterfallData* PlotWaterfall::data ( ) const
virtual void PlotWaterfall::draw ( QPainter *  p,
const QwtScaleMap &  xMap,
const QwtScaleMap &  yMap,
const QRect &  rect 
) const
virtual
virtual QSize PlotWaterfall::rasterHint ( const QwtDoubleRect &  ) const
virtual
QImage PlotWaterfall::renderImage ( const QwtScaleMap &  xMap,
const QwtScaleMap &  yMap,
const QwtDoubleRect &  rect 
) const
protected
virtual int PlotWaterfall::rtti ( ) const
virtual
void PlotWaterfall::setColorMap ( const QwtColorMap &  )

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