View
- class compas_view2.views.View(app, view_config)[source]
Bases:
QOpenGLWidgetBase OpenGL view widget.
- Parameters:
app (
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.
Inherited Methods