11#ifndef WATERFALL_GLOBAL_DATA_HPP
12#define WATERFALL_GLOBAL_DATA_HPP
14#include <qwt_raster_data.h>
17#include <qwt_interval.h>
22 WaterfallData(
const double,
const double,
const uint64_t,
const unsigned int);
29 resizeData(
const double,
const double,
const uint64_t,
const int history = 0);
31 virtual QwtRasterData*
copy()
const;
33#if QWT_VERSION >= 0x060200
34 virtual QwtInterval interval(Qt::Axis)
const override;
35 void setInterval(Qt::Axis,
const QwtInterval&);
38 double value(
double x,
double y)
const override;
41 virtual void addFFTData(
const double*,
const uint64_t,
const int);
58#if QWT_VERSION >= 0x060200
59 QwtInterval d_intervals[3];
Definition: waterfallGlobalData.h:20
WaterfallData(const double, const double, const uint64_t, const unsigned int)
int _numLinesToUpdate
Definition: waterfallGlobalData.h:54
virtual int getNumLinesToUpdate() const
virtual const double * getSpectrumDataBuffer() const
~WaterfallData() override
virtual void copy(const WaterfallData *)
uint64_t _historyLength
Definition: waterfallGlobalData.h:53
virtual void resizeData(const double, const double, const uint64_t, const int history=0)
uint64_t _fftPoints
Definition: waterfallGlobalData.h:52
double value(double x, double y) const override
QwtInterval _intensityRange
Definition: waterfallGlobalData.h:56
virtual void incrementNumLinesToUpdate()
virtual void addFFTData(const double *, const uint64_t, const int)
virtual QwtRasterData * copy() const
virtual void setNumLinesToUpdate(const int)
virtual uint64_t getNumFFTPoints() const
virtual void setSpectrumDataBuffer(const double *)
std::vector< double > _spectrumData
Definition: waterfallGlobalData.h:51