SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <scopevisxy.h>
Public Member Functions | |
ScopeVisXY (TVScreen *tvScreen) | |
virtual | ~ScopeVisXY () |
virtual void | feed (const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, bool positiveOnly) |
virtual void | start () |
virtual void | stop () |
virtual bool | handleMessage (const Message &message) |
Processing of a message. Returns true if message has actually been processed. More... | |
void | setScale (float scale) |
void | setStroke (int stroke) |
void | setDecay (int decay) |
void | setPixelsPerFrame (int pixelsPerFrame) |
void | setPlotRGB (const QRgb &plotRGB) |
void | setGridRGB (const QRgb &gridRGB) |
void | addGraticulePoint (const std::complex< float > &z) |
void | calculateGraticule (int rows, int cols) |
void | clearGraticule () |
Public Member Functions inherited from BasebandSampleSink | |
BasebandSampleSink () | |
virtual | ~BasebandSampleSink () |
MessageQueue * | getInputMessageQueue () |
Get the queue for asynchronous inbound communication. More... | |
virtual void | setMessageQueueToGUI (MessageQueue *queue) |
MessageQueue * | getMessageQueueToGUI () |
Private Member Functions | |
void | drawGraticule () |
Private Attributes | |
TVScreen * | m_tvScreen |
float | m_scale |
int | m_cols |
int | m_rows |
int | m_pixelsPerFrame |
int | m_pixelCount |
int | m_alphaTrace |
this is the stroke value [0:255] More... | |
int | m_alphaReset |
alpha channel of screen blanking (blackening) is 255 minus decay value [0:255] More... | |
QRgb | m_plotRGB |
QRgb | m_gridRGB |
std::vector< std::complex< float > > | m_graticule |
std::vector< int > | m_graticuleRows |
std::vector< int > | m_graticuleCols |
Additional Inherited Members | |
Protected Slots inherited from BasebandSampleSink | |
void | handleInputMessages () |
Protected Attributes inherited from BasebandSampleSink | |
MessageQueue | m_inputMessageQueue |
Queue for asynchronous inbound communication. More... | |
MessageQueue * | m_guiMessageQueue |
Input message queue to the GUI. More... | |
Definition at line 32 of file scopevisxy.h.
ScopeVisXY::ScopeVisXY | ( | TVScreen * | tvScreen | ) |
Definition at line 25 of file scopevisxy.cpp.
References m_pixelsPerFrame, m_tvScreen, TVScreen::setAlphaBlend(), and setPixelsPerFrame().
|
virtual |
Definition at line 42 of file scopevisxy.cpp.
void ScopeVisXY::addGraticulePoint | ( | const std::complex< float > & | z | ) |
Definition at line 111 of file scopevisxy.cpp.
References m_graticule.
Referenced by DSDDemodGUI::DSDDemodGUI().
void ScopeVisXY::calculateGraticule | ( | int | rows, |
int | cols | ||
) |
Definition at line 119 of file scopevisxy.cpp.
References m_graticule, m_graticuleCols, and m_graticuleRows.
Referenced by DSDDemodGUI::DSDDemodGUI(), and feed().
void ScopeVisXY::clearGraticule | ( | ) |
|
private |
Definition at line 141 of file scopevisxy.cpp.
References m_graticuleCols, m_graticuleRows, m_gridRGB, m_tvScreen, TVScreen::selectRow(), and TVScreen::setDataColor().
Referenced by feed().
|
virtual |
Implements BasebandSampleSink.
Definition at line 53 of file scopevisxy.cpp.
References calculateGraticule(), drawGraticule(), TVScreen::getSize(), m_alphaReset, m_alphaTrace, m_cols, m_pixelCount, m_pixelsPerFrame, m_plotRGB, m_rows, m_scale, m_tvScreen, TVScreen::renderImage(), TVScreen::resetImage(), SDR_RX_SCALEF, TVScreen::selectRow(), and TVScreen::setDataColor().
|
virtual |
Processing of a message. Returns true if message has actually been processed.
Implements BasebandSampleSink.
Definition at line 105 of file scopevisxy.cpp.
|
inline |
Definition at line 44 of file scopevisxy.h.
Referenced by DSDDemodGUI::displaySettings(), and DSDDemodGUI::on_traceDecay_valueChanged().
|
inline |
Definition at line 48 of file scopevisxy.h.
Referenced by DSDDemodGUI::DSDDemodGUI().
void ScopeVisXY::setPixelsPerFrame | ( | int | pixelsPerFrame | ) |
Definition at line 46 of file scopevisxy.cpp.
References m_pixelCount, m_pixelsPerFrame, m_tvScreen, and TVScreen::setAlphaReset().
Referenced by DSDDemodGUI::displaySettings(), DSDDemodGUI::DSDDemodGUI(), DSDDemodGUI::on_traceLength_valueChanged(), and ScopeVisXY().
|
inline |
Definition at line 47 of file scopevisxy.h.
Referenced by DSDDemodGUI::DSDDemodGUI().
|
inline |
Definition at line 42 of file scopevisxy.h.
Referenced by DSDDemodGUI::DSDDemodGUI().
|
inline |
Definition at line 43 of file scopevisxy.h.
Referenced by DSDDemodGUI::displaySettings(), and DSDDemodGUI::on_traceStroke_valueChanged().
|
virtual |
|
virtual |
|
private |
alpha channel of screen blanking (blackening) is 255 minus decay value [0:255]
Definition at line 64 of file scopevisxy.h.
Referenced by feed().
|
private |
|
private |
Definition at line 59 of file scopevisxy.h.
Referenced by feed().
|
private |
Definition at line 67 of file scopevisxy.h.
Referenced by addGraticulePoint(), calculateGraticule(), and clearGraticule().
|
private |
Definition at line 69 of file scopevisxy.h.
Referenced by calculateGraticule(), and drawGraticule().
|
private |
Definition at line 68 of file scopevisxy.h.
Referenced by calculateGraticule(), and drawGraticule().
|
private |
Definition at line 66 of file scopevisxy.h.
Referenced by drawGraticule().
|
private |
Definition at line 62 of file scopevisxy.h.
Referenced by feed(), and setPixelsPerFrame().
|
private |
Definition at line 61 of file scopevisxy.h.
Referenced by feed(), ScopeVisXY(), and setPixelsPerFrame().
|
private |
Definition at line 65 of file scopevisxy.h.
Referenced by feed().
|
private |
Definition at line 60 of file scopevisxy.h.
Referenced by feed().
|
private |
Definition at line 58 of file scopevisxy.h.
Referenced by feed().
|
private |
Definition at line 57 of file scopevisxy.h.
Referenced by drawGraticule(), feed(), ScopeVisXY(), and setPixelsPerFrame().