class neuroglancer.LocalVolume(ChangeNotifier)

Exposes a local array as a Neuroglancer data source.

Public members

LocalVolume(data, dimensions=None, volume_type=None, ...)

Initializes a LocalVolume.

info()
get_encoded_subvolume(data_format, start, end, scale_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_count: int

Total number of changes that have occurred.