NVIDIA Holoscan SDK v2.7.0
Holoscan v2.7.0

Function holoscan::viz::SetCursorPosCallback

void holoscan::viz::SetCursorPosCallback(void *user_pointer, CursorPosCallbackFunction callback)

Set the cursor position callback. The callback function is called when the cursor position changes. Coordinates are provided in screen coordinates, relative to the upper left edge of the content area.

Parameters
  • user_pointer – user pointer value to be passed to the callback

  • callback – the new cursor callback or nullptr to remove the current callback

Previous Function holoscan::viz::SetCurrent
Next Function holoscan::viz::SetFont
© Copyright 2022-2024, NVIDIA. Last updated on Dec 2, 2024.