fsleyes.displaycontext.scene3dopts

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

class fsleyes.displaycontext.scene3dopts.Scene3DOpts(*args, **kwargs)

Bases: fsleyes.displaycontext.sceneopts.SceneOpts

The Scene3DOpts class contains display settings for the Scene3DPanel class.

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

showLegend = <MagicMock name='mock.Boolean()' id='140127689062736'>
occlusion = <MagicMock name='mock.Boolean()' id='140127689062992'>
light = <MagicMock name='mock.Boolean()' id='140127689063056'>
lightPos = <MagicMock name='mock.Point()' id='140127689060880'>
offset = <MagicMock name='mock.Point()' id='140127689063248'>
rotation = <MagicMock name='mock.Array()' id='140127689063568'>
__init__(*args, **kwargs)

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

_onPerformanceChange(*a)

Overrides SceneOpts._onPerformanceChange(). Changes the value of the highDpi property according to the performance setting.

__module__ = 'fsleyes.displaycontext.scene3dopts'