[−][src]Function opencv::viz::make_camera_pose
pub fn make_camera_pose(
position: Vec3d,
focal_point: Vec3d,
y_dir: Vec3d
) -> Result<Affine3d>
Constructs camera pose from position, focal_point and up_vector (see gluLookAt() for more information).
Parameters
- position: Position of the camera in global coordinate frame.
- focal_point: Focal point of the camera in global coordinate frame.
- y_dir: Up vector of the camera in global coordinate frame.
This function returns pose of the camera in global coordinate frame.