OpenVDB
5.2.0
|
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 <boost/mpl/at.hpp>
#include <boost/mpl/int.hpp>
#include <boost/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>
Go to the source code of this file.
Classes | |
class | ClosestSurfacePoint< GridT > |
Accelerated closest surface point queries for narrow band level sets. More... | |
struct | PointAccessor |
class | LeafOp< Index32LeafT > |
class | NodeOp |
class | ClosestPointDist< Index32LeafT > |
class | UpdatePoints |
Namespaces | |
openvdb | |
openvdb::v5_2 | |
openvdb::v5_2::tools | |
openvdb::v5_2::tools::v2s_internal | |
Functions | |
template<typename GridT , typename InterrupterT = util::NullInterrupter> | |
void | 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 | 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 | fillWithSpheres (const GridT &grid, std::vector< openvdb::Vec4s > &spheres, int maxSphereCount, bool overlapping, float minRadius, float maxRadius, float isovalue, int instanceCount, InterrupterT *interrupter) |
Fill a closed level set or fog volume with adaptively-sized spheres.