OpenVDB  6.1.0
Classes | Namespaces | Functions
GridTransformer.h File Reference
#include <openvdb/Grid.h>
#include <openvdb/Types.h>
#include <openvdb/math/Math.h>
#include <openvdb/util/NullInterrupter.h>
#include "ChangeBackground.h"
#include "Interpolation.h"
#include "LevelSetRebuild.h"
#include "SignedFloodFill.h"
#include "Prune.h"
#include <tbb/blocked_range.h>
#include <tbb/parallel_reduce.h>
#include <cmath>
#include <functional>

Go to the source code of this file.

Classes

class  TileSampler< Sampler, TreeT >
 A TileSampler wraps a grid sampler of another type (BoxSampler, QuadraticSampler, etc.), and for samples that fall within a given tile of the grid, it returns a cached tile value instead of accessing the grid. More...
 
class  TileSampler< PointSampler, TreeT >
 For point sampling, tree traversal is less expensive than testing bounding box membership. More...
 
class  TileSampler< StaggeredPointSampler, TreeT >
 For point sampling, tree traversal is less expensive than testing bounding box membership. More...
 
class  GridResampler
 
class  GridTransformer
 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...
 
struct  GridTransformer::MatrixTransform
 
class  ABTransform
 This class implements the Transformer functor interface (specifically, the isAffine(), transform() and invTransform() methods) for a transform that maps an A grid into a B grid's index space such that, after resampling, A's index space and transform match B's index space and transform. More...
 

Namespaces

 openvdb
 
 openvdb::v6_1
 
 openvdb::v6_1::tools
 
 openvdb::v6_1::tools::internal
 
 openvdb::v6_1::tools::local_util
 

Functions

template<typename Sampler , typename Interrupter , typename GridType >
void resampleToMatch (const GridType &inGrid, GridType &outGrid, Interrupter &interrupter)
 Resample an input grid into an output grid of the same type such that, after resampling, the input and output grids coincide (apart from sampling artifacts), but the output grid's transform is unchanged. More...
 
template<typename Sampler , typename GridType >
void resampleToMatch (const GridType &inGrid, GridType &outGrid)
 Resample an input grid into an output grid of the same type such that, after resampling, the input and output grids coincide (apart from sampling artifacts), but the output grid's transform is unchanged. More...
 
template<typename T >
bool decompose (const math::Mat4< T > &m, math::Vec3< T > &scale, math::Vec3< T > &rotate, math::Vec3< T > &translate)
 Decompose an affine transform into scale, rotation and translation components. More...
 
template<typename Sampler , typename Interrupter , typename GridType >
void doResampleToMatch (const GridType &inGrid, GridType &outGrid, Interrupter &interrupter)
 

Detailed Description

Author
Peter Cucka