/[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 802 by gross, Wed Aug 9 09:21:00 2006 UTC revision 803 by gross, Wed Aug 9 23:18:05 2006 UTC
# Line 28  def Scene(Component): Line 28  def Scene(Component):
28     """     """
29     a scene for visualization     a scene for visualization
30     """     """
31     def __init__(self,x_size,y_size)     def __init__(self,x_size,y_size):
32        super(Scene, self).__init__()        super(Scene, self).__init__()
33        self.x_size=x_size        self.x_size=x_size
34        self.y_size=y_size        self.y_size=y_size
# Line 106  class VTKScene(Scene): Line 106  class VTKScene(Scene):
106             comp._render=renderArrow             comp._render=renderArrow
107          self.__comps.append(comp)          self.__comps.append(comp)
108    
109     def render(self,filename=None,wait=False):      def render(self,filename=None,wait=False):
110        """        """
111        renders the scene. If filename is present the file is rendered in the file filename        renders the scene. If filename is present the file is rendered in the file filename
112        """        """

Legend:
Removed from v.802  
changed lines
  Added in v.803

  ViewVC Help
Powered by ViewVC 1.1.26