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.
Public Member Functions | Public Attributes | List of all members
ScopeVis::TraceData Struct Reference

#include <scopevis.h>

Public Member Functions

 TraceData ()
 
void setColor (QColor color)
 

Public Attributes

Projector::ProjectionType m_projectionType
 Complex to real projection type. More...
 
uint32_t m_inputIndex
 Input or feed index this trace is associated with. More...
 
float m_amp
 Amplification factor. More...
 
uint32_t m_ampIndex
 Index in list of amplification factors. More...
 
float m_ofs
 Offset factor. More...
 
int m_ofsCoarse
 Coarse offset slider value. More...
 
int m_ofsFine
 Fine offset slider value. More...
 
int m_traceDelay
 Trace delay in number of samples. More...
 
int m_traceDelayCoarse
 Coarse delay slider value. More...
 
int m_traceDelayFine
 Fine delay slider value. More...
 
float m_triggerDisplayLevel
 Displayable trigger display level in -1:+1 scale. Off scale if not displayable. More...
 
QColor m_traceColor
 Trace display color. More...
 
float m_traceColorR
 Trace display color - red shortcut. More...
 
float m_traceColorG
 Trace display color - green shortcut. More...
 
float m_traceColorB
 Trace display color - blue shortcut. More...
 
bool m_hasTextOverlay
 True if a text overlay has to be displayed. More...
 
QString m_textOverlay
 Text overlay to display. More...
 
bool m_viewTrace
 Trace visibility. More...
 

Detailed Description

Definition at line 48 of file scopevis.h.

Constructor & Destructor Documentation

◆ TraceData()

ScopeVis::TraceData::TraceData ( )
inline

Definition at line 69 of file scopevis.h.

69  :
71  m_inputIndex(0),
72  m_amp(1.0f),
73  m_ampIndex(0),
74  m_ofs(0.0f),
75  m_ofsCoarse(0),
76  m_ofsFine(0),
77  m_traceDelay(0),
80  m_triggerDisplayLevel(2.0), // OVer scale by default (2.0)
81  m_traceColor(255,255,64),
82  m_hasTextOverlay(false),
83  m_viewTrace(true)
84  {
86  }
bool m_viewTrace
Trace visibility.
Definition: scopevis.h:67
QColor m_traceColor
Trace display color.
Definition: scopevis.h:61
void setColor(QColor color)
Definition: scopevis.h:88
float m_triggerDisplayLevel
Displayable trigger display level in -1:+1 scale. Off scale if not displayable.
Definition: scopevis.h:60
int m_traceDelay
Trace delay in number of samples.
Definition: scopevis.h:57
int m_traceDelayCoarse
Coarse delay slider value.
Definition: scopevis.h:58
int m_traceDelayFine
Fine delay slider value.
Definition: scopevis.h:59
int m_ofsFine
Fine offset slider value.
Definition: scopevis.h:56
bool m_hasTextOverlay
True if a text overlay has to be displayed.
Definition: scopevis.h:65
float m_amp
Amplification factor.
Definition: scopevis.h:52
uint32_t m_inputIndex
Input or feed index this trace is associated with.
Definition: scopevis.h:51
Projector::ProjectionType m_projectionType
Complex to real projection type.
Definition: scopevis.h:50
uint32_t m_ampIndex
Index in list of amplification factors.
Definition: scopevis.h:53
float m_ofs
Offset factor.
Definition: scopevis.h:54
int m_ofsCoarse
Coarse offset slider value.
Definition: scopevis.h:55
Extract real part.
Definition: projector.h:27

Member Function Documentation

◆ setColor()

void ScopeVis::TraceData::setColor ( QColor  color)
inline

Definition at line 88 of file scopevis.h.

Referenced by GLScopeGUI::fillTraceData().

89  {
90  m_traceColor = color;
91  qreal r,g,b,a;
92  m_traceColor.getRgbF(&r, &g, &b, &a);
93  m_traceColorR = r;
94  m_traceColorG = g;
95  m_traceColorB = b;
96  }
QColor m_traceColor
Trace display color.
Definition: scopevis.h:61
float m_traceColorR
Trace display color - red shortcut.
Definition: scopevis.h:62
float m_traceColorG
Trace display color - green shortcut.
Definition: scopevis.h:63
float m_traceColorB
Trace display color - blue shortcut.
Definition: scopevis.h:64
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_amp

