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

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

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

revision 1197 by jongui, Mon Jun 18 02:08:34 2007 UTC revision 1199 by jongui, Wed Jun 20 05:01:30 2007 UTC
# Line 23  from position import GlobalPosition Line 23  from position import GlobalPosition
23    
24  class Plane:  class Plane:
25      """      """
26      Class that defines a plane that cuts/clips rendered objects.      Class that defines a plane that cuts or clips rendered objects.
27      """      """
28    
29      def __init__(self):      def __init__(self):
# Line 97  class PlaneSource: Line 97  class PlaneSource:
97      def __init__(self):      def __init__(self):
98          """          """
99          Initialise the plane source. A plane source is defined by an origin          Initialise the plane source. A plane source is defined by an origin
100          and two other points, which form the axes. By default the origin is          and two other points, which form the axes (X and Y). By default the
101          set to (0, 0, 0) and the two points are set to (1, 0, 0) and (0, 1, 0).          origin is set to (0, 0, 0) and the two points are set to (1, 0, 0)
102            and (0, 1, 0).
103          """          """
104    
105          self.__vtk_plane_source = vtk.vtkPlaneSource()          self.__vtk_plane_source = vtk.vtkPlaneSource()

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

  ViewVC Help
Powered by ViewVC 1.1.26