OpenVDB
0.104.0
|
TBB class object to voxelize a mesh of triangles and/or quads into a collection of VDB grids, namely a square distance grid, closest primitive grid and a intersecting voxels grid (the voxels intersect the mesh). More...
#include <MeshToVolume.h>
Public Types | |
typedef DistTreeT::ValueType | DistValueT |
Custom types. More... | |
typedef tree::ValueAccessor < DistTreeT > | DistAccessorT |
Custom types. More... | |
typedef DistTreeT::template ValueConverter< Int32 >::Type | IndexTreeT |
Custom types. More... | |
typedef tree::ValueAccessor < IndexTreeT > | IndexAccessorT |
Custom types. More... | |
typedef DistTreeT::template ValueConverter< bool >::Type | StencilTreeT |
Custom types. More... | |
typedef tree::ValueAccessor < StencilTreeT > | StencilAccessorT |
Custom types. More... | |
Public Member Functions | |
MeshVoxelizer (const std::vector< Vec3s > &pointList, const std::vector< Vec4I > &polygonList, InterruptT *interrupter=NULL) | |
~MeshVoxelizer () | |
void | runParallel () |
void | runSerial () |
MeshVoxelizer (MeshVoxelizer< DistTreeT, InterruptT > &rhs, tbb::split) | |
void | operator() (const tbb::blocked_range< size_t > &range) |
void | join (MeshVoxelizer< DistTreeT, InterruptT > &rhs) |
DistTreeT & | sqrDistTree () |
IndexTreeT & | primIndexTree () |
StencilTreeT & | intersectionTree () |
TBB class object to voxelize a mesh of triangles and/or quads into a collection of VDB grids, namely a square distance grid, closest primitive grid and a intersecting voxels grid (the voxels intersect the mesh).
typedef tree::ValueAccessor<DistTreeT> DistAccessorT |
Custom types.
typedef DistTreeT::ValueType DistValueT |
Custom types.
typedef tree::ValueAccessor<IndexTreeT> IndexAccessorT |
Custom types.
typedef DistTreeT::template ValueConverter<Int32>::Type IndexTreeT |
Custom types.
Custom types.
typedef DistTreeT::template ValueConverter<bool>::Type StencilTreeT |
Custom types.
MeshVoxelizer | ( | const std::vector< Vec3s > & | pointList, |
const std::vector< Vec4I > & | polygonList, | ||
InterruptT * | interrupter = NULL |
||
) |
|
inline |
MeshVoxelizer | ( | MeshVoxelizer< DistTreeT, InterruptT > & | rhs, |
tbb::split | |||
) |
|
inline |
void join | ( | MeshVoxelizer< DistTreeT, InterruptT > & | rhs | ) |
void operator() | ( | const tbb::blocked_range< size_t > & | range | ) |
|
inline |
void runParallel | ( | ) |
void runSerial | ( | ) |
|
inline |