Function holoscan::viz::SetCursorPosCallback
Defined in File holoviz.hpp
-
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