AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
HoloToolkit.Unity.VectorRollingStatistics Class Reference

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...
 

Detailed Description

Vector Statistics used in gaze stabilization.

Definition at line 10 of file VectorRollingStatistics.cs.

Member Function Documentation

§ AddSample()

void HoloToolkit.Unity.VectorRollingStatistics.AddSample ( Vector3  value)

Adds a new sample to the sample list and updates the stats.

Parameters
valueThe new sample to add

Definition at line 106 of file VectorRollingStatistics.cs.

§ Init()

void HoloToolkit.Unity.VectorRollingStatistics.Init ( int  sampleCount)

Initialize the rolling stats.

Parameters
sampleCount

Definition at line 72 of file VectorRollingStatistics.cs.

§ Reset()

void HoloToolkit.Unity.VectorRollingStatistics.Reset ( )

Resets the stats to zero.

Definition at line 82 of file VectorRollingStatistics.cs.

Member Data Documentation

§ ActualSampleCount

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.

§ Average

Vector3 HoloToolkit.Unity.VectorRollingStatistics.Average

The average position.

Definition at line 30 of file VectorRollingStatistics.cs.

§ CurrentStandardDeviation

float HoloToolkit.Unity.VectorRollingStatistics.CurrentStandardDeviation

Current standard deviation of the positions of the vectors

Definition at line 15 of file VectorRollingStatistics.cs.

§ StandardDeviationDeltaAfterLatestSample

float HoloToolkit.Unity.VectorRollingStatistics.StandardDeviationDeltaAfterLatestSample

Difference to standardDeviation when the latest sample was added.

Definition at line 20 of file VectorRollingStatistics.cs.

§ StandardDeviationsAwayOfLatestSample

float HoloToolkit.Unity.VectorRollingStatistics.StandardDeviationsAwayOfLatestSample

How many standard deviations the latest sample was away.

Definition at line 25 of file VectorRollingStatistics.cs.


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