class neuroglancer.viewer_state.CrossSectionMap

Public members

static interpolate(abt)
CrossSectionMap(json_data=None_readonly=False)

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

clear()

Clears the map.

keys(-> KeysView[str]

Returns a dynamic view of the keys in 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: strdefault: CrossSection-> CrossSection
get[T](key: strdefault: T-> CrossSection | T

Returns the mapped value, or the specified default.

__len__(-> int

Returns the number of entries in the map.

__getitem__(key: str-> CrossSection

Returns the mapped value associated with the specified key.

__setitem__(key: strvalue: CrossSection)

Sets the specified key to the specified value.

__delitem__(key: str)

Deletes the entry with the specified key.

to_json()
__eq__(other)

Return self==value.

__repr__()

Return repr(self).