API reference
API reference
Select your platform
No SDKs available
No versions available

TransformFeatureStateProvider Class

Interprets transform feature values from a TransformFeatureValueProvider and uses the given TransformFeatureStateThresholds to quantize these values into states.
Oculus::Interaction::PoseDetection::TransformFeatureStateProvider extends MonoBehaviour.
Oculus::Interaction::PoseDetection::TransformFeatureStateProvider extends Oculus.Interaction.PoseDetection.ITransformFeatureStateProvider.
Oculus::Interaction::PoseDetection::TransformFeatureStateProvider extends Oculus.Interaction.ITimeConsumer.

Overview

Object Data

bool

Public Member Functions

void
SetTimeProvider
( Func< float > timeProvider )
Sets a function that returns the current time in seconds.
void
RegisterConfig
( TransformConfig transformConfig )
void
UnRegisterConfig
( TransformConfig transformConfig )
bool
bool
IsStateActive
( TransformConfig config,
TransformFeature feature,
FeatureStateActiveMode mode,
string stateId )
bool
GetCurrentState
( TransformConfig config,
TransformFeature transformFeature,
out string currentState )
float?
GetFeatureValue
( TransformConfig config,
TransformFeature transformFeature )
Returns the current value of the feature.
void
GetFeatureVectorAndWristPos
( TransformConfig config,
TransformFeature transformFeature,
bool isHandVector,
ref Vector3? featureVec,
ref Vector3? wristPos )
void
InjectAllTransformFeatureStateProvider
( IHand hand,
IHmd hmd,
bool disableProactiveEvaluation )
void
InjectHand
( IHand hand )
void
InjectHmd
( IHmd hand )
void
void
InjectOptionalTimeProvider
( Func< float > timeProvider )

Object Data

void
Awake ( )
void
Start ( )
void
void

Details

Detailed Description

To avoid rapid fluctuations at the edges of two states, this classes uses the calculated feature states from the previous frame and the given state thresholds to apply a buffer between state transition edges.

Properties

IHand Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.Hand
No description available.
IHmd Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.Hmd
No description available.
ITrackingToWorldTransformer Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.TrackingToWorldTransformer
No description available.

Object Data

bool Oculus.Interaction.PoseDetection.TransformFeatureStateProvider._started
No description available.

Member Functions

void Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.SetTimeProvider
( Func< float > timeProvider )
Sets a function that returns the current time in seconds.
void Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.RegisterConfig
( TransformConfig transformConfig )
No description available.
void Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.UnRegisterConfig
( TransformConfig transformConfig )
No description available.
bool Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.IsHandDataValid ( )
No description available.
bool Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.IsStateActive
( TransformConfig config,
TransformFeature feature,
FeatureStateActiveMode mode,
string stateId )
No description available.
bool Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.GetCurrentState
( TransformConfig config,
TransformFeature transformFeature,
out string currentState )
No description available.
float? Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.GetFeatureValue
( TransformConfig config,
TransformFeature transformFeature )
Returns the current value of the feature.
If the hand joints are not populated with valid data (for instance, due to a disconnected hand), the method will return null;
void Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.GetFeatureVectorAndWristPos
( TransformConfig config,
TransformFeature transformFeature,
bool isHandVector,
ref Vector3? featureVec,
ref Vector3? wristPos )
No description available.
void Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.InjectAllTransformFeatureStateProvider
( IHand hand,
IHmd hmd,
bool disableProactiveEvaluation )
No description available.
void Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.InjectHand
( IHand hand )
No description available.
void Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.InjectHmd
( IHmd hand )
No description available.
void Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.InjectDisableProactiveEvaluation
( bool disabled )
No description available.
void Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.InjectOptionalTimeProvider
( Func< float > timeProvider )
No description available.

Object Data

virtual void Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.Awake ( )
No description available.
virtual void Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.Start ( )
No description available.
virtual void Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.OnEnable ( )
No description available.
virtual void Oculus.Interaction.PoseDetection.TransformFeatureStateProvider.OnDisable ( )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon