NVIDIA Holoscan SDK v0.6
Holoscan v0.6

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

© Copyright 2022-2023, NVIDIA. Last updated on Feb 9, 2024.