19 #ifndef SDRBASE_GUI_GLSCOPENG_H_ 20 #define SDRBASE_GUI_GLSCOPENG_H_ 56 void connectTimer(
const QTimer& timer);
58 void setTraces(std::vector<ScopeVis::TraceData>* tracesData, std::vector<float *>* traces);
59 void newTraces(std::vector<float *>* traces);
60 void newTraces(std::vector<float *>* traces,
int traceIndex);
65 void setTriggerPre(
uint32_t triggerPre,
bool emitSignal =
false);
66 void setTimeOfsProMill(
int timeOfsProMill);
67 void setSampleRate(
int sampleRate);
68 void setTimeBase(
int timeBase);
69 void setFocusedTraceIndex(
uint32_t traceIndex);
71 void setTraceSize(
int trceSize,
bool emitSignal =
false);
73 void setDisplayGridIntensity(
int intensity);
74 void setDisplayTraceIntensity(
int intensity);
85 void sampleRateChanged(
int);
151 static const int m_topMargin = 5;
152 static const int m_botMargin = 20;
153 static const int m_leftMargin = 35;
154 static const int m_rightMargin = 5;
157 void resizeGL(
int width,
int height);
162 void setUniqueDisplays();
163 void setVerticalDisplays();
164 void setHorizontalDisplays();
165 void setPolarDisplays();
167 void drawChannelOverlay(
170 QPixmap& channelOverlayPixmap,
171 const QRectF& glScopeRect);
bool getDataChanged() const
QPixmap m_left1ScalePixmap
QPixmap m_bot2ScalePixmap
QMatrix4x4 m_glBot2ScaleMatrix
ScaleEngine m_x2Scale
Display #2 X scale. Time scale.
uint32_t m_focusedTraceIndex
QPixmap m_channelOverlayPixmap1
ScaleEngine m_y1Scale
Display #1 Y scale. Always connected to trace #0 (X trace)
GLShaderSimple m_glShaderSimple
std::vector< float * > * m_traces
IncrementalArray< GLfloat > m_q3TickY1
GLShaderTextured m_glShaderBottom1Scale
int m_displayGridIntensity
DisplayMode m_displayMode
QMatrix4x4 m_glScopeMatrix1
void setDisplayXYPoints(bool value)
void setFocusedTriggerData(ScopeVis::TriggerData &triggerData)
IncrementalArray< GLfloat > m_q3TickY2
DisplayMode getDisplayMode() const
QPixmap m_left2ScalePixmap
ScopeVis::TriggerData m_focusedTriggerData
GLShaderTextured m_glShaderLeft1Scale
int m_displayTraceIntensity
QFont m_channelOverlayFont
QMatrix4x4 m_glBot1ScaleMatrix
GLShaderTextured m_glShaderLeft2Scale
IncrementalArray< GLfloat > m_q3TickX2
IncrementalArray< GLfloat > m_q3TickX1
GLShaderTextured m_glShaderPowerOverlay
QMatrix4x4 m_glRight1ScaleMatrix
QAtomicInt m_processingTraceIndex
QPixmap m_channelOverlayPixmap2
int getSampleRate() const
GLShaderTextured m_glShaderBottom2Scale
const QAtomicInt & getProcessingTraceIndex() const
QPixmap m_bot1ScalePixmap
std::vector< ScopeVis::TraceData > * m_tracesData
ScaleEngine m_y2Scale
Display #2 Y scale. Connected to highlighted Y trace (#1..n)
QMatrix4x4 m_glScopeMatrix2
ScaleEngine m_x1Scale
Display #1 X scale. Time scale.
QMatrix4x4 m_glLeft2ScaleMatrix
QMatrix4x4 m_glLeft1ScaleMatrix
IncrementalArray< GLfloat > m_q3Polar