fsleyes.controls.overlaydisplaywidgets¶
This module is used by the OverlayDisplayPanel. It contains
definitions of all the settings that are displayed on the
OverlayDisplayPanel for each overlay type.
It also contains functions which create customised widgets, for scenarios
where a widget does not directly map to a Display or
DisplayOpts property.
_initPropertyList_[DisplayOptsType]
_init3DPropertyList_[DisplayOptsType]
_initWidgetSpec_[DisplayOptsType]
_init3DWidgetSpec_[DisplayOptsType]
-
fsleyes.controls.overlaydisplaywidgets._getThing(target, prefix, thingDict, *args, **kwargs)[source]¶
-
fsleyes.controls.overlaydisplaywidgets._ColourMapOpts_ColourMapWidget(target, parent, panel, overlayList, displayCtx, threedee)[source]¶ Builds a panel which contains widgets for controlling the
ColourMapOpts.cmap,ColourMapOpts.negativeCmap, andColourMapOpts.useNegativeCmap.- Returns
A
wx.Sizercontaining all of the widgets, and a list containing the extra widgets that were added.
-
fsleyes.controls.overlaydisplaywidgets._NiftiOpts_VolumeWidget(target, parent, panel, overlayList, displayCtx, threedee)[source]¶ Builds a panel which contains widgets for the
NiftiOpts.volumeandNiftiOpts.volumeDimproperties.
-
fsleyes.controls.overlaydisplaywidgets._VolumeOpts_OverrideDataRangeWidget(target, parent, panel, overlayList, displayCtx, threedee)[source]¶ Builds a panel which contains widgets for enabling and adjusting the
VolumeOpts.overrideDataRange.- Returns
a
wx.Sizercontaining all of the widgets.
-
fsleyes.controls.overlaydisplaywidgets._VolumeOpts_3DClipPlanes(target, parent, panel, overlayList, displayCtx, threedee)[source]¶ Generates widget specifications for the
VolumeOpts3D settings. A different number of widgets are shown depending on the value of theVolumeOpts.numClipPlanessetting.
-
fsleyes.controls.overlaydisplaywidgets._MeshOpts_vertexDataWidget(target, parent, panel, overlayList, displayCtx, threedee)[source]¶ Builds a panel which contains a widget for controlling the
MeshOpts.vertexDataproperty, and also has a button which opens a file dialog, allowing the user to select other data.
-
fsleyes.controls.overlaydisplaywidgets._MeshOpts_vertexSetWidget(target, parent, panel, overlayList, displayCtx, threedee)[source]¶ Builds a panel which contains a widget for controlling the
MeshOpts.vertexSetproperty, and also has a button which opens a file dialog, allowing the user to select other data.
-
fsleyes.controls.overlaydisplaywidgets._MeshOpts_LutWidget(target, parent, panel, overlayList, displayCtx, threedee)[source]¶ Builds a panel which contains the provided
MeshOpts.lutwidget, and also a widget forMeshOpts.useLut.