Modifica

Condividi tramite


VectorRollingStatistics Class

Definition

Vector Statistics used in gaze stabilization.

public ref class VectorRollingStatistics
public class VectorRollingStatistics
type VectorRollingStatistics = class
Public Class VectorRollingStatistics
Inheritance
VectorRollingStatistics

Constructors

VectorRollingStatistics()

Properties

ActualSampleCount

The number of samples in the current set (may be 0 - maxSamples)

Average

The average position.

CurrentStandardDeviation

Current standard deviation of the positions of the vectors.

StandardDeviationDeltaAfterLatestSample

Difference to standardDeviation when the latest sample was added.

StandardDeviationsAwayOfLatestSample

How many standard deviations the latest sample was away.

Methods

AddSample(Vector3)

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

Init(Int32)

Initialize the rolling stats.

Reset()

Resets the stats to zero.

Applies to