FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.Gestures.GestureBase Class Referenceabstract

Base class for gesture handling, providing common functionality for gesture detection. More...

Inheritance diagram for FMAR.Gestures.GestureBase:
FMAR.Gestures.DirectionalPinchGesture FMAR.Gestures.OpenPalmThrustGesture FMAR.Gestures.PinchAndMoveGesture FMAR.Gestures.ThumbsUpGesture

Protected Types

enum  PinchFinger { Index , Middle , Ring , Pinky }
 

Protected Member Functions

virtual void Update ()
 Updates the gesture state based on the active hand controller.
 
void GestureUpdate (CommonHand activeHand)
 Updates the gesture state based on the active hand.
 

Protected Attributes

bool isRight
 

Properties

bool IsActive [get, protected set]
 

Detailed Description

Base class for gesture handling, providing common functionality for gesture detection.

Member Enumeration Documentation

◆ PinchFinger

Enumerator
Index 
Middle 
Ring 
Pinky 

Member Function Documentation

◆ GestureUpdate()

void FMAR.Gestures.GestureBase.GestureUpdate ( CommonHand activeHand)
abstractprotected

Updates the gesture state based on the active hand.

Parameters
activeHandThe active hand performing the gesture.

◆ Update()

virtual void FMAR.Gestures.GestureBase.Update ( )
inlineprotectedvirtual

Updates the gesture state based on the active hand controller.

Member Data Documentation

◆ isRight

bool FMAR.Gestures.GestureBase.isRight
protected

Property Documentation

◆ IsActive

bool FMAR.Gestures.GestureBase.IsActive
getprotected set

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