NVIDIA Holoscan SDK v2.0.0
Holoscan v2.0.0 Download PDF

Function holoscan::viz::GetCameraPose

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::GetCurrent
© Copyright 2022-2024, NVIDIA. Last updated on Jun 4, 2024.