FingoMain

class Fingo::FingoMain

FingoMain is used to get or set all kinds of the data from Fingo Devices.

Inherits from Singleton< FingoMain >

Public Functions

bool TestDevicesCapability(FingoCapability deviceCapability)

Test the capability of Fingo devices.

Return
Capable of the devices.
Parameters
  • deviceCapability: The device capability.

bool SetHandTrackingEnable(bool enable)

Set the hand tracking function enable or disable.

Return
Setting hand tracking enable or disable success.
Parameters
  • enable: Enable or disable hand tracking.

bool SetGestureDetectionEnable(bool enable)

Set the gesture detection enable or disable.

Return
Setting gesture detection enable or disable success.
Parameters
  • enable: Enable or disable gesture detection or not.

bool SetGestureDetectionMode(GestureDetectionMode detectionMode)

Set the gesture detection mode.

Return
Setting gesture detection mode success.
Parameters
  • detectionMode: The target mode of gesture detection.

HandRawData GetRawHandData(HandType handType)

Get the hand raw data corresponding to the particular hand type currently tracked

Return
The hand raw data of this hand.
Parameters
  • handtype: Hand type of the hand.

void SetHandTimeWarping(bool enableTimeWarping)

Set enable or disable time warping to hand data.

Parameters
  • enableTimeWarping: Enable or disable time warping.

Hand GetHand(HandType handtype)

Get the hand data corresponding to the particular hand type currently tracked

Return
The hand data of this hand.
Parameters
  • handtype: Hand type of the hand.

bool SetHeadTrackingEnable(bool enable)

Set the head tracking function enable or disable.

Return
Setting hand tracking enable or disable success.
Parameters
  • enable: Enable or disable head tracking.

Head GetHead(bool enablePrediction = false)

Get the Head instance currently tracked

Return
The head data from Fingo.

void ResetHeadTracking()

Reset the positional tracking.

bool SetIRImageEnable(bool enable)

Set infrared image enable or disable.

Return
Setting infrared image enable or disable success.
Parameters
  • enable: Enable or disable get infrared image.

Image GetInfraredImage(EyeType eye)

Get infrared image data corresponding to the particular eye type currently tracked

Return
The infrared image of the eye.
Parameters
  • eye: The eye type of the infrared image.

bool SetRGBImageEnable(bool enable)

Set color image enable or disable.

Return
Setting color image enable or disable success.
Parameters
  • enable: Enable or disable get color image.

Image GetRGBImage(EyeType eye)

Get infrared image data corresponding to the particular eye type currently tracked

Return
The color image of the eye.
Parameters
  • eye: The eye type of the color image.