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

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

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

revision 943 by jongui, Mon Jan 29 07:22:43 2007 UTC revision 947 by jongui, Wed Jan 31 07:17:43 2007 UTC
# Line 17  class Glyph3D: Line 17  class Glyph3D:
17          @param object: Input for the 3D glyph          @param object: Input for the 3D glyph
18          @type source: vtkPolyData            @type source: vtkPolyData  
19          @param source: Source for the 3D glyph (i.e. Arrow2D, Arrow3D, etc)          @param source: Source for the 3D glyph (i.e. Arrow2D, Arrow3D, etc)
20          @type range: Two column list          @type range: Two column tuple
21          @param range: Range to map scalar values into          @param range: Range to map scalar values
22          """          """
23    
24          self.__object = object          self.__object = object
# Line 29  class Glyph3D: Line 29  class Glyph3D:
29          self.__setInput()          self.__setInput()
30          self.__setSource()          self.__setSource()
31          self.setScaleModeByVector()          self.setScaleModeByVector()
         #self.setColorModeByVector()  
32          self.__setVectorModeByVector()          self.__setVectorModeByVector()
33          self.__setClampingOn()          self.__setClampingOn()
34    
35          self.__setScalingOn()          self.__setScalingOn()
36          self.__setOrientOn()          self.__setOrientOn()
37          self.__setRange()          self.__setRange()
         self.__output = self.__vtk_glyph3D.GetOutput()  
38    
39      def __setInput(self):      def __setInput(self):
40          """          """
# Line 132  class Glyph3D: Line 131  class Glyph3D:
131          @return Polygonal data          @return Polygonal data
132          """          """
133    
134          return self.__output          return self.__vtk_glyph3D.GetOutput()
135    
136    
137  class TensorGlyph:  class TensorGlyph:

Legend:
Removed from v.943  
changed lines
  Added in v.947

  ViewVC Help
Powered by ViewVC 1.1.26