NVIDIA Holoscan SDK v2.4.0
Holoscan v2.4.0

Function holoscan::viz::GetCameraPose(size_t, float *)

void holoscan::viz::GetCameraPose(size_t size, float *matrix)

Get the camera pose.

The camera parameters are returned in a 4x4 row major projection matrix.

The camera is operated using the mouse.

  • Orbit (LMB)

  • Pan (LMB + CTRL | MMB)

  • Dolly (LMB + SHIFT | RMB | Mouse wheel)

  • Look Around (LMB + ALT | LMB + CTRL + SHIFT)

  • Zoom (Mouse wheel + SHIFT)

Parameters
  • size – size of the memory matrix points to in floats

  • matrix – pointer to a float array to store the row major projection matrix to

Previous Function holoscan::viz::EndLayer
Next Function holoscan::viz::GetCameraPose(float(&), float(&))
© Copyright 2022-2024, NVIDIA. Last updated on Oct 1, 2024.