widget_openGL

Module Contents

class widget_openGL(parent=None)

Bases: PyQt5.QtWidgets.QOpenGLWidget

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

sizeHint(self)
minimumSizeHint(self)
set_deviceDrawer(self, theDeviceDrawer)

Set a drawer optimeed.visualize.gui.widgets.openGLWidget.DeviceDrawerInterface.DeviceDrawerInterface

set_deviceToDraw(self, theDeviceToDraw)

Set the device to draw optimeed.InterfaceDevice.InterfaceDevice

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