Plot3DWindow
: OpenGL scene and toolbar¶
This module provides a QMainWindow with a 3D scene and associated toolbar.
Plot3DWindow
¶
-
class
Plot3DWindow
(parent=None)[source]¶ Bases:
PySide.QtGui.QMainWindow
OpenGL widget with a 3D viewport and an overview.
-
setProjection
(projection)[source]¶ Change the projection in use.
Parameters: projection (str) – In ‘perspective’, ‘orthographic’.
-
getProjection
()[source]¶ Return the current camera projection mode as a str.
See
setProjection()
-