HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::tools::mesh_to_volume_internal Namespace Reference

Classes

struct  TransformPoints
 
struct  Tolerance
 
class  CombineLeafNodes
 
struct  StashOriginAndStoreOffset
 
struct  RestoreOrigin
 
class  ComputeNodeConnectivity
 
struct  LeafNodeConnectivityTable
 
class  SweepExteriorSign
 
class  SeedFillExteriorSign
 
struct  FillArray
 
class  SyncVoxelMask
 
class  SeedPoints
 
struct  ComputeIntersectingVoxelSign
 
struct  ValidateIntersectingVoxels
 
struct  RemoveSelfIntersectingSurface
 
struct  ReleaseChildNodes
 
struct  StealUniqueLeafNodes
 
struct  VoxelizationData
 TBB body object to voxelize a mesh of triangles and/or quads into a collection of VDB grids, namely a squared distance grid, a closest primitive grid and an intersecting voxels grid (masks the mesh intersecting voxels) More...
 
class  VoxelizePolygons
 
struct  DiffLeafNodeMask
 
struct  UnionValueMasks
 
struct  ConstructVoxelMask
 
struct  ExpandNarrowband
 
struct  AddNodes
 
struct  TransformValues
 
struct  InactivateValues
 
struct  OffsetValues
 
struct  Renormalize
 
struct  MinCombine
 

Functions

template<typename LeafNodeType >
void seedFill (LeafNodeType &node)
 
template<typename LeafNodeType >
bool scanFill (LeafNodeType &node)
 
template<typename ValueType >
void fillArray (ValueType *array, const ValueType val, const size_t length)
 
template<typename LeafNodeType >
void maskNodeInternalNeighbours (const Index pos, bool(&mask)[26])
 
template<typename Compare , typename LeafNodeType >
bool checkNeighbours (const Index pos, const typename LeafNodeType::ValueType *data, bool(&mask)[26])
 
template<typename Compare , typename AccessorType >
bool checkNeighbours (const Coord &ijk, AccessorType &acc, bool(&mask)[26])
 
template<typename TreeType >
void releaseLeafNodes (TreeType &tree)
 
template<typename DistTreeType , typename IndexTreeType >
void combineData (DistTreeType &lhsDist, IndexTreeType &lhsIdx, DistTreeType &rhsDist, IndexTreeType &rhsIdx)
 
template<typename TreeType , typename Int32TreeType , typename BoolTreeType , typename MeshDataAdapter >
void expandNarrowband (TreeType &distTree, Int32TreeType &indexTree, BoolTreeType &maskTree, std::vector< typename BoolTreeType::LeafNodeType * > &maskNodes, const MeshDataAdapter &mesh, typename TreeType::ValueType exteriorBandWidth, typename TreeType::ValueType interiorBandWidth, typename TreeType::ValueType voxelSize)
 

Function Documentation

template<typename Compare , typename LeafNodeType >
bool openvdb::OPENVDB_VERSION_NAME::tools::mesh_to_volume_internal::checkNeighbours ( const Index  pos,
const typename LeafNodeType::ValueType *  data,
bool(&)  mask[26] 
)
inline

Definition at line 1629 of file MeshToVolume.h.

template<typename Compare , typename AccessorType >
bool openvdb::OPENVDB_VERSION_NAME::tools::mesh_to_volume_internal::checkNeighbours ( const Coord &  ijk,
AccessorType &  acc,
bool(&)  mask[26] 
)
inline

Definition at line 1692 of file MeshToVolume.h.

template<typename DistTreeType , typename IndexTreeType >
void openvdb::OPENVDB_VERSION_NAME::tools::mesh_to_volume_internal::combineData ( DistTreeType &  lhsDist,
IndexTreeType &  lhsIdx,
DistTreeType &  rhsDist,
IndexTreeType &  rhsIdx 
)
inline

Definition at line 1894 of file MeshToVolume.h.

template<typename TreeType , typename Int32TreeType , typename BoolTreeType , typename MeshDataAdapter >
void openvdb::OPENVDB_VERSION_NAME::tools::mesh_to_volume_internal::expandNarrowband ( TreeType &  distTree,
Int32TreeType &  indexTree,
BoolTreeType &  maskTree,
std::vector< typename BoolTreeType::LeafNodeType * > &  maskNodes,
const MeshDataAdapter mesh,
typename TreeType::ValueType  exteriorBandWidth,
typename TreeType::ValueType  interiorBandWidth,
typename TreeType::ValueType  voxelSize 
)
inline

Definition at line 2754 of file MeshToVolume.h.

template<typename ValueType >
void openvdb::OPENVDB_VERSION_NAME::tools::mesh_to_volume_internal::fillArray ( ValueType *  array,
const ValueType  val,
const size_t  length 
)
inline

Definition at line 1156 of file MeshToVolume.h.

template<typename LeafNodeType >
void openvdb::OPENVDB_VERSION_NAME::tools::mesh_to_volume_internal::maskNodeInternalNeighbours ( const Index  pos,
bool(&)  mask[26] 
)
inline

Definition at line 1561 of file MeshToVolume.h.

template<typename TreeType >
void openvdb::OPENVDB_VERSION_NAME::tools::mesh_to_volume_internal::releaseLeafNodes ( TreeType &  tree)
inline

Definition at line 1838 of file MeshToVolume.h.

template<typename LeafNodeType >
bool openvdb::OPENVDB_VERSION_NAME::tools::mesh_to_volume_internal::scanFill ( LeafNodeType &  node)
inline

Definition at line 1042 of file MeshToVolume.h.

template<typename LeafNodeType >
void openvdb::OPENVDB_VERSION_NAME::tools::mesh_to_volume_internal::seedFill ( LeafNodeType &  node)
inline

Definition at line 966 of file MeshToVolume.h.