code: def _generate_aniso_distance_computation():
      """
      Compute euclidean distance from current coordinate (ind_0, ind_1, ind_2) to
      the coordinates of the nearest point (z, y, x)."""
      return """
      F tmp = static_cast<F>(z - ind_0) * sampling[0];
      F sq_dist = tmp * tmp;
      tmp = static_cast<F>(y - ind_1) * sampling[1];
      sq_dist += tmp * tmp;
      tmp = static_cast<F>(x - ind_2) * sampling[2];
      sq_dist += tmp * tmp;
      dist[i] = sqrt(static_cast<F>(sq_dist));
      """
  
imports: import math
  import os
  import cupy
  import numpy
  from ._util import _get_inttype
  from ._pba_2d import _check_distances, _check_indices, _distance_tranform_arg_check, _generate_indices_ops, _generate_shape, _get_block_size, lcm
label_desc: Use image node_id 11 for calling a global function with example usage: _generate_aniso_distance_computation() and returns: str