Operators |
add_scene_3d_camera — Add a camera to a 3D scene.
add_scene_3d_camera( : : Scene3D, CameraParam : CameraIndex)
add_scene_3d_camera adds a new camera to the 3D scene Scene3D and returns the index of this camera in CameraIndex. The camera parameters of the camera must be given in CameraParam. By default the new camera is located at the origin of the world coordinate system. The pose of the camera CameraIndex can be set with set_scene_3d_camera_pose.
Cameras with hypercentric lenses are not supported.
Handle of the 3D scene.
Parameters of the new camera.
Index of the new camera in the 3D scene.
add_scene_3d_camera returns 2 (H_MSG_TRUE) if all parameters are correct. If necessary, an exception is raised.
set_scene_3d_camera_pose, display_scene_3d
3D Metrology
Operators |