|
|
@ -264,6 +264,9 @@ class RasterView: |
|
|
|
tmp_doc_view.fitAll() |
|
|
|
tmp_doc_view.fitAll() |
|
|
|
tmp_doc.removeObject(viewVolumeLink.Name) |
|
|
|
tmp_doc.removeObject(viewVolumeLink.Name) |
|
|
|
sceneGroup.ViewObject.Visibility = True |
|
|
|
sceneGroup.ViewObject.Visibility = True |
|
|
|
|
|
|
|
print_verbose("Near=" + str(cam.nearDistance.getValue()) + ", far="+str(cam.farDistance.getValue())) |
|
|
|
|
|
|
|
cam.nearDistance.setValue(cam.nearDistance.getValue() - 1000) |
|
|
|
|
|
|
|
cam.farDistance.setValue(cam.farDistance.getValue() + 1000) |
|
|
|
|
|
|
|
|
|
|
|
viewVolume = cam.getViewVolume(0.0) |
|
|
|
viewVolume = cam.getViewVolume(0.0) |
|
|
|
self.image_view.Assembly_handbook_ViewVolumeWidth = viewVolume.getWidth() |
|
|
|
self.image_view.Assembly_handbook_ViewVolumeWidth = viewVolume.getWidth() |
|
|
|