|
OpenVDB 13.0.0
|
Wrapper class that adapts a Houdini UT_Interrupt object for use with OpenVDB library routines.
More...
#include <openvdb_houdini/Utils.h>
Public Member Functions | |
| HoudiniInterrupter (const char *title=nullptr) | |
| ~HoudiniInterrupter () override final | |
| HoudiniInterrupter (const HoudiniInterrupter &)=default | |
| HoudiniInterrupter & | operator= (const HoudiniInterrupter &)=default |
| void | start (const char *name=nullptr) override final |
| Signal the start of an interruptible operation. | |
| void | end () override final |
| Signal the end of an interruptible operation. | |
| bool | wasInterrupted (int percent=-1) override final |
| Check if an interruptible operation should be aborted. | |
Wrapper class that adapts a Houdini UT_Interrupt object for use with OpenVDB library routines.
|
inlineexplicit |
|
inlinefinaloverride |
|
default |
|
inlinefinaloverride |
Signal the end of an interruptible operation.
|
default |
|
inlinefinaloverride |
Signal the start of an interruptible operation.
| name | an optional descriptive name for the operation |
|
inlinefinaloverride |
Check if an interruptible operation should be aborted.
| percent | an optional (when >= 0) percentage indicating the fraction of the operation that has been completed |