OpenVDB 11.0.0
|
Forward declaration of base class. More...
#include <openvdb/tools/PointScatter.h>
Public Member Functions | |
Index64 | getPointCount () const |
Index64 | getVoxelCount () const |
Protected Member Functions | |
BasePointScatter (PointAccessorType &points, RandomGenerator &randGen, double spread, InterruptType *interrupt=nullptr) | |
This is a base class so the constructor is protected. | |
void | start (const char *name) |
void | end () |
bool | interrupt () |
double | getRand01 () |
Return a random floating point number between zero and one. | |
double | getRand () |
Return a random floating point number between 0.5 -+ mSpread/2. | |
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) |
Protected Attributes | |
PointAccessorType & | mPoints |
InterruptType * | mInterrupter |
Index64 | mPointCount |
Index64 | mVoxelCount |
Index64 | mInterruptCount |
const double | mSpread |
math::Rand01< double, RandomGenerator > | mRand01 |
Forward declaration of base class.
Base class of all the point scattering classes defined above.
|
inlineprotected |
This is a base class so the constructor is protected.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inlineprotected |
Return a random floating point number between 0.5 -+ mSpread/2.
|
inlineprotected |
Return a random floating point number between zero and one.
|
inline |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |