ProgressMonitor#
- class ProgressMonitor(*args, **kwargs)[source]#
A standard class for monitoring the progress of a VTK algorithm.
This must be used in a
withcontext. A keyboard interrupt is delayed until the exit event, as interrupts will crash the kernel if the VTK algorithm is still executing. The algorithm is aborted when the previous SIGINT handler raisesKeyboardInterruptor ends the process, and runs to completion otherwise.- Parameters:
- algorithmvtkAlgorithm |
BaseVTKReader VTK algorithm or filter.
- message
str, default: “” Message to display in the progress bar.
- algorithmvtkAlgorithm |
Methods#
|
Pass signal to custom interrupt handler. |