OpenVDB  1.2.0
Classes | Namespaces | Constant Groups | Functions
GridOperators.h File Reference

Applies an operator on an input grid to produce an output grid with the same topology but potentially different value type. More...

#include <openvdb/Grid.h>
#include <openvdb/math/Operators.h>
#include <openvdb/util/NullInterrupter.h>
#include <openvdb/tree/LeafManager.h>
#include <openvdb/tree/ValueAccessor.h>
#include <tbb/parallel_for.h>

Go to the source code of this file.

Classes

struct  VectorToScalarConverter< VectorGridType >
 VectorToScalarConverter<VectorGridType>::Type is the type of a grid having the same tree configuration as VectorGridType but a scalar value type, T, where T is the type of the original vector components. More...
 
struct  ScalarToVectorConverter< ScalarGridType >
 ScalarToVectorConverter<ScalarGridType>::Type is the type of a grid having the same tree configuration as ScalarGridType but value type Vec3<T> where T is ScalarGridType::ValueType. More...
 
class  Cpt< InGridT, InterruptT >
 Compute the closest-point transform of a scalar grid. More...
 
class  Curl< GridT, InterruptT >
 Compute the curl of a scalar grid. More...
 
class  Divergence< InGridT, InterruptT >
 Computes the Divergence of a scalar grid. More...
 
struct  Divergence< InGridT, InterruptT >::Functor< DiffScheme >
 
class  Gradient< InGridT, InterruptT >
 Computes the Gradient of a scalar grid. More...
 
struct  Gradient< InGridT, InterruptT >::Functor
 
class  Laplacian< GridT, InterruptT >
 Computes the Laplacian of a scalar grid. More...
 
struct  Laplacian< GridT, InterruptT >::Functor
 
class  MeanCurvature< GridT, InterruptT >
 
struct  MeanCurvature< GridT, InterruptT >::Functor
 
class  Magnitude< InGridT, InterruptT >
 
struct  Magnitude< InGridT, InterruptT >::OpT
 
struct  Magnitude< InGridT, InterruptT >::Functor
 
class  Normalize< GridT, InterruptT >
 
struct  Normalize< GridT, InterruptT >::OpT
 
struct  Normalize< GridT, InterruptT >::Functor
 

Namespaces

 openvdb
 
 openvdb::v1_2_0
 
 openvdb::v1_2_0::tools
 

Constant Groups

 openvdb
 
 openvdb::v1_2_0
 
 openvdb::v1_2_0::tools
 

Functions

template<typename GridType , typename InterruptT >
ScalarToVectorConverter
< GridType >::Type::Ptr 
cpt (const GridType &grid, bool threaded, InterruptT *interrupt)
 Compute the Closest-Point Transform (CPT) from a distance field. More...
 
template<typename GridType >
ScalarToVectorConverter
< GridType >::Type::Ptr 
cpt (const GridType &grid, bool threaded=true)
 
template<typename GridType , typename InterruptT >
GridType::Ptr curl (const GridType &grid, bool threaded, InterruptT *interrupt)
 Compute the curl of the given vector-valued grid. More...
 
template<typename GridType >
GridType::Ptr curl (const GridType &grid, bool threaded=true)
 
template<typename GridType , typename InterruptT >
VectorToScalarConverter
< GridType >::Type::Ptr 
divergence (const GridType &grid, bool threaded, InterruptT *interrupt)
 Compute the divergence of the given vector-valued grid. More...
 
template<typename GridType >
VectorToScalarConverter
< GridType >::Type::Ptr 
divergence (const GridType &grid, bool threaded=true)
 
template<typename GridType , typename InterruptT >
ScalarToVectorConverter
< GridType >::Type::Ptr 
gradient (const GridType &grid, bool threaded, InterruptT *interrupt)
 Compute the gradient of the given scalar grid. More...
 
template<typename GridType >
ScalarToVectorConverter
< GridType >::Type::Ptr 
gradient (const GridType &grid, bool threaded=true)
 
template<typename GridType , typename InterruptT >
GridType::Ptr laplacian (const GridType &grid, bool threaded, InterruptT *interrupt)
 Compute the Laplacian of the given scalar grid. More...
 
template<typename GridType >
GridType::Ptr laplacian (const GridType &grid, bool threaded=true)
 
template<typename GridType , typename InterruptT >
GridType::Ptr meanCurvature (const GridType &grid, bool threaded, InterruptT *interrupt)
 Compute the mean curvature of the given grid. More...
 
template<typename GridType >
GridType::Ptr meanCurvature (const GridType &grid, bool threaded=true)
 
template<typename GridType , typename InterruptT >
VectorToScalarConverter
< GridType >::Type::Ptr 
magnitude (const GridType &grid, bool threaded, InterruptT *interrupt)
 Compute the magnitudes of the vectors of the given vector-valued grid. More...
 
template<typename GridType >
VectorToScalarConverter
< GridType >::Type::Ptr 
magnitude (const GridType &grid, bool threaded=true)
 
template<typename GridType , typename InterruptT >
GridType::Ptr normalize (const GridType &grid, bool threaded, InterruptT *interrupt)
 Normalize the vectors of the given vector-valued grid. More...
 
template<typename GridType >
GridType::Ptr normalize (const GridType &grid, bool threaded=true)
 

Detailed Description

Applies an operator on an input grid to produce an output grid with the same topology but potentially different value type.

Variable Documentation

AccessorT mAcc
mutable
InterruptT* mInterrupt
const MapT& mMap