(#168) Wip: Parallel projection. Basics in place

This commit is contained in:
Jacob Støren
2015-12-05 00:56:14 +01:00
parent 64b3281382
commit bbb0a5e993
10 changed files with 132 additions and 48 deletions

View File

@@ -169,6 +169,8 @@ bool RiuCadNavigation::handleInputEvent(QInputEvent* inputEvent)
cvf::Vec3d newVrp = vrp + trans;
m_viewer->mainCamera()->setFromLookAt(newPos,newVrp, up );
m_viewer->updateParallelProjectionHeight(m_pointOfInterest);
m_viewer->navigationPolicyUpdate();
}
}