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)[source]
Bases:
fsleyes.displaycontext.sceneopts.SceneOptsThe
Scene3DOptsclass contains display settings for theScene3DPanelclass.All of the properties in the
Scene3DOptsclass are defined in theScene3DCanvasOptsclass - see its documentation for more details.- showLegend = <MagicMock name='mock.Boolean()' id='139881573136704'>
- occlusion = <MagicMock name='mock.Boolean()' id='139881573136608'>
- light = <MagicMock name='mock.Boolean()' id='139881573136560'>
- lightPos = <MagicMock name='mock.Point()' id='139881573136512'>
- lightDistance = <MagicMock name='mock.Real()' id='139881573136416'>
- showLight = <MagicMock name='mock.Boolean()' id='139881573136320'>
- offset = <MagicMock name='mock.Point()' id='139881573124704'>
- rotation = <MagicMock name='mock.Array()' id='139881573124800'>
- __init__(*args, **kwargs)[source]
Create a
Scene3DCanvasOptsinstance. All arguments are passed through to theSceneOptsconstructor.
- _onPerformanceChange(*a)[source]
Overrides
SceneOpts._onPerformanceChange(). Changes the value of thehighDpiproperty according to the performance setting.
- __annotations__ = {}
- __module__ = 'fsleyes.displaycontext.scene3dopts'