class_docstr: Internal picking handler for element-based picking.
  
  This handler is only valid for single point picking operations.
  
  Parameters
  ----------
  mode : ElementType, optional
      The element type to pick.
  callback : callable, optional
      A callback function to be executed on picking events.
class_docstr_tok: ["Internal","picking","handler","for","element-based","picking",".","This","handler","is","only","valid","for","single","point","picking","operations",".","Parameters","--","--","--","--","--","mode",":","ElementType",",","optional","The","element","type","to","pick",".","callback",":","callable",",","optional","A","callback","function","to","be","executed","on","picking","events","."]
docstr: Perform the pick.
docstr_tok: ["Perform","the","pick","."]
code: def __call__(self, picked_point, picker):
      """Perform the pick."""
      self.picker = picker
      mesh = self.get_mesh()
      if mesh is None:
          return  # No selected mesh (point not on surface of mesh)
  
      if self.mode == ElementType.MESH:
          picked = mesh
      elif self.mode == ElementType.CELL:
          picked = self.get_cell(picked_point)
          if picked is None:
              return  # TODO: handle
      elif self.mode == ElementType.FACE:
          picked = self.get_face(picked_point)
      elif self.mode == ElementType.EDGE:
          picked = self.get_edge(picked_point)
      elif self.mode == ElementType.POINT:
          picked = self.get_point(picked_point)
  
      if self.callback:
          try_callback(self.callback, picked)
  
imports: from functools import partial, wraps
  from typing import Tuple, cast
  import warnings
  import weakref
  import numpy
  import pyvista
  from pyvista.core.errors import PyVistaDeprecationWarning
  from pyvista.core.utilities.misc import try_callback
  from .None import _vtk
  from .composite_mapper import CompositePolyDataMapper
  from .errors import PyVistaPickingError
  from .opts import ElementType, PickerType
label_desc: Use image node_id 9 for calling the PointPickingElementHandler obj's underlying member method code with example usage: obj.__call__(picked_point, picker) without return types