This module provides a Qt widget embedding an OpenGL scene.
Bases: silx.gui._glutils.OpenGLWidget.OpenGLWidget
OpenGL widget with a 3D viewport and an overview.
Signal emitted when the interactive mode has changed
Set the interactive mode.
Parameters: | mode (str) – The interactive mode: ‘rotate’, ‘pan’ or None |
---|
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 |
---|
Returns True if the orientation indicator is displayed.
Return type: | bool |
---|
Set the orientation indicator visibility.
Parameters: | visible (bool) – True to show |
---|