FQLab
A spectral audio sandbox
 
Loading...
Searching...
No Matches
FQLab.FreqSpectrumView Class Reference

Encapsulates views that display the frequency graphs. Takes care of their layout. More...

Inheritance diagram for FQLab.FreqSpectrumView:
Inheritance graph
Collaboration diagram for FQLab.FreqSpectrumView:
Collaboration graph

Public Member Functions

 FreqSpectrumView ()
 
void UpdateData (double[] magnitudes)
 Propagates data to graph only when the UI is ready for drawing.
 

Protected Member Functions

override void OnFrameChanged (in Rectangle frame)
 

Private Attributes

readonly FreqGraphView _graphView
 
readonly FreqAxisView _axisView
 
bool _isReady = false
 

Detailed Description

Encapsulates views that display the frequency graphs. Takes care of their layout.

Constructor & Destructor Documentation

◆ FreqSpectrumView()

FQLab.FreqSpectrumView.FreqSpectrumView ( )
inline

Member Function Documentation

◆ OnFrameChanged()

override void FQLab.FreqSpectrumView.OnFrameChanged ( in Rectangle  frame)
inlineprotected

◆ UpdateData()

void FQLab.FreqSpectrumView.UpdateData ( double[]  magnitudes)
inline

Propagates data to graph only when the UI is ready for drawing.

Parameters
magnitudesFormated frequency data ready for display.
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _axisView

readonly FreqAxisView FQLab.FreqSpectrumView._axisView
private

◆ _graphView

readonly FreqGraphView FQLab.FreqSpectrumView._graphView
private

◆ _isReady

bool FQLab.FreqSpectrumView._isReady = false
private

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