VirtualHandInterface_RecordingInterface#

class myogestic.gui.widgets.visual_interfaces.virtual_hand_interface.VirtualHandInterface_RecordingInterface(*args, **kwargs)[source]#

Recording interface for the Virtual Hand Interface.

Handles per-VI settings (task selector, kinematics checkbox) while the shared RecordProtocol controls manage the Record button, Duration spinner, and unified review dialog.

Methods

__init__(main_window[, name, ...])

check_recording_completion()

Checks if this VI's recording is complete and notifies the protocol.

close_event(_)

Closes the recording interface.

disable()

Disable the UI elements.

enable()

Enable the UI elements.

get_ground_truth_data()

Return kinematics data if checkbox checked, else empty.

initialize_ui_logic()

Initializes the logic for the UI elements.

start_recording_preparation()

Prepares the recording process by checking if the device is streaming.

update_ground_truth_buffer(data)

Updates the buffer with the incoming kinematics data.

Parameters:
  • name (str)

  • incoming_message_signal (PySide6.QtCore.SignalInstance)

check_recording_completion()[source]#

Checks if this VI’s recording is complete and notifies the protocol.

Return type:

None

close_event(_)[source]#

Closes the recording interface.

Parameters:

_ (PySide6.QtGui.QCloseEvent)

Return type:

None

disable()[source]#

Disable the UI elements.

enable()[source]#

Enable the UI elements.

get_ground_truth_data()[source]#

Return kinematics data if checkbox checked, else empty.

Return type:

dict

initialize_ui_logic()[source]#

Initializes the logic for the UI elements.

Return type:

None

start_recording_preparation()[source]#

Prepares the recording process by checking if the device is streaming.

Return type:

bool

update_ground_truth_buffer(data)[source]#

Updates the buffer with the incoming kinematics data.

Parameters:

data (ndarray)

Return type:

None