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 <openvdb/openvdb.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::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...
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::HalfWidthOp< ValueType >
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::HalfWidthOp< bool >
 

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::tools
 
 openvdb::OPENVDB_VERSION_NAME::tools::local_util
 

Enumerations

enum  { openvdb::OPENVDB_VERSION_NAME::tools::local_util::DECOMP_INVALID = 0, openvdb::OPENVDB_VERSION_NAME::tools::local_util::DECOMP_VALID = 1, openvdb::OPENVDB_VERSION_NAME::tools::local_util::DECOMP_UNIQUE = 2 }
 

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 >
int 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 (XYZ order), 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.