WANALYZER_WAVE_RANGE structure |
|
The WANALYZER_WAVE_RANGE structure describes settings applied to a waveform range added to the Waveform Analyzer through the WaveformAnalyzer.GraphicItemWaveRangeAdd method. The current settings can be retrieved through the WaveformAnalyzer.GraphicItemWaveRangeParamsGet method and modified through the WaveformAnalyzer.GraphicItemWaveRangeParamsSett method.
For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.
For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer class section.
C# definition
public struct WANALYZER_WAVE_RANGE
{
public Color colorBack;
public Color colorWaveLinePeak;
public Color colorWaveLineCenter;
}
Inside the screenshot below you can see 2 examples of wave ranges, each with its own set of colors. Please note that "wave ranges" are a different concept respect to "waveform selection": you can only have one single "waveform selection", whose positioning can be managed through code or through mouse movement, but you can have multiple "wave ranges" managed through code without any mouse management for changing the positioning.
Member |
Description |
|
|
Color used for rendering the waveform background. |
|
Color used for rendering the peak of the waveform line |
|
Color used for rendering the center of the waveform line |
NOTE: If values of the colorWaveLineCenter e colorWaveLinePeak fields should be identical, the rendering would keep count of the bUseHalfColorsForPeaks field of the WANALYZER_WAVEFORM_SETTINGS data structure.