set_scene_3d_camera_poseSetScene3dCameraPoseSetScene3dCameraPoseset_scene_3d_camera_poseT_set_scene_3d_camera_pose
Short description
set_scene_3d_camera_poseSetScene3dCameraPoseSetScene3dCameraPoseset_scene_3d_camera_poseT_set_scene_3d_camera_pose — Set the pose of a camera in a 3D scene.
Signature
set_scene_3d_camera_pose( scene_3d Scene3D, integer CameraIndex, pose Pose )void SetScene3dCameraPose( const HTuple& Scene3D, const HTuple& CameraIndex, const HTuple& Pose )static void HOperatorSet.SetScene3dCameraPose( HTuple scene3D, HTuple cameraIndex, HTuple pose )def set_scene_3d_camera_pose( scene_3d: HHandle, camera_index: int, pose: MaybeSequence[Union[float, int]] ) -> None
Herror T_set_scene_3d_camera_pose( const Htuple Scene3D, const Htuple CameraIndex, const Htuple Pose )
void HScene3D::SetScene3dCameraPose( Hlong CameraIndex, const HPose& Pose ) const
void HScene3D.SetScene3dCameraPose( int cameraIndex, HPose pose )
Description
set_scene_3d_camera_poseSetScene3dCameraPose sets the Poseposepose of the camera
CameraIndexcameraIndexcamera_index in the 3D scene Scene3Dscene3Dscene_3d.
See create_scene_3dCreateScene3d for more details on the coordinate systems used
in 3D scenes.
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters
Scene3Dscene3Dscene_3d (input_control) scene_3d → (handle)HTuple (HHandle)HScene3D, HTuple (IntPtr)HHandleHtuple (handle)
Handle of the 3D scene.
CameraIndexcameraIndexcamera_index (input_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)
Index of the camera.
Poseposepose (input_control) pose → (real / integer)HTuple (double / Hlong)HPose, HTuple (double / int / long)MaybeSequence[Union[float, int]]Htuple (double / Hlong)
New pose of the camera.
Result
set_scene_3d_camera_poseSetScene3dCameraPose returns 2 (H_MSG_TRUE) if all parameters are
correct. If necessary, an exception is raised.
Combinations with other operators
Combinations
Possible predecessors
add_scene_3d_cameraAddScene3dCamera
See also
set_scene_3d_to_world_poseSetScene3dToWorldPose, set_scene_3d_instance_poseSetScene3dInstancePose
Module
3D Metrology