![]() |
AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
|
Vector Statistics used in gaze stabilization. More...
Public Member Functions | |
| void | Init (int sampleCount) |
| Initialize the rolling stats. More... | |
| void | Reset () |
| Resets the stats to zero. More... | |
| void | AddSample (Vector3 value) |
| Adds a new sample to the sample list and updates the stats. More... | |
Public Attributes | |
| float | CurrentStandardDeviation |
| Current standard deviation of the positions of the vectors More... | |
| float | StandardDeviationDeltaAfterLatestSample |
| Difference to standardDeviation when the latest sample was added. More... | |
| float | StandardDeviationsAwayOfLatestSample |
| How many standard deviations the latest sample was away. More... | |
| Vector3 | Average |
| The average position. More... | |
| float | ActualSampleCount |
| The number of samples in the current set (may be 0 - maxSamples) More... | |
Vector Statistics used in gaze stabilization.
Definition at line 10 of file VectorRollingStatistics.cs.
| void HoloToolkit.Unity.VectorRollingStatistics.AddSample | ( | Vector3 | value | ) |
Adds a new sample to the sample list and updates the stats.
| value | The new sample to add |
Definition at line 106 of file VectorRollingStatistics.cs.
| void HoloToolkit.Unity.VectorRollingStatistics.Init | ( | int | sampleCount | ) |
Initialize the rolling stats.
| sampleCount |
Definition at line 72 of file VectorRollingStatistics.cs.
| void HoloToolkit.Unity.VectorRollingStatistics.Reset | ( | ) |
Resets the stats to zero.
Definition at line 82 of file VectorRollingStatistics.cs.
| float HoloToolkit.Unity.VectorRollingStatistics.ActualSampleCount |
The number of samples in the current set (may be 0 - maxSamples)
Definition at line 35 of file VectorRollingStatistics.cs.
| Vector3 HoloToolkit.Unity.VectorRollingStatistics.Average |
The average position.
Definition at line 30 of file VectorRollingStatistics.cs.
| float HoloToolkit.Unity.VectorRollingStatistics.CurrentStandardDeviation |
Current standard deviation of the positions of the vectors
Definition at line 15 of file VectorRollingStatistics.cs.
| float HoloToolkit.Unity.VectorRollingStatistics.StandardDeviationDeltaAfterLatestSample |
Difference to standardDeviation when the latest sample was added.
Definition at line 20 of file VectorRollingStatistics.cs.
| float HoloToolkit.Unity.VectorRollingStatistics.StandardDeviationsAwayOfLatestSample |
How many standard deviations the latest sample was away.
Definition at line 25 of file VectorRollingStatistics.cs.