#include <openvdb/tree/ValueAccessor.h>
#include <openvdb/tree/LeafManager.h>
#include <openvdb/tools/Morphology.h>
#include <openvdb/tools/PointScatter.h>
#include <openvdb/tools/LevelSetUtil.h>
#include <openvdb/tools/VolumeToMesh.h>
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
#include <tbb/parallel_for.h>
#include <vector>
Go to the source code of this file.
|
template<typename GridT , typename InterrupterT > |
void | 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=NULL) |
| Threaded method to fill a closed level set or fog volume with adaptively sized spheres. More...
|
|
template<typename GridT > |
void | 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) |
| fillWithSpheres method variant that automatically infers the util::NullInterrupter. More...
|
|