fsleyes.displaycontext.lightboxopts

This module provides the LightBoxOpts class, which is used by LightBoxPanel instances for managing their display settings.

class fsleyes.displaycontext.lightboxopts.LightBoxOpts(*args, **kwargs)[source]

Bases: fsleyes.displaycontext.sceneopts.SceneOpts

The LightBoxOpts class contains display settings for the LightBoxPanel class.

All of the properties in the LightBoxOpts class are defined in the LightBoxCanvasOpts class - see its documentation for more details.

sliceSpacing = <MagicMock name='mock.Real()' id='139861881343760'>
ncols = <MagicMock name='mock.Int()' id='139861881343904'>
nrows = <MagicMock name='mock.Int()' id='139861881343952'>
topRow = <MagicMock name='mock.Int()' id='139861881343568'>
zrange = <MagicMock name='mock.Bounds()' id='139861881343520'>
showGridLines = <MagicMock name='mock.Boolean()' id='139861881343424'>
highlightSlice = <MagicMock name='mock.Boolean()' id='139861881343376'>
__init__(*args, **kwargs)[source]

Create a LightBoxOpts instance. All arguments are passed through to the SceneOpts constructor.

The SceneOpts.zoom attribute is modified, as LightBoxPanel uses it slightly differently to the OrthoPanel.

zax = <MagicMock name='mock.Choice()' id='139861881343856'>
__module__ = 'fsleyes.displaycontext.lightboxopts'
_onPerformanceChange(*a)[source]

Overrides SceneOpts._onPerformanceChange(). Changes the value of the renderMode and highDpi properties according to the performance setting.