class neuroglancer.viewer_state.SegmentationLayer(Layer)

Public members

SegmentationLayer(*args**kwargs)

Initialize self. See help(type(self)) for accurate signature.

sourceLayerDataSources
starred_segmentsStarredSegments
visible_segments
segments
equivalences
hide_segment_zerobool
hideSegmentZerobool
hover_highlightbool
hoverHighlightbool
base_segment_coloringbool
baseSegmentColoringbool
selected_alphafloat
selectedAlphafloat
not_selected_alphafloat
notSelectedAlphafloat
object_alphafloat
objectAlphafloat
saturationfloat
ignore_null_visible_setbool
ignoreNullVisibleSetbool
skeleton_renderingSkeletonRenderingOptions
skeletonRenderingSkeletonRenderingOptions
skeleton_shader
skeletonShader
color_seedint
colorSeedint
cross_section_render_scalefloat
crossSectionRenderScalefloat
mesh_render_scalefloat
meshRenderScalefloat
mesh_silhouette_renderingfloat
meshSilhouetteRenderingfloat
segment_querystr | None
segmentQuerystr | None
segment_colorsMap[uint64, str]
segmentColorsMap[uint64, str]
segment_default_colorstr | None
segmentDefaultColorstr | None
segment_html_color_dict

Returns a dictionary whose keys are segments and values are the 6-digit hex strings representing the colors of those segments given the current color seed

linked_segmentation_groupstr | None
linkedSegmentationGroupstr | None
linked_segmentation_color_group
linkedSegmentationColorGroup
static interpolate(abt)
typestr | None
local_dimensionsCoordinateSpace
localDimensionsCoordinateSpace
local_positionNDArray[float32] | None
localPositionNDArray[float32] | None
local_velocityMap[str, DimensionPlaybackVelocity]
localVelocityMap[str, DimensionPlaybackVelocity]
tabstr | None
panelsList[LayerSidePanelState]
pickbool | None
tool_bindingsMap[str, Tool]
toolTool | None
to_json()
__eq__(other)

Return self==value.

__repr__()

Return repr(self).

annotation_colorstr | None
annotationColorstr | None