The IWaveUniformTimeController interface.
More...
#include "murl_graph_i_wave_uniform_time_controller.h"
The IWaveUniformTimeController interface.
A wave uniform controller can be attached to any node implementing the Graph::IGenericParameter interface. It is used to control the value of that parameter by applying one or more predefined waveform functions such as sine or rectangle wave or noise.
◆ GetControllerInterface() [1/2]
virtual IController* Murl::Graph::IWaveUniformTimeController::GetControllerInterface |
( |
| ) |
|
|
pure virtual |
◆ GetControllerInterface() [2/2]
virtual const IController* Murl::Graph::IWaveUniformTimeController::GetControllerInterface |
( |
| ) |
const |
|
pure virtual |
◆ GetTimeControllerInterface() [1/2]
virtual ITimeController* Murl::Graph::IWaveUniformTimeController::GetTimeControllerInterface |
( |
| ) |
|
|
pure virtual |
◆ GetTimeControllerInterface() [2/2]
virtual const ITimeController* Murl::Graph::IWaveUniformTimeController::GetTimeControllerInterface |
( |
| ) |
const |
|
pure virtual |
◆ GetUniformTimeControllerInterface() [1/2]
virtual IUniformTimeController* Murl::Graph::IWaveUniformTimeController::GetUniformTimeControllerInterface |
( |
| ) |
|
|
pure virtual |
◆ GetUniformTimeControllerInterface() [2/2]
virtual const IUniformTimeController* Murl::Graph::IWaveUniformTimeController::GetUniformTimeControllerInterface |
( |
| ) |
const |
|
pure virtual |
◆ AddGenerator()
Add a waveform generator.
This method adds a waveform item affecting a given set of components of the controlled Graph::IGenericParameter.
- Parameters
-
components | A bit mask of affected components, with bit numbers in the range from 0 to IEnums::GetUniformTypeNumberOfComponents()-1 with the referenced parameter's data type. |
waveform | The waveform to generate. |
offset | The value offset to add to the generated output (bias). |
amplitude | The output amplitude. |
phase | The phase shift in seconds. |
frequency | The waveform frequency in Hertz. |
dutyCycle | The duty cycle, used for rectangle and triangle waves. |
- Returns
- true if successful.
◆ GetNumberOfGenerators()
virtual UInt32 Murl::Graph::IWaveUniformTimeController::GetNumberOfGenerators |
( |
| ) |
const |
|
pure virtual |
Get the total number of waveform generators defined.
- Returns
- The number of generators.
◆ GetAffectedGeneratorComponents()
virtual UInt32 Murl::Graph::IWaveUniformTimeController::GetAffectedGeneratorComponents |
( |
UInt32 |
generatorIndex | ) |
const |
|
pure virtual |
Get the affected variable components of a generator at a given index.
- Parameters
-
- Returns
- A bit mask of affected variable components.
◆ GetGeneratorWaveform()
virtual IEnums::Waveform Murl::Graph::IWaveUniformTimeController::GetGeneratorWaveform |
( |
UInt32 |
generatorIndex | ) |
const |
|
pure virtual |
Get the waveform function of a generator at a given index.
- Parameters
-
- Returns
- The waveform.
◆ GetGeneratorOffset()
virtual Real Murl::Graph::IWaveUniformTimeController::GetGeneratorOffset |
( |
UInt32 |
generatorIndex | ) |
const |
|
pure virtual |
Get the value offset (bias) of a generator at a given index.
- Parameters
-
- Returns
- The offset.
◆ GetGeneratorAmplitude()
virtual Real Murl::Graph::IWaveUniformTimeController::GetGeneratorAmplitude |
( |
UInt32 |
generatorIndex | ) |
const |
|
pure virtual |
Get the amplitude of a generator at a given index.
- Parameters
-
- Returns
- The amplitude.
◆ GetGeneratorPhase()
virtual Real Murl::Graph::IWaveUniformTimeController::GetGeneratorPhase |
( |
UInt32 |
generatorIndex | ) |
const |
|
pure virtual |
Get the phase shift of a generator at a given index.
- Parameters
-
- Returns
- The phase shift.
◆ GetGeneratorFrequency()
virtual Real Murl::Graph::IWaveUniformTimeController::GetGeneratorFrequency |
( |
UInt32 |
generatorIndex | ) |
const |
|
pure virtual |
Get the frequency of a generator at a given index.
- Parameters
-
- Returns
- The frequency.
◆ GetGeneratorDutyCycle()
virtual Real Murl::Graph::IWaveUniformTimeController::GetGeneratorDutyCycle |
( |
UInt32 |
generatorIndex | ) |
const |
|
pure virtual |
Get the duty cycle of a generator at a given index.
- Parameters
-
- Returns
- The duty cycle.
The documentation for this interface was generated from the following file:
- murl_graph_i_wave_uniform_time_controller.h