/[escript]/trunk/pyvisi/py_src/examples/contouronplaneclip.py
ViewVC logotype

Diff of /trunk/pyvisi/py_src/examples/contouronplaneclip.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 962 by jongui, Tue Feb 13 02:03:23 2007 UTC revision 992 by jongui, Fri Feb 23 03:35:33 2007 UTC
# Line 15  dc1.setFileName(file_name = Line 15  dc1.setFileName(file_name =
15  ctropc1 = ContourOnPlaneClip(scene = s, data_collector = dc1, scalar = None,  ctropc1 = ContourOnPlaneClip(scene = s, data_collector = dc1, scalar = None,
16          viewport  = Viewport.SOUTH_WEST, lut = Lut.COLOR, outline = True)          viewport  = Viewport.SOUTH_WEST, lut = Lut.COLOR, outline = True)
17  ctropc1.setPlaneToXY()  ctropc1.setPlaneToXY()
18  ctropc1.rotateY(20)  ctropc1.rotateY(angle = 20)
19  ctropc1.generateContours(8)  ctropc1.generateContours(contours = 8)
20    
21  c1 = Camera(scene = s, data_collector = dc1, viewport = Viewport.SOUTH_WEST)  c1 = Camera(scene = s, data_collector = dc1, viewport = Viewport.SOUTH_WEST)
22  c1.elevation(-40)  c1.elevation(angle = -40)
23    
24  s.render()  s.render()
25    

Legend:
Removed from v.962  
changed lines
  Added in v.992

  ViewVC Help
Powered by ViewVC 1.1.26