HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Util.h File Reference
+ Include dependency graph for Util.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::util::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  openvdb::OPENVDB_VERSION_NAME::util::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::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::util
 

Functions

Coord openvdb::OPENVDB_VERSION_NAME::util::nearestCoord (const Vec3d &voxelCoord)
 Return voxelCoord rounded to the closest integer coordinates. More...
 
template<class TreeType1 , class TreeType2 >
TreeType1::template
ValueConverter< bool >
::Type::Ptr 
openvdb::OPENVDB_VERSION_NAME::util::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 
openvdb::OPENVDB_VERSION_NAME::util::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 openvdb::OPENVDB_VERSION_NAME::util::INVALID_IDX
 
OPENVDB_API const Coord openvdb::OPENVDB_VERSION_NAME::util::COORD_OFFSETS [26]
 coordinate offset table for neighboring voxels More...