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","."]
code: def __init__(
      self, mode: ElementType = ElementType.CELL, callback=None
  ):
      self._picker_ = None
      self.callback = callback
      self.mode = ElementType.from_any(mode)
  
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 1 to create a new PointPickingElementHandler object  with example: obj = PointPickingElementHandler(mode, callback)