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

Contents of /trunk/pyvisi/drivers/driverimage.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 889 - (show annotations)
Tue Nov 7 23:42:31 2006 UTC (12 years, 6 months ago) by jongui
File MIME type: text/x-python
File size: 242 byte(s)
drivers added
1 from scene import Scene
2 from image import Image
3
4 s = Scene(renderer = "vtk_online", x_size = 800, y_size = 600)
5 # Display an image.
6 i = Image(scene = s, format = "jpeg")
7 i.setFileName("../test/python/data_data/Flinders_eval.jpg" )
8 s.render()

  ViewVC Help
Powered by ViewVC 1.1.26