class_docstr: A standard class for monitoring the progress of a VTK algorithm.
  
  This must be use in a ``with`` context and it will block keyboard
  interrupts from happening until the exit event as interrupts will crash
  the kernel if the VTK algorithm is still executing.
  
  Parameters
  ----------
  algorithm
      VTK algorithm or filter.
  
  message : str, default: ""
      Message to display in the progress bar.
docstr: Call progress update callback.
  
  On an event occurrence, this function executes.
docstr_tok: ["Call","progress","update","callback",".","On","an","event","occurrence",",","this","function","executes","."]
code: def __call__(self, obj, *args):
      """Call progress update callback.
  
      On an event occurrence, this function executes.
      """
      if self._interrupt_signal_received:
          obj.AbortExecuteOn()
      else:
          progress = obj.GetProgress()
          step = progress - self._old_progress
          self._progress_bar.update(step)
          self._old_progress = progress
  
imports: import collections
  import logging
  import os
  import re
  import signal
  import sys
  import threading
  import traceback
  from pyvista.core import _vtk_core
label_desc: Use image node_id 3 for calling the ProgressMonitor obj's underlying member method code with example usage: obj.__call__(obj) without return types