- class neuroglancer.viewer_state.CrossSectionMap
Public members¶
- static interpolate(a, b, t)
-
CrossSectionMap(json_data=
None
, _readonly=False
) Initialize self. See help(type(self)) for accurate signature.
- clear()
Clears the map.
- values() -> ValuesView[CrossSection]
Returns a dynamic view of the values in the map.
- items() -> ItemsView[str, CrossSection]
Returns a dynamic view of the items in the map.
- get(key: str) -> CrossSection | None
- get(key: str, default: CrossSection) -> CrossSection
- get[T](key: str, default: T) -> CrossSection | T
Returns the mapped value, or the specified default.
- __getitem__(key: str) -> CrossSection
Returns the mapped value associated with the specified key.
- __setitem__(key: str, value: CrossSection)
Sets the specified key to the specified value.
- __delitem__(key: str)
Deletes the entry with the specified key.
- to_json()
- __repr__()
Return repr(self).