HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VolumeToSpheres.h File Reference

Fill a closed level set or fog volume with adaptively-sized spheres. More...

#include <openvdb/tree/LeafManager.h>
#include <openvdb/math/Math.h>
#include "Morphology.h"
#include "PointScatter.h"
#include "LevelSetRebuild.h"
#include "LevelSetUtil.h"
#include "VolumeToMesh.h"
#include <hboost/mpl/at.hpp>
#include <hboost/mpl/int.hpp>
#include <hboost/scoped_array.hpp>
#include <tbb/blocked_range.h>
#include <tbb/parallel_for.h>
#include <tbb/parallel_reduce.h>
#include <algorithm>
#include <cmath>
#include <limits>
#include <memory>
#include <random>
#include <utility>
#include <vector>
+ Include dependency graph for VolumeToSpheres.h:

Go to the source code of this file.

Classes

class  openvdb::OPENVDB_VERSION_NAME::tools::ClosestSurfacePoint< GridT >
 Accelerated closest surface point queries for narrow band level sets. More...
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::v2s_internal::PointAccessor
 
class  openvdb::OPENVDB_VERSION_NAME::tools::v2s_internal::LeafOp< Index32LeafT >
 
class  openvdb::OPENVDB_VERSION_NAME::tools::v2s_internal::NodeOp
 
class  openvdb::OPENVDB_VERSION_NAME::tools::v2s_internal::ClosestPointDist< Index32LeafT >
 
class  openvdb::OPENVDB_VERSION_NAME::tools::v2s_internal::UpdatePoints
 

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::tools
 
 openvdb::OPENVDB_VERSION_NAME::tools::v2s_internal
 

Functions

template<typename GridT , typename InterrupterT = util::NullInterrupter>
void openvdb::OPENVDB_VERSION_NAME::tools::fillWithSpheres (const GridT &grid, std::vector< openvdb::Vec4s > &spheres, const Vec2i &sphereCount=Vec2i(1, 50), bool overlapping=false, float minRadius=1.0, float maxRadius=std::numeric_limits< float >::max(), float isovalue=0.0, int instanceCount=10000, InterrupterT *interrupter=nullptr)
 Fill a closed level set or fog volume with adaptively-sized spheres. More...
 
template<typename GridT , typename InterrupterT = util::NullInterrupter>
OPENVDB_DEPRECATED void openvdb::OPENVDB_VERSION_NAME::tools::fillWithSpheres (const GridT &grid, std::vector< openvdb::Vec4s > &spheres, int maxSphereCount, bool overlapping=false, float minRadius=1.0, float maxRadius=std::numeric_limits< float >::max(), float isovalue=0.0, int instanceCount=10000, InterrupterT *interrupter=nullptr)
 
template<typename GridT , typename InterrupterT >
void openvdb::OPENVDB_VERSION_NAME::tools::fillWithSpheres (const GridT &grid, std::vector< openvdb::Vec4s > &spheres, int maxSphereCount, bool overlapping, float minRadius, float maxRadius, float isovalue, int instanceCount, InterrupterT *interrupter)
 

Detailed Description

Fill a closed level set or fog volume with adaptively-sized spheres.

Definition in file VolumeToSpheres.h.