warp.volume_lookup_index#

warp.volume_lookup_index(
id: uint64,
i: int32,
j: int32,
k: int32,
) int32#
  • Kernel

  • Python

Returns the index associated to the voxel with coordinates i, j, k.

If the voxel at this index does not exist, this function returns -1. This function is available for both index grids and classical volumes.