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

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

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

revision 1057 by jongui, Thu Mar 22 23:57:37 2007 UTC revision 1075 by jongui, Tue Apr 3 02:47:39 2007 UTC
# Line 30  class Ellipsoid(DataSetMapper, Actor3D, Line 30  class Ellipsoid(DataSetMapper, Actor3D,
30      def __init__(self, scene, data_collector, viewport = Viewport.SOUTH_WEST,      def __init__(self, scene, data_collector, viewport = Viewport.SOUTH_WEST,
31              lut = Lut.COLOR, cell_to_point = False, outline = True):              lut = Lut.COLOR, cell_to_point = False, outline = True):
32          """          """
33            Initialise the Ellipsoid.
34    
35            @attention: The source can either be point or cell data. If the
36            source is cell data, a conversion to point data may or may not be
37            required, in order for the object to be rendered correctly.
38            If a conversion is needed, the 'cell_to_point' flag must be set to
39            'True', otherwise 'False' (which is the default).
40    
41          @type scene: L{Scene <scene.Scene>} object          @type scene: L{Scene <scene.Scene>} object
42          @param scene: Scene in which objects are to be rendered on          @param scene: Scene in which objects are to be rendered on
43          @type data_collector: L{DataCollector <datacollector.DataCollector>}          @type data_collector: L{DataCollector <datacollector.DataCollector>}
# Line 125  class EllipsoidOnPlaneCut(DataSetMapper, Line 133  class EllipsoidOnPlaneCut(DataSetMapper,
133      def __init__(self, scene, data_collector, viewport = Viewport.SOUTH_WEST,      def __init__(self, scene, data_collector, viewport = Viewport.SOUTH_WEST,
134              lut = Lut.COLOR, cell_to_point = False, outline = True):              lut = Lut.COLOR, cell_to_point = False, outline = True):
135          """          """
136            Initialise the EllipsoidOnPlaneCut.
137    
138            @attention: The source can either be point or cell data. If the
139            source is cell data, a conversion to point data may or may not be
140            required, in order for the object to be rendered correctly.
141            If a conversion is needed, the 'cell_to_point' flag must be set to
142            'True', otherwise 'False' (which is the default).
143    
144          @type scene: L{Scene <scene.Scene>} object          @type scene: L{Scene <scene.Scene>} object
145          @param scene: Scene in which objects are to be rendered on          @param scene: Scene in which objects are to be rendered on
146          @type data_collector: L{DataCollector <datacollector.DataCollector>}          @type data_collector: L{DataCollector <datacollector.DataCollector>}
# Line 228  class EllipsoidOnPlaneClip(DataSetMapper Line 244  class EllipsoidOnPlaneClip(DataSetMapper
244      def __init__(self, scene, data_collector, viewport = Viewport.SOUTH_WEST,      def __init__(self, scene, data_collector, viewport = Viewport.SOUTH_WEST,
245              lut = Lut.COLOR, cell_to_point = False, outline = True):              lut = Lut.COLOR, cell_to_point = False, outline = True):
246          """          """
247            Initialise the EllipsoidOnPlaneClip.
248    
249            @attention: The source can either be point or cell data. If the
250            source is cell data, a conversion to point data may or may not be
251            required, in order for the object to be rendered correctly.
252            If a conversion is needed, the 'cell_to_point' flag must be set to
253            'True', otherwise 'False' (which is the default).
254    
255          @type scene: L{Scene <scene.Scene>} object          @type scene: L{Scene <scene.Scene>} object
256          @param scene: Scene in which objects are to be rendered on          @param scene: Scene in which objects are to be rendered on
257          @type data_collector: L{DataCollector <datacollector.DataCollector>}          @type data_collector: L{DataCollector <datacollector.DataCollector>}

Legend:
Removed from v.1057  
changed lines
  Added in v.1075

  ViewVC Help
Powered by ViewVC 1.1.26