19 #ifndef SDRGUI_DSP_SCOPEVISXY_H_ 20 #define SDRGUI_DSP_SCOPEVISXY_H_ 37 virtual void feed(
const SampleVector::const_iterator& begin,
const SampleVector::const_iterator& end,
bool positiveOnly);
42 void setScale(
float scale) { m_scale = scale; }
43 void setStroke(
int stroke) { m_alphaTrace = stroke; }
44 void setDecay(
int decay) { m_alphaReset = 255 - decay; }
46 void setPixelsPerFrame(
int pixelsPerFrame);
47 void setPlotRGB(
const QRgb& plotRGB) { m_plotRGB = plotRGB; }
48 void setGridRGB(
const QRgb& gridRGB) { m_gridRGB = gridRGB; }
50 void addGraticulePoint(
const std::complex<float>& z);
51 void calculateGraticule(
int rows,
int cols);
52 void clearGraticule();
std::vector< int > m_graticuleCols
std::vector< std::complex< float > > m_graticule
virtual void feed(const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, bool positiveOnly)=0
void setStroke(int stroke)
virtual bool handleMessage(const Message &cmd)=0
Processing of a message. Returns true if message has actually been processed.
int m_alphaReset
alpha channel of screen blanking (blackening) is 255 minus decay value [0:255]
std::vector< int > m_graticuleRows
int m_alphaTrace
this is the stroke value [0:255]
void setScale(float scale)
void setGridRGB(const QRgb &gridRGB)
void setPlotRGB(const QRgb &plotRGB)