OpenVDB  3.1.0
Public Types | Public Member Functions | List of all members
ExpandNarrowband< TreeType, MeshDataAdapter > Struct Template Reference

#include <MeshToVolume.h>

Public Types

typedef TreeType::ValueType ValueType
 
typedef TreeType::LeafNodeType LeafNodeType
 
typedef TreeType::template ValueConverter< Int32 >::Type Int32TreeType
 
typedef Int32TreeType::LeafNodeType Int32LeafNodeType
 
typedef TreeType::template ValueConverter< bool >::Type BoolTreeType
 
typedef BoolTreeType::LeafNodeType BoolLeafNodeType
 

Public Member Functions

 ExpandNarrowband (std::vector< BoolLeafNodeType * > &maskNodes, BoolTreeType &maskTree, TreeType &distTree, Int32TreeType &indexTree, const MeshDataAdapter &mesh, ValueType exteriorBandWidth, ValueType interiorBandWidth, ValueType voxelSize)
 
 ExpandNarrowband (const ExpandNarrowband &rhs, tbb::split)
 
void join (ExpandNarrowband &rhs)
 
void operator() (const tbb::blocked_range< size_t > &range)
 
BoolTreeTypenewMaskTree ()
 
std::vector< LeafNodeType * > & newDistNodes ()
 
std::vector< LeafNodeType * > & updatedDistNodes ()
 
std::vector< Int32LeafNodeType * > & newIndexNodes ()
 
std::vector< Int32LeafNodeType * > & updatedIndexNodes ()
 

Detailed Description

template<typename TreeType, typename MeshDataAdapter>
struct openvdb::v3_1_0::tools::mesh_to_volume_internal::ExpandNarrowband< TreeType, MeshDataAdapter >

Note
The interior and exterior widths should be in world space units and squared.

Member Typedef Documentation

typedef BoolTreeType::LeafNodeType BoolLeafNodeType
typedef TreeType::template ValueConverter<bool>::Type BoolTreeType
typedef Int32TreeType::LeafNodeType Int32LeafNodeType
typedef TreeType::template ValueConverter<Int32>::Type Int32TreeType
typedef TreeType::LeafNodeType LeafNodeType
typedef TreeType::ValueType ValueType

Constructor & Destructor Documentation

ExpandNarrowband ( std::vector< BoolLeafNodeType * > &  maskNodes,
BoolTreeType maskTree,
TreeType &  distTree,
Int32TreeType indexTree,
const MeshDataAdapter mesh,
ValueType  exteriorBandWidth,
ValueType  interiorBandWidth,
ValueType  voxelSize 
)
inline
ExpandNarrowband ( const ExpandNarrowband< TreeType, MeshDataAdapter > &  rhs,
tbb::split   
)
inline

Member Function Documentation

void join ( ExpandNarrowband< TreeType, MeshDataAdapter > &  rhs)
inline
std::vector<LeafNodeType*>& newDistNodes ( )
inline
std::vector<Int32LeafNodeType*>& newIndexNodes ( )
inline
BoolTreeType& newMaskTree ( )
inline
void operator() ( const tbb::blocked_range< size_t > &  range)
inline
std::vector<LeafNodeType*>& updatedDistNodes ( )
inline
std::vector<Int32LeafNodeType*>& updatedIndexNodes ( )
inline

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