OpenVDB
2.1.0
|
TBB body object that traversers all intersecting voxels (defined by the intersectingVoxelsGrid) and potentially flips their sign, by comparing the "closest point" directions of outside-marked and non-intersecting neighboring voxels. More...
#include <MeshToVolume.h>
Public Types | |
typedef FloatTreeT::ValueType | FloatValueT |
typedef tree::ValueAccessor < FloatTreeT > | FloatAccessorT |
typedef FloatTreeT::template ValueConverter< Int32 >::Type | IntTreeT |
typedef tree::ValueAccessor < IntTreeT > | IntAccessorT |
typedef FloatTreeT::template ValueConverter< bool >::Type | BoolTreeT |
typedef tree::ValueAccessor < BoolTreeT > | BoolAccessorT |
typedef tree::LeafManager < BoolTreeT > | BoolLeafManager |
Public Member Functions | |
IntersectingVoxelSign (const std::vector< Vec3s > &pointList, const std::vector< Vec4I > &polygonList, FloatTreeT &distTree, IntTreeT &indexTree, BoolTreeT &intersectionTree, BoolLeafManager &leafs) | |
~IntersectingVoxelSign () | |
void | run (bool threaded=true) |
IntersectingVoxelSign (const IntersectingVoxelSign< FloatTreeT > &rhs) | |
void | operator() (const tbb::blocked_range< size_t > &) const |
TBB body object that traversers all intersecting voxels (defined by the intersectingVoxelsGrid) and potentially flips their sign, by comparing the "closest point" directions of outside-marked and non-intersecting neighboring voxels.
typedef tree::ValueAccessor<BoolTreeT> BoolAccessorT |
typedef tree::LeafManager<BoolTreeT> BoolLeafManager |
typedef FloatTreeT::template ValueConverter<bool>::Type BoolTreeT |
typedef tree::ValueAccessor<FloatTreeT> FloatAccessorT |
typedef FloatTreeT::ValueType FloatValueT |
typedef tree::ValueAccessor<IntTreeT> IntAccessorT |
IntersectingVoxelSign | ( | const std::vector< Vec3s > & | pointList, |
const std::vector< Vec4I > & | polygonList, | ||
FloatTreeT & | distTree, | ||
IntTreeT & | indexTree, | ||
BoolTreeT & | intersectionTree, | ||
BoolLeafManager & | leafs | ||
) |
|
inline |
IntersectingVoxelSign | ( | const IntersectingVoxelSign< FloatTreeT > & | rhs | ) |
void operator() | ( | const tbb::blocked_range< size_t > & | range | ) | const |
void run | ( | bool | threaded = true | ) |