|
OpenVDB
2.3.0
|
TBB body object to voxelize a mesh of triangles and/or quads into a collection of VDB grids, namely a squared distance grid, a closest primitive grid and an intersecting voxels grid (masks the mesh intersecting voxels) More...
#include <MeshToVolume.h>
Public Types | |
| typedef FloatTreeT::ValueType | FloatValueT |
| typedef FloatTreeT::LeafNodeType | FloatLeafT |
| typedef tree::ValueAccessor < FloatTreeT > | FloatAccessorT |
| typedef FloatTreeT::template ValueConverter< Int32 >::Type | IntTreeT |
| typedef IntTreeT::LeafNodeType | IntLeafT |
| typedef tree::ValueAccessor < IntTreeT > | IntAccessorT |
| typedef FloatTreeT::template ValueConverter< bool >::Type | BoolTreeT |
| typedef BoolTreeT::LeafNodeType | BoolLeafT |
| typedef tree::ValueAccessor < BoolTreeT > | BoolAccessorT |
Public Member Functions | |
| MeshVoxelizer (const std::vector< Vec3s > &pointList, const std::vector< Vec4I > &polygonList, InterruptT *interrupter=NULL) | |
| ~MeshVoxelizer () | |
| void | run (bool threaded=true) |
| MeshVoxelizer (MeshVoxelizer< FloatTreeT, InterruptT > &rhs, tbb::split) | |
| void | operator() (const tbb::blocked_range< size_t > &range) |
| void | join (MeshVoxelizer< FloatTreeT, InterruptT > &rhs) |
| FloatTreeT & | sqrDistTree () |
| IntTreeT & | primIndexTree () |
| BoolTreeT & | intersectionTree () |
TBB body object to voxelize a mesh of triangles and/or quads into a collection of VDB grids, namely a squared distance grid, a closest primitive grid and an intersecting voxels grid (masks the mesh intersecting voxels)
| typedef tree::ValueAccessor<BoolTreeT> BoolAccessorT |
| typedef BoolTreeT::LeafNodeType BoolLeafT |
| typedef FloatTreeT::template ValueConverter<bool>::Type BoolTreeT |
| typedef tree::ValueAccessor<FloatTreeT> FloatAccessorT |
| typedef FloatTreeT::LeafNodeType FloatLeafT |
| typedef FloatTreeT::ValueType FloatValueT |
| typedef tree::ValueAccessor<IntTreeT> IntAccessorT |
| typedef IntTreeT::LeafNodeType IntLeafT |
| MeshVoxelizer | ( | const std::vector< Vec3s > & | pointList, |
| const std::vector< Vec4I > & | polygonList, | ||
| InterruptT * | interrupter = NULL |
||
| ) |
|
inline |
| MeshVoxelizer | ( | MeshVoxelizer< FloatTreeT, InterruptT > & | rhs, |
| tbb::split | |||
| ) |
|
inline |
| void join | ( | MeshVoxelizer< FloatTreeT, InterruptT > & | rhs | ) |
| void operator() | ( | const tbb::blocked_range< size_t > & | range | ) |
|
inline |
| void run | ( | bool | threaded = true | ) |
|
inline |
1.8.7