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>.MockClass
The
WXGLLightBoxCanvas
is aLightBoxCanvas
, awx.glcanvas.GLCanvas
and aWXGLCanvasTarget
. If you want to use aLightBoxCanvas
in yourwx
application, then you should use aWXGLLightBoxCanvas
.Note
The
WXGLLightBoxCanvas
assumes the existence of theLightBoxCanvas._updateDisplayBounds()
method.- __metaclass__ = <MagicMock name='mock.siplib.wrappertype' id='140604700048928'>¶
- __init__(parent, overlayList, displayCtx, zax=0)[source]¶
Create a
WXGLLightBoxCanvas
. SeeLightBoxCanvas.__init__()
for details on the arguments.
- destroy()[source]¶
Must be called when this
WXGLLightBoxCanvas
is no longer needed. Clears some event listeners and calls the base classdestroy
method.
- __annotations__ = {}¶
- __module__ = 'fsleyes.gl.wxgllightboxcanvas'¶