fsleyes.gl.wxgllightboxcanvas
This module provides the WXGLSliceCanvas class, which is a
SliceCanvas for use in a wx application.
- class fsleyes.gl.wxgllightboxcanvas.WXGLLightBoxCanvas(parent, overlayList, displayCtx, zax=0)[source]
Bases:
fsleyes.gl.lightboxcanvas.LightBoxCanvas,fsleyes.gl.WXGLCanvasTarget,__main__.docbuilder.run.<locals>.MockClassThe
WXGLLightBoxCanvasis aLightBoxCanvas, awx.glcanvas.GLCanvasand aWXGLCanvasTarget. If you want to use aLightBoxCanvasin yourwxapplication, then you should use aWXGLLightBoxCanvas.Note
The
WXGLLightBoxCanvasassumes the existence of theLightBoxCanvas._updateDisplayBounds()method.- __metaclass__ = <MagicMock name='mock.siplib.wrappertype' id='139881571845312'>
- __init__(parent, overlayList, displayCtx, zax=0)[source]
Create a
WXGLLightBoxCanvas. SeeLightBoxCanvas.__init__()for details on the arguments.
- destroy()[source]
Must be called when this
WXGLLightBoxCanvasis no longer needed. Clears some event listeners and calls the base classdestroymethod.
- __annotations__ = {}
- __module__ = 'fsleyes.gl.wxgllightboxcanvas'