code: def __left_click_centroid_callback(self, obj, event):
      self.__centroid_actors[obj][
          "selected"
      ] = not self.__centroid_actors[obj]["selected"]
      self.__cluster_actors[self.__centroid_actors[obj]["actor"]][
          "selected"
      ] = self.__centroid_actors[obj]["selected"]
      # TODO: Find another way to rerender
      self.__show_man.render()
  
file_path: dipy/dipy/viz/horizon/visualizer/cluster.py
imports: import numpy
  from dipy.segment.clustering import qbx_and_merge
  from dipy.tracking.streamline import length
  from dipy.utils.optpkg import optional_package
label_desc: Use image node_id 3 for calling the ClustersVisualizer obj's underlying member method code with example usage: obj.__left_click_centroid_callback(obj, event) without return types