Eye

May 7, 2024 ยท View on GitHub

from tdw.vr_data.fove.eye import Eye

FOVE eye data.


Fields

  • state The state of the eye: not_connected, opened, or closed.

  • direction Where the eye is looking.

  • gaze_id The ID of the object that the eye is gazing at. Can be None.

  • gaze_position The position hit by the eye's ray. The ray can hit either an object or a scene mesh. Can be None.


Functions

__init__

Eye(state, direction, gaze_id, gaze_position)

ParameterTypeDefaultDescription
stateEyeStateThe state of the eye: not_connected, opened, or closed.
directionnp.ndarrayWhere the eye is looking.
gaze_idOptional[int]The ID of the object that the eye is gazing at. Can be None.
gaze_positionOptional[np.ndarray]The position hit by the eye's ray. The ray can hit either an object or a scene mesh. Can be None.