nicetoolbox.visual.media.components.GazeInteractionComponent

class nicetoolbox.visual.media.components.GazeInteractionComponent(visualizer_config, io, logger, component_name)[source]

Bases: Component

Class for visualizing gaze interaction data.

Initialize the GazeInteractionComponent.

Parameters:
  • visualizer_config (Dict) – The visualizer configuration settings.

  • io – The input/output object.

  • logger (viewer.Viewer) – The viewer rerun object.

  • component_name (str) – The name of the component.

Methods

get_lookat_data

Get the look at data.

visualize

Abstract method to visualize the component.

get_lookat_data() Tuple[ndarray, List[str]][source]

Get the look at data.

Returns:

The look at data and the look at labels.

Return type:

Tuple[np.ndarray, List[str]]

visualize()[source]

Abstract method to visualize the component.