float ScopeVis::TraceData::m_amp

◆ m_ampIndex

uint32_t ScopeVis::TraceData::m_ampIndex

Index in list of amplification factors.

Definition at line 53 of file scopevis.h.

Referenced by ATVDemodGUI::ATVDemodGUI(), GLScopeGUI::fillTraceData(), and GLScopeGUI::setTraceUI().

◆ m_hasTextOverlay

bool ScopeVis::TraceData::m_hasTextOverlay

True if a text overlay has to be displayed.

Definition at line 65 of file scopevis.h.

Referenced by GLScopeGUI::fillTraceData(), and GLScope::paintGL().

◆ m_inputIndex

uint32_t ScopeVis::TraceData::m_inputIndex

Input or feed index this trace is associated with.

Definition at line 51 of file scopevis.h.

Referenced by GLScopeGUI::fillTraceData().

◆ m_ofs

float ScopeVis::TraceData::m_ofs

◆ m_ofsCoarse

int ScopeVis::TraceData::m_ofsCoarse

Coarse offset slider value.

Definition at line 55 of file scopevis.h.

Referenced by ATVDemodGUI::ATVDemodGUI(), GLScopeGUI::fillTraceData(), and GLScopeGUI::setTraceUI().

◆ m_ofsFine

int ScopeVis::TraceData::m_ofsFine

Fine offset slider value.

Definition at line 56 of file scopevis.h.

Referenced by GLScopeGUI::fillTraceData(), and GLScopeGUI::setTraceUI().

◆ m_projectionType

Projector::ProjectionType ScopeVis::TraceData::m_projectionType

◆ m_textOverlay

QString ScopeVis::TraceData::m_textOverlay

Text overlay to display.

Definition at line 66 of file scopevis.h.

Referenced by GLScopeGUI::fillTraceData(), and GLScope::paintGL().

◆ m_traceColor

QColor ScopeVis::TraceData::m_traceColor

Trace display color.

Definition at line 61 of file scopevis.h.

Referenced by ScopeVis::Traces::isVerticalDisplayChange(), GLScope::paintGL(), and GLScopeGUI::setTraceUI().

◆ m_traceColorB

float ScopeVis::TraceData::m_traceColorB

Trace display color - blue shortcut.

Definition at line 64 of file scopevis.h.

Referenced by GLScope::paintGL().

◆ m_traceColorG

float ScopeVis::TraceData::m_traceColorG

Trace display color - green shortcut.

Definition at line 63 of file scopevis.h.

Referenced by GLScope::paintGL().

◆ m_traceColorR

float ScopeVis::TraceData::m_traceColorR

Trace display color - red shortcut.

Definition at line 62 of file scopevis.h.

Referenced by GLScope::paintGL().

◆ m_traceDelay

int ScopeVis::TraceData::m_traceDelay

Trace delay in number of samples.

Definition at line 57 of file scopevis.h.

Referenced by ScopeVis::addTrace(), ScopeVis::changeTrace(), GLScopeGUI::fillTraceData(), and GLScopeGUI::on_trace_valueChanged().

◆ m_traceDelayCoarse

int ScopeVis::TraceData::m_traceDelayCoarse

Coarse delay slider value.

Definition at line 58 of file scopevis.h.

Referenced by GLScopeGUI::fillTraceData(), and GLScopeGUI::setTraceUI().

◆ m_traceDelayFine

int ScopeVis::TraceData::m_traceDelayFine

Fine delay slider value.

Definition at line 59 of file scopevis.h.

Referenced by GLScopeGUI::fillTraceData(), and GLScopeGUI::setTraceUI().

◆ m_triggerDisplayLevel

float ScopeVis::TraceData::m_triggerDisplayLevel

Displayable trigger display level in -1:+1 scale. Off scale if not displayable.

Definition at line 60 of file scopevis.h.

Referenced by GLScope::paintGL().

◆ m_viewTrace

bool ScopeVis::TraceData::m_viewTrace

Trace visibility.

Definition at line 67 of file scopevis.h.

Referenced by GLScopeGUI::fillTraceData(), GLScope::paintGL(), and GLScopeGUI::setTraceUI().


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