|
HDK
|
#include <GridTransformer.h>
Inheritance diagram for openvdb::OPENVDB_VERSION_NAME::tools::GridResampler:Public Types | |
| using | Ptr = SharedPtr< GridResampler > |
| using | InterruptFunc = std::function< bool(void)> |
Public Member Functions | |
| GridResampler () | |
| virtual | ~GridResampler () |
| GridResampler (const GridResampler &)=default | |
| GridResampler & | operator= (const GridResampler &)=default |
| void | setThreaded (bool b) |
| Enable or disable threading. (Threading is enabled by default.) More... | |
| bool | threaded () const |
Return true if threading is enabled. More... | |
| void | setTransformTiles (bool b) |
| Enable or disable processing of tiles. (Enabled by default, except for level set grids.) More... | |
| bool | transformTiles () const |
Return true if tile processing is enabled. More... | |
| template<typename InterrupterType > | |
| void | setInterrupter (InterrupterType &) |
| Allow processing to be aborted by providing an interrupter object. The interrupter will be queried periodically during processing. More... | |
| template<typename Sampler , typename GridT , typename Transformer > | |
| void | transformGrid (const Transformer &, const GridT &inGrid, GridT &outGrid) const |
Protected Member Functions | |
| template<typename Sampler , typename GridT , typename Transformer > | |
| void | applyTransform (const Transformer &, const GridT &inGrid, GridT &outGrid) const |
| bool | interrupt () const |
A GridResampler applies a geometric transformation to an input grid using one of several sampling schemes, and stores the result in an output grid.
Usage:
where xform is a functor that implements the following methods:
Definition at line 162 of file GridTransformer.h.
| using openvdb::OPENVDB_VERSION_NAME::tools::GridResampler::InterruptFunc = std::function<bool (void)> |
Definition at line 166 of file GridTransformer.h.
Definition at line 165 of file GridTransformer.h.
|
inline |
Definition at line 168 of file GridTransformer.h.
|
inlinevirtual |
Definition at line 169 of file GridTransformer.h.
|
default |
|
protected |
Definition at line 876 of file GridTransformer.h.
|
inlineprotected |
Definition at line 196 of file GridTransformer.h.
|
default |
| void openvdb::OPENVDB_VERSION_NAME::tools::GridResampler::setInterrupter | ( | InterrupterType & | interrupter | ) |
Allow processing to be aborted by providing an interrupter object. The interrupter will be queried periodically during processing.
Definition at line 682 of file GridTransformer.h.
Enable or disable threading. (Threading is enabled by default.)
Definition at line 175 of file GridTransformer.h.
Enable or disable processing of tiles. (Enabled by default, except for level set grids.)
Definition at line 179 of file GridTransformer.h.
|
inline |
Return true if threading is enabled.
Definition at line 177 of file GridTransformer.h.
| void openvdb::OPENVDB_VERSION_NAME::tools::GridResampler::transformGrid | ( | const Transformer & | xform, |
| const GridT & | inGrid, | ||
| GridT & | outGrid | ||
| ) | const |
Definition at line 691 of file GridTransformer.h.
|
inline |
Return true if tile processing is enabled.
Definition at line 181 of file GridTransformer.h.