|
OpenVDB 13.0.0
|
A GridTransformer applies a geometric transformation to an input grid using one of several sampling schemes, and stores the result in an output grid. More...
#include <openvdb/tools/GridTransformer.h>
Classes | |
| struct | MatrixTransform |
Public Types | |
| using | Ptr = SharedPtr<GridTransformer> |
| using | InterruptFunc = std::function<bool (void)> |
Public Member Functions | |
| GridTransformer (const Mat4R &xform) | |
| GridTransformer (const Vec3R &pivot, const Vec3R &scale, const Vec3R &rotate, const Vec3R &translate, const std::string &xformOrder="tsr", const std::string &rotationOrder="zyx") | |
| ~GridTransformer () override=default | |
| GridTransformer (const GridTransformer &)=default | |
| GridTransformer & | operator= (const GridTransformer &)=default |
| const Mat4R & | getTransform () const |
| template<class Sampler, class GridT> | |
| void | transformGrid (const GridT &inGrid, GridT &outGrid) const |
| void | setThreaded (bool b) |
| Enable or disable threading. (Threading is enabled by default.). | |
| bool | threaded () const |
Return true if threading is enabled. | |
| void | setTransformTiles (bool b) |
| Enable or disable processing of tiles. (Enabled by default, except for level set grids.). | |
| bool | transformTiles () const |
Return true if tile processing is enabled. | |
| template<typename InterrupterType> | |
| void | setInterrupter (InterrupterType &) |
| Allow processing to be aborted by providing an interrupter object. The interrupter will be queried periodically during processing. | |
| 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 GridTransformer applies a geometric transformation to an input grid using one of several sampling schemes, and stores the result in an output grid.
Usage:
or
|
inherited |
| using Ptr = SharedPtr<GridTransformer> |
|
inline |
|
inline |
|
overridedefault |
|
default |
|
protectedinherited |
|
inline |
|
inlineprotectedinherited |
|
default |
|
inherited |
Allow processing to be aborted by providing an interrupter object. The interrupter will be queried periodically during processing.
|
inlineinherited |
Enable or disable threading. (Threading is enabled by default.).
|
inlineinherited |
Enable or disable processing of tiles. (Enabled by default, except for level set grids.).
|
inlineinherited |
Return true if threading is enabled.
|
inherited |
| void transformGrid | ( | const GridT & | inGrid, |
| GridT & | outGrid ) const |
|
inlineinherited |
Return true if tile processing is enabled.