class neuroglancer.LocalVolume(ChangeNotifier)

Exposes a local array as a Neuroglancer data source.

Public members

LocalVolume(datadimensions=Nonevolume_type=None...)

Initializes a LocalVolume.

info()
get_encoded_subvolume(data_formatstartendscale_key)
get_object_mesh(object_id)
__deepcopy__(memo)

Since this type is immutable, we don’t need to deepcopy it.

invalidate()

Mark the data invalidated. Clients will refetch the volume.

add_changed_callback(callback: Callable[[], None])

Registers a callback to be invoked when the state changes.

remove_changed_callback(callback: Callable[[], None])

Removes a previously-registered callback.

change_countint

Total number of changes that have occurred.