102 virtual cScope*
copy(
const bool a_duplicateMaterialData =
false,
103 const bool a_duplicateTextureData =
false,
104 const bool a_duplicateMeshData =
false,
105 const bool a_buildCollisionDetector =
false);
108 virtual void setSize(
const double& a_width,
const double& a_height);
118 const double a_signalValue1 = 0,
119 const double a_signalValue2 = 0,
120 const double a_signalValue3 = 0);
124 const bool a_signalEnabled1 =
true,
125 const bool a_signalEnabled2 =
true,
126 const bool a_signalEnabled3 =
true);
132 virtual void setRange(
const double a_minValue,
133 const double a_maxValue);
209 const bool a_duplicateMaterialData,
210 const bool a_duplicateTextureData,
211 const bool a_duplicateMeshData,
212 const bool a_buildCollisionDetector);
This class implements a 3D vector.
Definition: CVector3d.h:88
virtual void setRange(const double a_minValue, const double a_maxValue)
This method sets the range of input values which can be displayed on the scope.
Definition: CScope.cpp:213
This structures provide a containers for storing rendering options that are passed through the sceneg...
Definition: CRenderOptions.h:82
unsigned int m_index1
Index of last sample.
Definition: CScope.h:183
Implements a panel widget.
This class implements a 2D panel widget.
Definition: CPanel.h:80
virtual void setSize(const double &a_width, const double &a_height)
This method sets the size of this scope.
Definition: CScope.cpp:236
virtual void render(cRenderOptions &a_options)
This method renders the object graphically using OpenGL.
Definition: CScope.cpp:271
void setSignalEnabled(const bool a_signalEnabled0=true, const bool a_signalEnabled1=true, const bool a_signalEnabled2=true, const bool a_signalEnabled3=true)
This method enables or disables selected signals.
Definition: CScope.cpp:181
void setSignalValues(const double a_signalValue0=0, const double a_signalValue1=0, const double a_signalValue2=0, const double a_signalValue3=0)
This method sets values for signals 0, 1, 2, and 3.
Definition: CScope.cpp:105
void setLineWidth(const double a_lineWidth)
This method sets the line width of the signal.
Definition: CScope.h:111
double m_minValue
Range - minimum value.
Definition: CScope.h:168
unsigned int m_index0
Index of first sample.
Definition: CScope.h:180
const int C_SCOPE_MAX_SAMPLES
Definition: CScope.h:56
double getRangeMin() const
This method returns the minimum value from the range.
Definition: CScope.h:136
double m_scopeWidth
Internal width of scope data display.
Definition: CScope.h:189
double m_maxValue
Range - maximum value.
Definition: CScope.h:171
bool m_signalEnabled[4]
Status about all signals.
Definition: CScope.h:177
cColorf m_colorSignal2
Color settings for signal 2.
Definition: CScope.h:155
void clearSignals()
This method clears all signals.
Definition: CScope.cpp:198
void copyScopeProperties(cScope *a_obj, const bool a_duplicateMaterialData, const bool a_duplicateTextureData, const bool a_duplicateMeshData, const bool a_buildCollisionDetector)
This method copies all properties of this object to another.
Definition: CScope.cpp:388
int m_signals[4][C_SCOPE_MAX_SAMPLES]
Data values for all signals.
Definition: CScope.h:174
cColorf m_colorSignal1
Color settings for signal 1.
Definition: CScope.h:152
double getRangeMax() const
This method returns the maximum value from the range.
Definition: CScope.h:139
This class defines a color using a GLfloat representation for each component.
Definition: CColor.h:138
cVector3d m_scopePosition
Position of scope in reference to Panel.
Definition: CScope.h:195
cColorf m_colorSignal0
Color settings for signal 0.
Definition: CScope.h:149
Definition: CAudioBuffer.cpp:56
virtual ~cScope()
Destructor of cScope.
Definition: CScope.h:92
double getLineWidth() const
This method returns the line width of the signal.
Definition: CScope.h:114
double m_lineWidth
Width used to render lines.
Definition: CScope.h:186
This class implements a 2D scope to display signals.
Definition: CScope.h:80
double m_scopeHeight
Internal height of scope data display.
Definition: CScope.h:192
virtual cScope * copy(const bool a_duplicateMaterialData=false, const bool a_duplicateTextureData=false, const bool a_duplicateMeshData=false, const bool a_buildCollisionDetector=false)
This method creates a copy of itself.
Definition: CScope.cpp:357
cColorf m_colorSignal3
Color settings for signal 3.
Definition: CScope.h:158
cScope()
Constructor of cScope.
Definition: CScope.cpp:59