widget_openGL

Module Contents

Classes

class Widget_openGL(parent=None)

Bases: PyQt5.QtWidgets.QOpenGLWidget

Interface that provides opengl capabilities. Ensures zoom, light, rotation, etc.

sizeHint()
minimumSizeHint()
set_deviceDrawer(theDeviceDrawer)

Set a drawer optimeed.visualize.widgets.openGL.deviceDrawerInterface.DeviceDrawerInterface

set_deviceToDraw(theDeviceToDraw)

Set the device to draw

initializeGL()
paintGL()
resizeGL(w, h)
mousePressEvent(event)
mouseMoveEvent(event)
keyPressEvent(event)
wheelEvent(QWheelEvent)