| Home | Trees | Index | Help |
|
|---|
| Package mmLib :: Module GLViewer :: Class OpenGLRenderMethods |
|
object --+
|
OpenGLRenderMethods
GLDrawList,
GLViewer| Method Summary | |
|---|---|
Draw a vector axis using the current set material at position with the given radius. | |
Draws atom with a cross of lines. | |
Multiplies the current matrix by rotation matrix R and translates by t | |
Creates a stock rendering material colored according to the given RGB values. | |
Draw a atom as a CPK sphere. | |
Renders a text string. | |
Translates the scene by vector t. | |
Draws a hollow tube beginning at pos1, and ending at pos2. | |
Draw the anisotropic axies of the atom at the given probability. | |
Renders the ellipsoid enclosing the given fractional probability given the gaussian variance-covariance matrix U at the given position. | |
Renders the root mean square (one standard deviation) surface of the gaussian variance-covariance matrix U at the given position. | |
| Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
| Method Details |
|---|
glr_axis(self, position, axis, radius)Draw a vector axis using the current set material at position with the given radius. |
glr_cross(self, position, color, line_width)Draws atom with a cross of lines. |
glr_mult_matrix(self, R, t=array([ 0., 0., 0.]))Multiplies the current matrix by rotation matrix R and translates by t |
glr_set_material_rgb(self, r, g, b, a)Creates a stock rendering material colored according to the given RGB values. |
glr_sphere(self, position, radius, quality)Draw a atom as a CPK sphere. |
glr_text(self, text, scale)Renders a text string. |
glr_translate(self, t)Translates the scene by vector t. |
glr_tube(self, pos1, pos2, radius)Draws a hollow tube beginning at pos1, and ending at pos2. |
glr_Uaxes(self, position, U, prob, color, line_width)Draw the anisotropic axies of the atom at the given probability. |
glr_Uellipse(self, position, U, prob)Renders the ellipsoid enclosing the given fractional probability given the gaussian variance-covariance matrix U at the given position. C=1.8724 = 68% |
glr_Urms(self, position, U)Renders the root mean square (one standard deviation) surface of the gaussian variance-covariance matrix U at the given position. This is a peanut-shaped surface. (Note: reference the peanut paper!) |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Wed Nov 24 17:34:57 2004 | http://epydoc.sf.net |