HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::tools::internal::ClosestPointDist< Index32LeafT > Class Template Reference

#include <VolumeToSpheres.h>

Public Types

using IndexRange = std::pair< size_t, size_t >
 

Public Member Functions

 ClosestPointDist (std::vector< Vec3R > &instancePoints, std::vector< float > &instanceDistances, const PointList &surfacePointList, const std::vector< const Index32LeafT * > &leafNodes, const std::vector< IndexRange > &leafRanges, const std::vector< Vec4R > &leafBoundingSpheres, const std::vector< Vec4R > &nodeBoundingSpheres, size_t maxNodeLeafs, bool transformPoints=false)
 
void run (bool threaded=true)
 
void operator() (const tbb::blocked_range< size_t > &) const
 

Detailed Description

template<typename Index32LeafT>
class openvdb::OPENVDB_VERSION_NAME::tools::internal::ClosestPointDist< Index32LeafT >

Definition at line 347 of file VolumeToSpheres.h.

Member Typedef Documentation

template<typename Index32LeafT>
using openvdb::OPENVDB_VERSION_NAME::tools::internal::ClosestPointDist< Index32LeafT >::IndexRange = std::pair<size_t, size_t>

Definition at line 350 of file VolumeToSpheres.h.

Constructor & Destructor Documentation

template<typename Index32LeafT >
openvdb::OPENVDB_VERSION_NAME::tools::internal::ClosestPointDist< Index32LeafT >::ClosestPointDist ( std::vector< Vec3R > &  instancePoints,
std::vector< float > &  instanceDistances,
const PointList surfacePointList,
const std::vector< const Index32LeafT * > &  leafNodes,
const std::vector< IndexRange > &  leafRanges,
const std::vector< Vec4R > &  leafBoundingSpheres,
const std::vector< Vec4R > &  nodeBoundingSpheres,
size_t  maxNodeLeafs,
bool  transformPoints = false 
)

Definition at line 393 of file VolumeToSpheres.h.

Member Function Documentation

template<typename Index32LeafT >
void openvdb::OPENVDB_VERSION_NAME::tools::internal::ClosestPointDist< Index32LeafT >::operator() ( const tbb::blocked_range< size_t > &  range) const

Definition at line 496 of file VolumeToSpheres.h.

template<typename Index32LeafT >
void openvdb::OPENVDB_VERSION_NAME::tools::internal::ClosestPointDist< Index32LeafT >::run ( bool  threaded = true)

Definition at line 420 of file VolumeToSpheres.h.


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