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.SceneOpts
The
Scene3DOpts
class contains display settings for theScene3DPanel
class.All of the properties in the
Scene3DOpts
class are defined in theScene3DCanvasOpts
class - see its documentation for more details.- showLegend = <MagicMock name='mock.Boolean()' id='140735756238608'>
- occlusion = <MagicMock name='mock.Boolean()' id='140735756238512'>
- light = <MagicMock name='mock.Boolean()' id='140735756238464'>
- lightPos = <MagicMock name='mock.Point()' id='140735756238416'>
- lightDistance = <MagicMock name='mock.Real()' id='140735756238320'>
- showLight = <MagicMock name='mock.Boolean()' id='140735756238224'>
- offset = <MagicMock name='mock.Point()' id='140735756238128'>
- rotation = <MagicMock name='mock.Array()' id='140735756238032'>
- __init__(*args, **kwargs)[source]
Create a
Scene3DCanvasOpts
instance. All arguments are passed through to theSceneOpts
constructor.
- _onPerformanceChange(*a)[source]
Overrides
SceneOpts._onPerformanceChange()
. Changes the value of thehighDpi
property according to the performance setting.
- __annotations__ = {}
- __module__ = 'fsleyes.displaycontext.scene3dopts'