Home | Trees | Indices | Help |
|
---|
|
Definitions of simple 3D graphics objects and scenes containing them, in a form that can be fed to the molecular visualization program PyMOL
Scripts that use this module, directly or indirectly, must be run from inside PyMOL, otherwise they will terminate with an error message.
This module is almost compatible with the modules VRML and VRML2, which provide visualization by VRML browsers. There are no Polygon objects, and the only material attribute supported is diffuse_color.
Example:
>>> from Scientific.Visualization.PyMOL import * >>> scene = Scene([]) >>> scale = ColorScale(10.) >>> for x in range(11): >>> color = scale(x) >>> scene.addObject(Cube(Vector(x, 0., 0.), 0.2, >>> material=Material(diffuse_color = color))) >>> scene.view()
Classes | |
Arrow Arrow |
|
Cone Cone |
|
Cube Cube |
|
Cylinder Cylinder |
|
Group Base class for composite objects |
|
Line Line |
|
Material Material specification for graphics objects |
|
Molecules Molecules from a PDB file |
|
PyMOLObject Graphics object for PyMOL |
|
Scene PyMOL scene |
|
ShapeObject Graphics objects representing geometrical shapes |
|
Sphere Sphere |
Functions | |||
Material |
|
||
Material |
|
||
|
Function Details |
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Dec 4 08:05:37 2008 | http://epydoc.sourceforge.net |