Trilinear interpolation of voxels.