/[escript]/trunk/pyvisi/py_src/scene.py
ViewVC logotype

Diff of /trunk/pyvisi/py_src/scene.py

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

revision 839 by jongui, Wed Sep 6 04:53:50 2006 UTC revision 845 by jongui, Fri Sep 8 07:13:01 2006 UTC
# Line 10  class Scene: Line 10  class Scene:
10      Class that defines a scene in which components are displayed.      Class that defines a scene in which components are displayed.
11      """      """
12    
13      def __init__(self, renderer = "vtk-online", x_size = 800, y_size = 600):      def __init__(self, renderer = "vtk_online", x_size = 800, y_size = 600):
14          """          """
15          Initialize all the instance variables.          Initialize all the instance variables.
16    
# Line 29  class Scene: Line 29  class Scene:
29          self.vtk_renderer = None          self.vtk_renderer = None
30          self.vtk_render_window = None          self.vtk_render_window = None
31    
32          if(renderer == "vtk-online"):          if(renderer == "vtk_online"):
33              self.setRenderingWindow()              self.setRenderingWindow()
34    
35      def setRenderingWindow(self):      def setRenderingWindow(self):

Legend:
Removed from v.839  
changed lines
  Added in v.845

  ViewVC Help
Powered by ViewVC 1.1.26