HDK
|
Forward declaration of base class. More...
#include <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. 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) |
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.
Definition at line 44 of file PointScatter.h.
|
inlineprotected |
This is a base class so the constructor is protected.
Definition at line 360 of file PointScatter.h.
|
inlineprotected |
Definition at line 397 of file PointScatter.h.
|
inlineprotected |
Definition at line 407 of file PointScatter.h.
|
inlineprotected |
Definition at line 379 of file PointScatter.h.
|
inline |
Definition at line 346 of file PointScatter.h.
|
inlineprotected |
Return a random floating point number between 0.5 -+ mSpread/2.
Definition at line 394 of file PointScatter.h.
|
inlineprotected |
Return a random floating point number between zero and one.
Definition at line 391 of file PointScatter.h.
|
inline |
Definition at line 347 of file PointScatter.h.
|
inlineprotected |
Definition at line 384 of file PointScatter.h.
|
inlineprotected |
Definition at line 374 of file PointScatter.h.
|
protected |
Definition at line 355 of file PointScatter.h.
|
protected |
Definition at line 352 of file PointScatter.h.
|
protected |
Definition at line 353 of file PointScatter.h.
|
protected |
Definition at line 351 of file PointScatter.h.
|
protected |
Definition at line 357 of file PointScatter.h.
|
protected |
Definition at line 356 of file PointScatter.h.
|
protected |
Definition at line 354 of file PointScatter.h.