GridResampleOp is a functor class for use with UTvdbProcessTypedGrid() that samples an input grid into an output grid of the same type through a given transform.  
 More...
#include <openvdb_houdini/UT_VDBTools.h>
template<typename Sampler, typename TransformerType>
class openvdb_houdini::GridResampleOp< Sampler, TransformerType >
GridResampleOp is a functor class for use with UTvdbProcessTypedGrid() that samples an input grid into an output grid of the same type through a given transform. 
The output grid's transform is unchanged by this operation. 
- See also
- GridTransformOp, GridResampleToMatchOp 
- Example:
- namespace { -      -     struct MyXform -     { -         bool isAffine() const { ... } -     }; - } -   - const Grid- & inGrid = ...;  
 -   -   - GridResampleOp(GridPtr &outGrid, const TransformerType &t) - Definition UT_VDBTools.h:108 
- Vec3< double > Vec3d - Definition Vec3.h:665 
- openvdb::GridBase::Ptr GridPtr - Definition Utils.h:35 
- openvdb::GridBase Grid - Definition Utils.h:34 
- openvdb::TypeList< openvdb::BoolGrid, openvdb::FloatGrid, openvdb::DoubleGrid, openvdb::Int32Grid, openvdb::Int64Grid > ScalarGridTypes - Definition Utils.h:317 
◆ GridResampleOp()
template<typename Sampler, typename TransformerType> 
 
- Parameters
- 
  
    | outGrid | a generic pointer to an output grid of the same type as the grid to be resampled |  | t | an object that implements GridResampler's Transformer interface |  
 
- Note
- GridResampleOp makes an internal copy of t. 
 
 
◆ operator()()
template<typename Sampler, typename TransformerType> 
template<typename GridType> 
  
  | 
        
          | void operator() | ( | const GridType & | inGrid | ) |  |  | inline |