| Trees | Indices | Help |
|
|---|
|
|
object --+
|
common.Primitive --+
|
SphereCore
Base class for Sphere and MaestroSphere classes.
See doc string for __init__ for details on instantiation.
Spheres should be added to a SphereGroup and drawing done via SphereGroup. See SphereGroup documentation.
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
_blend = Nonehash(x) |
|||
_smooth_point = Nonehash(x) |
|||
_cull = Nonehash(x) |
|||
_lighting = Nonehash(x) |
|||
_lighting_model = Nonehash(x) |
|||
_shading_model = Nonehash(x) |
|||
|
|||
|
|||
Constructor requires:
x, y, z: coordinate specifying center of sphere in Angstroms.
color: One of:
Color object
Color name (string)
Tuble of (R, G, B) (each 0.0-1.0)
radius: radius of the sphere in Angstroms
Optional arguments:
opacity: 0.0 (transparent) through 1.0 (opaque)
Defaults to 1.0
resolution: 4 to 50
Defaults to 16
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 3 07:59:54 2016 | http://epydoc.sourceforge.net |