Skip to content
Snippets Groups Projects
Unverified Commit a12008d9 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by GitHub
Browse files

Merge pull request #128 from MedericFourmy/cameraconv_doc

Added commentaries describing gepetto viewer camera frame convention
parents db21fee8 f30be957
No related branches found
No related tags found
No related merge requests found
......@@ -517,10 +517,16 @@ typedef sequence<Transform> TransformSeq;
boolean detachCamera(in unsigned long windowId) raises (Error);
/// get the matrix transform of the current position of the camera
/// Camera frame convention (OpenSceneGraph): looking through the optic axis as a photographer,
/// axis are: X -> right, Y -> up, Z -> behind
/// It corresponds to Hartley and Zisserman's frame convention with a 180° rotation around the Y axis
/// \param input windowId : ID of the window
Transform getCameraTransform(in unsigned long windowId) raises (Error);
/// set the matrix transform of the current camera
/// Camera frame convention (OpenSceneGraph): looking through the optic axis as a photographer,
/// axis are: X -> right, Y -> up, Z -> behind
/// It corresponds to Hartley and Zisserman's frame convention with a 180° rotation around the Y axis
/// \param input windowId : ID of the window
/// \param input configuration : the desired configuration of the camera
boolean setCameraTransform(in unsigned long windowId,in Transform configuration) raises (Error);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment