|
HDK
|
We offer three different algorithms (each in its own class) for scattering of points in active voxels: More...
#include <openvdb/Types.h>#include <openvdb/Grid.h>#include <openvdb/math/Math.h>#include <openvdb/util/NullInterrupter.h>#include <tbb/parallel_sort.h>#include <tbb/parallel_for.h>#include <iostream>#include <memory>#include <string>
Include dependency graph for PointScatter.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| openvdb | |
| openvdb::OPENVDB_VERSION_NAME | |
| openvdb::OPENVDB_VERSION_NAME::tools | |
We offer three different algorithms (each in its own class) for scattering of points in active voxels:
1) UniformPointScatter. Has two modes: Either randomly distributes a fixed number of points into the active voxels, or the user can specify a fixed probability of having a points per unit of volume.
2) DenseUniformPointScatter. Randomly distributes points into active voxels using a fixed number of points per voxel.
3) NonIniformPointScatter. Define the local probability of having a point in a voxel as the product of a global density and the value of the voxel itself.
Definition in file PointScatter.h.