class neuroglancer.viewer_state.LayerSelectionState

Represents the selection state for a single layer.

Public members

local_position: NDArray[float32] | None
value: None | Number | SegmentIdMapEntry
annotation_id: str | None
annotationId: str | None
annotation_part: int | None
annotationPart: int | None
annotation_subsource: str | None
annotationSubsource: str | None
LayerSelectionState(json_data=None, _readonly=False, **kwargs)

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

to_json()
__eq__(other)

Return self==value.

__repr__()

Return repr(self).