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

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

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

revision 1153 by jongui, Thu May 17 06:33:54 2007 UTC revision 1197 by jongui, Mon Jun 18 02:08:34 2007 UTC
# Line 1  Line 1 
1  """  """
2  @author: John NGUI  @var __author__: name of author
3    @var __copyright__: copyrights
4    @var __license__: licence agreement
5    @var __url__: url entry point on documentation
6    @var __version__: version
7    @var __date__: date of the version
8  """  """
9    
10    __author__="John Ngui, john.ngui@uq.edu.au"
11    __copyright__="""  Copyright (c) 2006 by ACcESS MNRF
12                        http://www.access.edu.au
13                    Primary Business: Queensland, Australia"""
14    __license__="""Licensed under the Open Software License version 3.0
15                 http://www.opensource.org/licenses/osl-3.0.php"""
16    __url__="http://www.iservo.edu.au/esys"
17    __version__="$Revision$"
18    __date__="$Date$"
19    
20    
21  import vtk  import vtk
22    
23  class Actor3D:  class Actor3D:
# Line 65  class Actor3D: Line 81  class Actor3D:
81          # NOTE: Must be used before actor.GetProperty().SetColor()          # NOTE: Must be used before actor.GetProperty().SetColor()
82          # in order for the change of color to take effect.          # in order for the change of color to take effect.
83          self.__mapper.ScalarVisibilityOff()          self.__mapper.ScalarVisibilityOff()
   
84          self.__vtk_actor3D.GetProperty().SetColor(color)          self.__vtk_actor3D.GetProperty().SetColor(color)
85    
86      def setRepresentationToWireframe(self):      def setRepresentationToWireframe(self):

Legend:
Removed from v.1153  
changed lines
  Added in v.1197

  ViewVC Help
Powered by ViewVC 1.1.26