Support Forum       G3D Web Page     
Public Attributes | List of all members
G3D::GazeTracker::Gaze Class Reference

Public Attributes

Ray headSpaceRay
 For getTrackedGaze(), this is always valid and stable, even during blink. More...
 
bool inBlink = false
 Is this eye blinking (pupil not visible and ray is simulated) More...
 
bool inSaccade = false
 Is the user in a saccade? (Jump between positions) More...
 
float pupilSize = 0.004f
 Dilation of the pupil. More...
 

Member Data Documentation

◆ headSpaceRay

Ray G3D::GazeTracker::Gaze::headSpaceRay

For getTrackedGaze(), this is always valid and stable, even during blink.

ray.origin is the center of the pupil.

ray.direction is the visual axis of the eye, which is the center of the fovea and attention for a normal eye.

For a HMD, this is in the "XR Head" frame. For a desktop gaze tracker, it is relative to the active camera.

See also
GApp::headFrame

◆ inBlink

bool G3D::GazeTracker::Gaze::inBlink = false

Is this eye blinking (pupil not visible and ray is simulated)

◆ inSaccade

bool G3D::GazeTracker::Gaze::inSaccade = false

Is the user in a saccade? (Jump between positions)

◆ pupilSize

float G3D::GazeTracker::Gaze::pupilSize = 0.004f

Dilation of the pupil.

Some trackers never update this. Default is 4mm.


documentation generated on Wed Nov 24 2021 08:01:56 using doxygen 1.8.15