(#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

@@ -257,6 +257,7 @@ void caf::CeetronPlusNavigation::zoomAlongRay(cvf::Ray* ray, int delta)
cvf::Vec3d newVrp = vrp + trans;
m_viewer->mainCamera()->setFromLookAt(newPos, newVrp, up );
m_viewer->updateParallelProjectionHeight(m_pointOfInterest);
m_viewer->navigationPolicyUpdate();
}
}