Wrapper class that adapts a Houdini UT_Interrupt
object for use with OpenVDB library routines.
More...
#include <openvdb_houdini/Utils.h>
Inherits NullInterrupter.
Wrapper class that adapts a Houdini UT_Interrupt
object for use with OpenVDB library routines.
- See also
- openvdb/util/NullInterrupter.h
Signal the end of an interruptible operation.
void start |
( |
const char * |
name = nullptr | ) |
|
|
inlinefinaloverride |
Signal the start of an interruptible operation.
- Parameters
-
name | an optional descriptive name for the operation |
bool wasInterrupted |
( |
int |
percent = -1 | ) |
|
|
inlinefinaloverride |
Check if an interruptible operation should be aborted.
- Parameters
-
percent | an optional (when >= 0) percentage indicating the fraction of the operation that has been completed |