/[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 1078 by jongui, Tue Apr 3 02:47:39 2007 UTC revision 1079 by jongui, Tue Apr 10 04:27:31 2007 UTC
# Line 42  class Ellipsoid(DataSetMapper, Actor3D, Line 42  class Ellipsoid(DataSetMapper, Actor3D,
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>}
44                  object                  object
45          @param data_collector: Deal with source of data for visualisation          @param data_collector: Deal with source of data for vizualisation
46          @type viewport: L{Viewport <constant.Viewport>} constant          @type viewport: L{Viewport <constant.Viewport>} constant
47          @param viewport: Viewport in which objects are to be rendered on          @param viewport: Viewport in which objects are to be rendered on
48          @type lut : L{Lut <constant.Lut>} constant          @type lut : L{Lut <constant.Lut>} constant
# Line 145  class EllipsoidOnPlaneCut(DataSetMapper, Line 145  class EllipsoidOnPlaneCut(DataSetMapper,
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>}
147                  object                  object
148          @param data_collector: Deal with source of data for visualisation          @param data_collector: Deal with source of data for vizualisation
149          @type viewport: L{Viewport <constant.Viewport>} constant          @type viewport: L{Viewport <constant.Viewport>} constant
150          @param viewport: Viewport in which objects are to be rendered on          @param viewport: Viewport in which objects are to be rendered on
151          @type lut : L{Lut <constant.Lut>} constant          @type lut : L{Lut <constant.Lut>} constant
# Line 202  class EllipsoidOnPlaneCut(DataSetMapper, Line 202  class EllipsoidOnPlaneCut(DataSetMapper,
202                      Plane._getPlane(self))                        Plane._getPlane(self))  
203    
204          MaskPoints.__init__(self, Cutter._getOutput(self))          MaskPoints.__init__(self, Cutter._getOutput(self))
   
205          Sphere.__init__(self)          Sphere.__init__(self)
206    
207          TensorGlyph.__init__(self, MaskPoints._getOutput(self),          TensorGlyph.__init__(self, MaskPoints._getOutput(self),
208                  Sphere._getOutput(self))                  Sphere._getOutput(self))
209          Normals.__init__(self, TensorGlyph._getOutput(self))          Normals.__init__(self, TensorGlyph._getOutput(self))
210    
   
   
   
211          DataSetMapper.__init__(self, Normals._getOutput(self),          DataSetMapper.__init__(self, Normals._getOutput(self),
212                  lookup_table._getLookupTable())                  lookup_table._getLookupTable())
213          DataSetMapper._setScalarRange(self, data_collector._getScalarRange())          DataSetMapper._setScalarRange(self, data_collector._getScalarRange())
# Line 316  class EllipsoidOnPlaneClip(DataSetMapper Line 312  class EllipsoidOnPlaneClip(DataSetMapper
312              Clipper._setClipFunction(self)              Clipper._setClipFunction(self)
313    
314          MaskPoints.__init__(self, Clipper._getOutput(self))          MaskPoints.__init__(self, Clipper._getOutput(self))
   
315          Sphere.__init__(self)          Sphere.__init__(self)
316          TensorGlyph.__init__(self, MaskPoints._getOutput(self),          TensorGlyph.__init__(self, MaskPoints._getOutput(self),
317                  Sphere._getOutput(self))                  Sphere._getOutput(self))
318    
319          Normals.__init__(self, TensorGlyph._getOutput(self))          Normals.__init__(self, TensorGlyph._getOutput(self))
   
320          DataSetMapper.__init__(self, Normals._getOutput(self),          DataSetMapper.__init__(self, Normals._getOutput(self),
321              lookup_table._getLookupTable())              lookup_table._getLookupTable())
322          DataSetMapper._setScalarRange(self, data_collector._getScalarRange())          DataSetMapper._setScalarRange(self, data_collector._getScalarRange())

Legend:
Removed from v.1078  
changed lines
  Added in v.1079

  ViewVC Help
Powered by ViewVC 1.1.26