widget_openGL

Module Contents

class widget_openGL(parent=None)[source]

Bases: PyQt5.QtWidgets.QOpenGLWidget

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

sizeHint(self)[source]
minimumSizeHint(self)[source]
set_deviceDrawer(self, theDeviceDrawer)[source]

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

set_deviceToDraw(self, theDeviceToDraw)[source]

Set the device to draw optimeed.InterfaceDevice.InterfaceDevice

static _get_specialButtonsMapping()[source]
initializeGL(self)[source]
paintGL(self)[source]
resizeGL(self, w, h)[source]
mousePressEvent(self, event)[source]
mouseMoveEvent(self, event)[source]
keyPressEvent(self, event)[source]
wheelEvent(self, QWheelEvent)[source]