code: def translation_vector(self, vec):
      assert isinstance(vec, np.ndarray)
      assert vec.shape == (3,)
      assert vec.dtype == np.float32
      self._translation_vector = vec
  
imports: import numpy
  from geometry import transformations
label_desc: Use image node_id 7 for calling the Translation obj's underlying member method code with example usage: obj.translation_vector(vec) without return types