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='4116008672'>¶
-
occlusion= <MagicMock name='mock.Boolean()' id='4116008864'>¶
-
light= <MagicMock name='mock.Boolean()' id='4116008936'>¶
-
lightPos= <MagicMock name='mock.Point()' id='4116078656'>¶
-
lightDistance= <MagicMock name='mock.Real()' id='4116078704'>¶
-
showLight= <MagicMock name='mock.Boolean()' id='4116078752'>¶
-
offset= <MagicMock name='mock.Point()' id='4116078800'>¶
-
rotation= <MagicMock name='mock.Array()' id='4116078848'>¶
-
__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.
-
__module__= 'fsleyes.displaycontext.scene3dopts'¶
-