Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
a72f995c
Commit
a72f995c
authored
Aug 31, 2005
by
Will Schroeder
Browse files
ENH:Get example working right
parent
16d97cf5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Examples/VisualizationAlgorithms/Python/BandContourTerrain.py
View file @
a72f995c
...
...
@@ -131,7 +131,8 @@ cam.SetPosition(-17438.8, 2410.62, 25470.8)
cam
.
SetFocalPoint
(
3985.35
,
11930.6
,
5922.14
)
cam
.
SetViewUp
(
0
,
0
,
1
)
ren
.
SetActiveCamera
(
cam
)
ren
.
ResetCameraClippingRange
()
ren
.
ResetCamera
()
cam
.
Zoom
(
2
)
iren
.
Initialize
()
iren
.
SetDesiredUpdateRate
(
1
)
...
...
Examples/VisualizationAlgorithms/Tcl/BandContourTerrain.tcl
View file @
a72f995c
...
...
@@ -129,7 +129,8 @@ vtkCamera cam
cam SetFocalPoint 3985.35 11930.6 5922.14
cam SetViewUp 0 0 1
ren1 SetActiveCamera cam
ren1 ResetCameraClippingRange
ren1 ResetCamera
cam Zoom 2
iren AddObserver UserEvent
{
wm deiconify .vtkInteract
}
iren SetDesiredUpdateRate 1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment