Package esys :: Package pyvisi :: Package renderers :: Package vtk :: Module ball_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 the abstract Plot class
  render(self)
Does BallPlot specific rendering tasks
  setData(self, points, fname, format, radii, colors, tags)
Set data to the plot
    Inherited from Plot
  setLabel(self, axis, label)
Set the label of a given axis
  setTitle(self, title)
Set the plot title
  setXLabel(self, label)
Set the label of the x-axis
  setYLabel(self, label)
Set the label of the y-axis
  setZLabel(self, label)
Set the label of the z-axis
    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 the abstract Plot class
Parameters:
scene - The Scene to render the plot in
           (type=Scene object)
Overrides:
esys.pyvisi.renderers.vtk.plot.Plot.__init__ (inherited documentation)

render(self)

Does BallPlot specific rendering tasks
Overrides:
esys.pyvisi.renderers.vtk.plot.Plot.render

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

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

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