Home | Trees | Index | Help |
|
---|
Package mmLib :: Module OpenGLDriver :: Class OpenGLDriver |
|
object
--+
|
OpenGLDriver
Method Summary | |
---|---|
__init__(self)
| |
glaccel optimized version of glr_axis. | |
glaccel_glr_sphere(self,
position,
radius,
quality)
| |
glaccel_glr_tube(self,
pos1,
pos2,
radius)
| |
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. | |
Draw a vector axis using the current set material at position with the given radius. | |
glr_begin_lines(self)
| |
glr_begin_quads(self)
| |
glr_begin_triangle_fan(self)
| |
glr_begin_triangles(self)
| |
glr_compile_current(self,
draw_method)
| |
glr_compile_delete(self,
draw_method)
| |
glr_compile_end(self)
| |
glr_compile_exists(self,
draw_method)
| |
glr_compile_render(self,
draw_method)
| |
glr_compile_start(self,
draw_method)
| |
Returns True if draw compiling is supported by the driver. | |
Draws atom with a cross of lines. | |
glr_end(self)
| |
glr_light_two_sides_disable(self)
| |
glr_light_two_sides_enable(self)
| |
glr_lighting_disable(self)
| |
glr_lighting_enable(self)
| |
Draws a single line. | |
Multiplies the current matrix by rotation matrix R and translates by t | |
Return the current matrix as a 3x3 rotation matrix R and 3x1 translation vector t. | |
glr_normal(self,
n)
| |
glr_normal3(self,
x,
y,
z)
| |
glr_normalize_disable(self)
| |
glr_normalize_enable(self)
| |
glr_pop_matrix(self)
| |
glr_push_matrix(self)
| |
Sets up lighting and OpenGL options before scene rendering. | |
glr_render_end(self)
| |
glr_rotate_axis(self,
deg,
axis)
| |
glr_set_line_width(self,
width)
| |
Creates a stock rendering material colored according to the given RGB values. | |
Creates a stock rendering material colored according to the given RGB values. | |
Draws a solid sphere. | |
Renders a text string. | |
Translates the scene by vector t. | |
glr_translate3(self,
x,
y,
z)
| |
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. | |
glr_vertex(self,
position)
| |
glr_vertex3(self,
x,
y,
z)
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
glaccel_glr_axis(self, position, axis, radius)glaccel optimized version of glr_axis. |
glaccel_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% |
glaccel_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!) |
glr_axis(self, position, axis, radius)Draw a vector axis using the current set material at position with the given radius. |
glr_compile_supported(self)Returns True if draw compiling is supported by the driver. |
glr_cross(self, position, color, line_width)Draws atom with a cross of lines. |
glr_line(self, position1, position2)Draws a single line. |
glr_mult_matrix_R(self, R)Multiplies the current matrix by rotation matrix R and translates by t |
glr_mult_matrix_Rt(self, R, t)Return the current matrix as a 3x3 rotation matrix R and 3x1 translation vector t. |
glr_render_begin(self, width=200, height=100, zoom=50, near=0, far=0, bg_color_rgbf=(0.0, 0.0, 0.0), ambient_light=1.0, diffuse_light=1.0, specular_light=1.0, gl_line_smooth=False, gl_point_smooth=False, gl_polygon_smooth=False, gl_blend=True, gl_fog=False, gl_fog_start=0.0, gl_fog_end=0.0, **args)Sets up lighting and OpenGL options before scene rendering. |
glr_set_material_rgb(self, r, g, b)Creates a stock rendering material colored according to the given RGB values. |
glr_set_material_rgba(self, r, g, b, a)Creates a stock rendering material colored according to the given RGB values. |
glr_sphere(self, position, radius, quality)Draws a solid 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.1 on Sun Apr 23 22:08:38 2006 | http://epydoc.sf.net |