Home
last modified time | relevance | path

Searched refs:camera_pose (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/viz/test/
Dtest_tutorial3.cpp21 Affine3d camera_pose = viz::makeCameraPose(cam_origin, cam_focal_point, cam_y_dir); in tutorial3() local
37 …myWindow.showWidget("CPW_FRUSTUM", viz::WCameraPosition(Vec2f(0.889484f, 0.523599f)), camera_pose); in tutorial3()
39 myWindow.showWidget("CPW", viz::WCameraPosition(0.5), camera_pose); in tutorial3()
46 myWindow.setViewerPose(camera_pose); in tutorial3()
/external/opencv3/modules/viz/src/
Dvizimpl.cpp481 vtkSmartPointer<vtkMatrix4x4> camera_pose; in resetCameraViewpoint() local
487 camera_pose = actor->GetUserMatrix(); in resetCameraViewpoint()
493 if (!camera_pose) return; in resetCameraViewpoint()
496 cam->SetPosition(camera_pose->GetElement(0, 3), in resetCameraViewpoint()
497 camera_pose->GetElement(1, 3), in resetCameraViewpoint()
498 camera_pose->GetElement(2, 3)); in resetCameraViewpoint()
500 cam->SetFocalPoint(camera_pose->GetElement(0, 3) - camera_pose->GetElement(0, 2), in resetCameraViewpoint()
501 camera_pose->GetElement(1, 3) - camera_pose->GetElement(1, 2), in resetCameraViewpoint()
502 camera_pose->GetElement(2, 3) - camera_pose->GetElement(2, 2)); in resetCameraViewpoint()
504 cam->SetViewUp(camera_pose->GetElement(0, 1), in resetCameraViewpoint()
[all …]