Commit a72f995c authored by Will Schroeder's avatar Will Schroeder
Browse files

ENH:Get example working right

parent 16d97cf5
...@@ -131,7 +131,8 @@ cam.SetPosition(-17438.8, 2410.62, 25470.8) ...@@ -131,7 +131,8 @@ cam.SetPosition(-17438.8, 2410.62, 25470.8)
cam.SetFocalPoint(3985.35, 11930.6, 5922.14) cam.SetFocalPoint(3985.35, 11930.6, 5922.14)
cam.SetViewUp(0, 0, 1) cam.SetViewUp(0, 0, 1)
ren.SetActiveCamera(cam) ren.SetActiveCamera(cam)
ren.ResetCameraClippingRange() ren.ResetCamera()
cam.Zoom(2)
iren.Initialize() iren.Initialize()
iren.SetDesiredUpdateRate(1) iren.SetDesiredUpdateRate(1)
......
...@@ -129,7 +129,8 @@ vtkCamera cam ...@@ -129,7 +129,8 @@ vtkCamera cam
cam SetFocalPoint 3985.35 11930.6 5922.14 cam SetFocalPoint 3985.35 11930.6 5922.14
cam SetViewUp 0 0 1 cam SetViewUp 0 0 1
ren1 SetActiveCamera cam ren1 SetActiveCamera cam
ren1 ResetCameraClippingRange ren1 ResetCamera
cam Zoom 2
iren AddObserver UserEvent {wm deiconify .vtkInteract} iren AddObserver UserEvent {wm deiconify .vtkInteract}
iren SetDesiredUpdateRate 1 iren SetDesiredUpdateRate 1
......
Supports Markdown
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