Forward declaration of base class.
More...
#include <openvdb/tools/PointScatter.h>
Inherited by DenseUniformPointScatter< PointAccessorType, RandomGenerator, InterruptType >, NonUniformPointScatter< PointAccessorType, RandomGenerator, InterruptType >, and UniformPointScatter< PointAccessorType, RandomGenerator, InterruptType >.
|
| BasePointScatter (PointAccessorType &points, RandomGenerator &randGen, double spread, InterruptType *interrupt=nullptr) |
| This is a base class so the constructor is protected. More...
|
|
void | start (const char *name) |
|
void | end () |
|
bool | interrupt () |
|
double | getRand01 () |
| Return a random floating point number between zero and one. More...
|
|
double | getRand () |
| Return a random floating point number between 0.5 -+ mSpread/2. More...
|
|
template<typename GridT > |
void | addPoint (const GridT &grid, const Vec3R &dmin) |
|
template<typename GridT > |
void | addPoint (const GridT &grid, const Vec3R &dmin, const Coord &size) |
|
template<typename PointAccessorType, typename RandomGenerator, typename InterruptType>
class openvdb::v12_0::tools::BasePointScatter< PointAccessorType, RandomGenerator, InterruptType >
Forward declaration of base class.
Base class of all the point scattering classes defined above.
BasePointScatter |
( |
PointAccessorType & |
points, |
|
|
RandomGenerator & |
randGen, |
|
|
double |
spread, |
|
|
InterruptType * |
interrupt = nullptr |
|
) |
| |
|
inlineprotected |
This is a base class so the constructor is protected.
void addPoint |
( |
const GridT & |
grid, |
|
|
const Vec3R & |
dmin |
|
) |
| |
|
inlineprotected |
void addPoint |
( |
const GridT & |
grid, |
|
|
const Vec3R & |
dmin, |
|
|
const Coord & |
size |
|
) |
| |
|
inlineprotected |
Return a random floating point number between 0.5 -+ mSpread/2.
Return a random floating point number between zero and one.
void start |
( |
const char * |
name | ) |
|
|
inlineprotected |
InterruptType* mInterrupter |
|
protected |
PointAccessorType& mPoints |
|
protected |