OpenVDB  2.3.0
Public Types | Public Member Functions | List of all members
IntersectingVoxelSign< FloatTreeT > Class Template Reference

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
 

Detailed Description

template<typename FloatTreeT>
class openvdb::v2_3_0::tools::internal::IntersectingVoxelSign< FloatTreeT >

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.

Member Typedef Documentation

typedef FloatTreeT::template ValueConverter<bool>::Type BoolTreeT
typedef tree::ValueAccessor<FloatTreeT> FloatAccessorT
typedef FloatTreeT::ValueType FloatValueT
typedef FloatTreeT::template ValueConverter<Int32>::Type IntTreeT

Constructor & Destructor Documentation

IntersectingVoxelSign ( const std::vector< Vec3s > &  pointList,
const std::vector< Vec4I > &  polygonList,
FloatTreeT &  distTree,
IntTreeT indexTree,
BoolTreeT intersectionTree,
BoolLeafManager leafs 
)
~IntersectingVoxelSign ( )
inline
IntersectingVoxelSign ( const IntersectingVoxelSign< FloatTreeT > &  rhs)

Member Function Documentation

void operator() ( const tbb::blocked_range< size_t > &  range) const
void run ( bool  threaded = true)

The documentation for this class was generated from the following file: