Package esys :: Package pyvisi :: Package renderers :: Package povray :: Module plot :: Class BallPlot
[show private | hide private]
[frames | no frames]

Type BallPlot

object --+            
         |            
      Item --+        
             |        
          Item --+    
                 |    
              Plot --+
                     |
                    BallPlot


Ball plot
Method Summary
  __init__(self, scene)
Initialisation of Plot class
  render(self)
Does BallPlot specific rendering tasks
  setData(self, points, radii, tags, colors, fname, format)
Set data to the plot
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

__init__(self, scene)
(Constructor)

Initialisation of Plot class
Parameters:
scene - the scene with which to associate the plot
           (type=Scene object)
Overrides:
esys.pyvisi.renderers.povray.plot.Plot.__init__ (inherited documentation)

render(self)

Does BallPlot specific rendering tasks
Overrides:
esys.pyvisi.item.Item.render

setData(self, points=None, radii=None, tags=None, colors=None, fname=None, format=None)

Set data to the plot
Parameters:
points - the array to use for the points of the sphere locations in space
           (type=float array)
radii - the name of the scalar array in the vtk unstructured grid to use as the radii of the balls
           (type=float array)
tags - the name of the scalar array in the vtk unstructured grid to use as the colour of the tags of the balls
           (type=integer array)
colors - the name of the scalar array in the vtk unstructured grid to use as the colour tags of the balls
           (type=string)
fname - the name of the input vtk file
           (type=string)
format - the format of the input vtk file ('vtk' or 'vtk-xml')
           (type=string)
Overrides:
esys.pyvisi.renderers.povray.plot.Plot.setData

Generated by Epydoc 2.1 on Thu Apr 27 11:16:24 2006 http://epydoc.sf.net