HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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>
+ Include dependency graph for GridTransformer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openvdb::OPENVDB_VERSION_NAME::tools::internal::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  openvdb::OPENVDB_VERSION_NAME::tools::internal::TileSampler< PointSampler, TreeT >
 For point sampling, tree traversal is less expensive than testing bounding box membership. More...
 
class  openvdb::OPENVDB_VERSION_NAME::tools::internal::TileSampler< StaggeredPointSampler, TreeT >
 For point sampling, tree traversal is less expensive than testing bounding box membership. More...
 
class  openvdb::OPENVDB_VERSION_NAME::tools::GridResampler
 
class  openvdb::OPENVDB_VERSION_NAME::tools::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  openvdb::OPENVDB_VERSION_NAME::tools::GridTransformer::MatrixTransform
 
class  openvdb::OPENVDB_VERSION_NAME::tools::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::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::tools
 
 openvdb::OPENVDB_VERSION_NAME::tools::internal
 
 openvdb::OPENVDB_VERSION_NAME::tools::local_util
 

Functions

template<typename Sampler , typename Interrupter , typename GridType >
void openvdb::OPENVDB_VERSION_NAME::tools::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 openvdb::OPENVDB_VERSION_NAME::tools::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 openvdb::OPENVDB_VERSION_NAME::tools::local_util::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 openvdb::OPENVDB_VERSION_NAME::tools::doResampleToMatch (const GridType &inGrid, GridType &outGrid, Interrupter &interrupter)
 

Detailed Description

Author
Peter Cucka

Definition in file GridTransformer.h.