addSphereActor()

Add a sphere actor to the scene graph.

Usage

sphActor = vis.addSphereActor( center = [0,0,0], radius = None,
                                         color = [0,1,0], text = None,
                                         pointSize = 2, lineWidth = 2,
                                         fontSize = None, vis = True,
                                         trans = False, transVal = 0.5 )

Parameters

center (array)
Center of the sphere.
radius (real)
Sphere radius.
color (list of RGB)
Sphere color.
text (string)
Sphere text.
pointSize (integer)
Sphere point size.
lineWidth (integer)
Sphere line width.
fontSize (integer)
Sphere text font size.
vis (boolean)
Sphere visibility.
trans (boolean)
Sphere transparency.
transVal (integer)
Sphere transparency value.

Return Value

sphereActor (object)
The sphere actor.

Errors

None

Description

This routine adds a sphere actor to the scene graph. For example,
sphActor = vis.addSphereActor( radius = 3 )