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

#include <MeshToVolume.h>

Classes

struct  Fragment
 

Public Types

typedef TreeType::ValueType ValueType
 
typedef TreeType::LeafNodeType LeafNodeType
 
typedef LeafNodeType::NodeMaskType NodeMaskType
 
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_2_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

◆ BoolLeafNodeType

typedef BoolTreeType::LeafNodeType BoolLeafNodeType

◆ BoolTreeType

typedef TreeType::template ValueConverter<bool>::Type BoolTreeType

◆ Int32LeafNodeType

typedef Int32TreeType::LeafNodeType Int32LeafNodeType

◆ Int32TreeType

typedef TreeType::template ValueConverter<Int32>::Type Int32TreeType

◆ LeafNodeType

typedef TreeType::LeafNodeType LeafNodeType

◆ NodeMaskType

typedef LeafNodeType::NodeMaskType NodeMaskType

◆ ValueType

typedef TreeType::ValueType ValueType

Constructor & Destructor Documentation

◆ ExpandNarrowband() [1/2]

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

◆ ExpandNarrowband() [2/2]

ExpandNarrowband ( const ExpandNarrowband< TreeType, MeshDataAdapter > &  rhs,
tbb::split   
)
inline

Member Function Documentation

◆ join()

void join ( ExpandNarrowband< TreeType, MeshDataAdapter > &  rhs)
inline

◆ newDistNodes()

std::vector<LeafNodeType*>& newDistNodes ( )
inline

◆ newIndexNodes()

std::vector<Int32LeafNodeType*>& newIndexNodes ( )
inline

◆ newMaskTree()

BoolTreeType& newMaskTree ( )
inline

◆ operator()()

void operator() ( const tbb::blocked_range< size_t > &  range)
inline

◆ updatedDistNodes()

std::vector<LeafNodeType*>& updatedDistNodes ( )
inline

◆ updatedIndexNodes()

std::vector<Int32LeafNodeType*>& updatedIndexNodes ( )
inline

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