/[escript]/trunk/pyvisi/drivers/driverdatacollector.py
ViewVC logotype

Annotation of /trunk/pyvisi/drivers/driverdatacollector.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 889 - (hide annotations)
Tue Nov 7 23:42:31 2006 UTC (14 years, 5 months ago) by jongui
File MIME type: text/x-python
File size: 455 byte(s)
drivers added
1 jongui 889 from scene import Scene
2     from datacollector import DataCollector
3    
4     s = Scene(renderer = "vtk_online", x_size = 500, y_size = 500)
5     # Create an outline and cube axes for the rendered object. In this case
6     # the rendered object will be empty as nothing has been specified.
7     dc = DataCollector(scene = s, outline = True, cube_axes = True)
8     # The file from which data is to be read.
9     dc.setFileName(file_name = "../test/python/data_data/interior_3D.xml")
10     s.render()

  ViewVC Help
Powered by ViewVC 1.1.26