ClassesClasses | | Operators

set_scene_3d_camera_poseT_set_scene_3d_camera_poseSetScene3dCameraPoseSetScene3dCameraPose (Operator)

Name

set_scene_3d_camera_poseT_set_scene_3d_camera_poseSetScene3dCameraPoseSetScene3dCameraPose — Set the pose of a camera in a 3D scene.

Signature

set_scene_3d_camera_pose( : : Scene3D, CameraIndex, Pose : )

Herror T_set_scene_3d_camera_pose(const Htuple Scene3D, const Htuple CameraIndex, const Htuple Pose)

void SetScene3dCameraPose(const HTuple& Scene3D, const HTuple& CameraIndex, const HTuple& Pose)

void HScene3D::SetScene3dCameraPose(Hlong CameraIndex, const HPose& Pose) const

static void HOperatorSet.SetScene3dCameraPose(HTuple scene3D, HTuple cameraIndex, HTuple pose)

void HScene3D.SetScene3dCameraPose(int cameraIndex, HPose pose)

Description

set_scene_3d_camera_poseset_scene_3d_camera_poseSetScene3dCameraPoseSetScene3dCameraPoseSetScene3dCameraPose sets the PosePosePosePosepose of the camera CameraIndexCameraIndexCameraIndexCameraIndexcameraIndex in the 3D scene Scene3DScene3DScene3DScene3Dscene3D.

See create_scene_3dcreate_scene_3dCreateScene3dCreateScene3dCreateScene3d for more details on the coordinate systems used in 3D scenes.

Execution Information

Parameters

Scene3DScene3DScene3DScene3Dscene3D (input_control)  scene_3d HScene3D, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the 3D scene.

CameraIndexCameraIndexCameraIndexCameraIndexcameraIndex (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Index of the camera.

PosePosePosePosepose (input_control)  pose HPose, HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

New pose of the camera.

Result

set_scene_3d_camera_poseset_scene_3d_camera_poseSetScene3dCameraPoseSetScene3dCameraPoseSetScene3dCameraPose returns 2 (H_MSG_TRUE) if all parameters are correct. If necessary, an exception is raised.

Possible Predecessors

add_scene_3d_cameraadd_scene_3d_cameraAddScene3dCameraAddScene3dCameraAddScene3dCamera

See also

set_scene_3d_to_world_poseset_scene_3d_to_world_poseSetScene3dToWorldPoseSetScene3dToWorldPoseSetScene3dToWorldPose, set_scene_3d_instance_poseset_scene_3d_instance_poseSetScene3dInstancePoseSetScene3dInstancePoseSetScene3dInstancePose

Module

3D Metrology


ClassesClasses | | Operators