Deprecated wrapper class with the same interface as HoudiniInterrupter, however it does not derive from openvdb::util::NullInterrupter. Intended for backwards-compatibility only.
More...
#include <openvdb_houdini/Utils.h>
|
| Interrupter (const char *title=nullptr) |
|
void | start (const char *name=nullptr) |
| Signal the start of an interruptible operation. More...
|
|
void | end () |
| Signal the end of an interruptible operation. More...
|
|
bool | wasInterrupted (int percent=-1) |
| Check if an interruptible operation should be aborted. More...
|
|
openvdb::util::NullInterrupter & | interrupter () |
| Return a reference to the base class of the stored interrupter. More...
|
|
Deprecated wrapper class with the same interface as HoudiniInterrupter, however it does not derive from openvdb::util::NullInterrupter. Intended for backwards-compatibility only.
- Deprecated:
- "openvdb_houdini::Interrupter has been deprecated, use openvdb_houdini::HoudiniInterrupter"
Signal the end of an interruptible operation.
openvdb::util::NullInterrupter& interrupter |
( |
| ) |
|
|
inline |
Return a reference to the base class of the stored interrupter.
void start |
( |
const char * |
name = nullptr | ) |
|
|
inline |
Signal the start of an interruptible operation.
- Parameters
-
name | an optional descriptive name for the operation |
bool wasInterrupted |
( |
int |
percent = -1 | ) |
|
|
inline |
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 |