OpenVDB  6.1.0
Classes | Namespaces | Functions | Variables
Util.h File Reference
#include <openvdb/Types.h>
#include <openvdb/tree/Tree.h>
#include <openvdb/tools/ValueTransformer.h>
#include <openvdb/tools/Prune.h>

Go to the source code of this file.

Classes

class  LeafTopologyIntOp< TreeType1, TreeType2 >
 Functor for use with tools::foreach() to compute the boolean intersection between the value masks of corresponding leaf nodes in two trees. More...
 
class  LeafTopologyDiffOp< TreeType1, TreeType2 >
 Functor for use with tools::foreach() to compute the boolean difference between the value masks of corresponding leaf nodes in two trees. More...
 

Namespaces

 openvdb
 
 openvdb::v6_1
 
 openvdb::v6_1::util
 

Functions

Coord nearestCoord (const Vec3d &voxelCoord)
 Return voxelCoord rounded to the closest integer coordinates. More...
 
template<class TreeType1 , class TreeType2 >
TreeType1::template ValueConverter< bool >::Type::Ptr leafTopologyIntersection (const TreeType1 &lhs, const TreeType2 &rhs, bool threaded=true)
 Perform a boolean intersection between two leaf nodes' topology masks. More...
 
template<class TreeType1 , class TreeType2 >
TreeType1::template ValueConverter< bool >::Type::Ptr leafTopologyDifference (const TreeType1 &lhs, const TreeType2 &rhs, bool threaded=true)
 Perform a boolean difference between two leaf nodes' topology masks. More...
 

Variables

OPENVDB_API const Index32 INVALID_IDX
 
OPENVDB_API const Coord COORD_OFFSETS [26]
 coordinate offset table for neighboring voxels More...