This commit is contained in:
Anatoly Baksheev 2013-06-14 14:22:03 +04:00
parent c65d888875
commit 909f905b57

View File

@ -297,8 +297,9 @@ temp_viz::InteractorStyle::OnKeyDown ()
cam->GetFocalPoint (focal.val);
cam->GetPosition (pose.val);
cam->GetViewUp (view.val);
Vec2i win_pos(Interactor->GetRenderWindow()->GetPosition ());
Vec2i win_size(Interactor->GetRenderWindow()->GetSize ());
Vec2i win_pos(Interactor->GetRenderWindow()->GetPosition());
Vec2i win_size(Interactor->GetRenderWindow()->GetSize());
std::cerr << Mat(clip, false).reshape(1, 1) << "/" << Mat(focal, false).reshape(1, 1) << "/" <<
Mat(pose, false).reshape(1, 1) << "/" << Mat(view, false).reshape(1, 1) << "/" <<
cam->GetViewAngle () / 180.0 * M_PI << "/" <<