Commit 909f905b authored by Anatoly Baksheev's avatar Anatoly Baksheev

--amend

parent c65d8888
...@@ -297,12 +297,13 @@ temp_viz::InteractorStyle::OnKeyDown () ...@@ -297,12 +297,13 @@ temp_viz::InteractorStyle::OnKeyDown ()
cam->GetFocalPoint (focal.val); cam->GetFocalPoint (focal.val);
cam->GetPosition (pose.val); cam->GetPosition (pose.val);
cam->GetViewUp (view.val); cam->GetViewUp (view.val);
Vec2i win_pos(Interactor->GetRenderWindow()->GetPosition ()); Vec2i win_pos(Interactor->GetRenderWindow()->GetPosition());
Vec2i win_size(Interactor->GetRenderWindow()->GetSize ()); Vec2i win_size(Interactor->GetRenderWindow()->GetSize());
std::cerr << Mat(clip, false).reshape(1, 1) << "/" << Mat(focal, false).reshape(1, 1) << "/" << 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) << "/" << Mat(pose, false).reshape(1, 1) << "/" << Mat(view, false).reshape(1, 1) << "/" <<
cam->GetViewAngle () / 180.0 * M_PI << "/" << cam->GetViewAngle () / 180.0 * M_PI << "/" <<
Mat(win_size, false).reshape(1,1) << "/" << Mat(win_pos, false).reshape(1,1) << endl; Mat(win_size, false).reshape(1,1) << "/" << Mat(win_pos, false).reshape(1,1) << endl;
break; break;
} }
case '=': case '=':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment