Wrapper class that adapts a Houdini UT_Interrupt
object for use with OpenVDB library routines.
More...
#include <openvdb_houdini/Utils.h>
Wrapper class that adapts a Houdini UT_Interrupt
object for use with OpenVDB library routines.
- See also
- openvdb/util/NullInterrupter.h
◆ HoudiniInterrupter() [1/2]
◆ ~HoudiniInterrupter()
◆ HoudiniInterrupter() [2/2]
◆ end()
Signal the end of an interruptible operation.
◆ operator=()
◆ start()
void start |
( |
const char * | name = nullptr | ) |
|
|
inlinefinaloverride |
Signal the start of an interruptible operation.
- Parameters
-
name | an optional descriptive name for the operation |
◆ wasInterrupted()
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 |