]> gerrit.simantics Code Review - simantics/3d.git/commit
Tools for fitting contents to view in Plant3D editor 69/3969/1
authorReino Ruusu <reino.ruusu@semantum.fi>
Thu, 5 Mar 2020 13:58:25 +0000 (15:58 +0200)
committerReino Ruusu <reino.ruusu@semantum.fi>
Thu, 5 Mar 2020 13:58:25 +0000 (15:58 +0200)
commit3ef62df14340e2127ce21fc7ccab1f69f832abc0
treeca81115a85c13793bc6fd68f4ebb980826cf5758
parenteb7456300253668862a71f9d07fb558400e6ace6
Tools for fitting contents to view in Plant3D editor

gitlab #100

Also fixes clipping in parallel projection mode by keeping scale and
camera distance at values that match the camera view angle.

Change-Id: I82ad77bdc339fa0ad7814c31fcac97512c440972
org.simantics.g3d.vtk/src/org/simantics/g3d/vtk/handlers/ParallelPerspectiveHandler.java
org.simantics.g3d.vtk/src/org/simantics/g3d/vtk/swt/vtkCameraAndSelectorAction.java
org.simantics.plant3d/plugin.xml
org.simantics.plant3d/src/org/simantics/plant3d/editor/Plant3DEditor.java