View
- class View[source]
Bases:
PySide2.QtWidgets.QOpenGLWidget
Base OpenGL view widget.
- Parameters
- app: :class:`compas_view2.app.App`
The parent application of the view.
- view_config: dict
The view configuration.
Methods
Clear the view.
Initialize the OpenGL canvas.
Callback for the key press event.
Callback for the key release event.
Callback for the mouse move event.
Callback for the mouse press event.
Callback for the release press event.
Paint the OpenGL canvas.
Resize the OpenGL canvas.
Callback for the mouse wheel event.