warp.volume_world_to_index_dir#

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

  • Python

  • Differentiable

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