This module provides a Qt widget embedding an OpenGL scene.
Bases: PyQt4.QtOpenGL.QGLWidget
QGLWidget with a 3D viewport and an overview.
Change the projection in use.
Parameters: | projection (str) – In ‘perspective’, ‘orthographic’. |
---|
Return the current camera projection mode as a str.
See setProjection()
Set the background color of the OpenGL view.
Parameters: | color (QColor, str or array-like of 3 or 4 float in [0., 1.] or uint8) – RGB color of the isosurface: name, #RRGGBB or RGB values |
---|