warp.volume_world_to_index#

warp.volume_world_to_index(id: uint64, xyz: vec3f) vec3f#
  • Kernel

  • Python

  • Differentiable

Transform a point xyz defined in volume world space to the volume’s index space given the volume’s intrinsic affine transformation.

warp.volume_world_to_index(id: uint64, xyz: vec3d) vec3d
  • Kernel

  • Python

  • Differentiable

Transform a point xyz defined in volume world space to index space, using double precision.