#include <Point3DSetSpliter.h>
Public Member Functions | |
Point3DSetSpliter () | |
Default. | |
virtual | ~Point3DSetSpliter () |
Nothing to do but beeing virtual. | |
virtual shared_ptr< vector < shared_ptr< Point3DSet > > > | split (Point3DSet const &points)=0 |
Splits the Point3DSet into disjunct subsets. | |
void | setRNDEngine (RandomEngine *engine) |
The the random number engine. | |
virtual void | unsetRNDEngine (void) |
Tell tell the Point3DSetSpliter to use the default random number generator. | |
Protected Attributes | |
RandomEngine * | m_rnd_eng |
Abstract class to be implemented for specific desired functionality.
Definition at line 27 of file Point3DSetSpliter.h.
Point3DSetSpliter::Point3DSetSpliter | ( | ) | [inline] |
Default.
Definition at line 32 of file Point3DSetSpliter.h.
References ThreadSpecificRandomEngine::get(), ThreadSpecificRandomEngine::init(), m_rnd_eng, and theThreadSpecificRandomEngine.
virtual Point3DSetSpliter::~Point3DSetSpliter | ( | ) | [inline, virtual] |
virtual shared_ptr< vector< shared_ptr<Point3DSet> > > Point3DSetSpliter::split | ( | Point3DSet const & | points | ) | [pure virtual] |
Splits the Point3DSet into disjunct subsets.
Implemented in RatioBasedSpliter.
Referenced by Point3DSet::split().
void Point3DSetSpliter::setRNDEngine | ( | RandomEngine * | engine | ) | [inline] |
The the random number engine.
Definition at line 45 of file Point3DSetSpliter.h.
References m_rnd_eng.
virtual void Point3DSetSpliter::unsetRNDEngine | ( | void | ) | [inline, virtual] |
Tell tell the Point3DSetSpliter to use the default random number generator.
Definition at line 50 of file Point3DSetSpliter.h.
References ThreadSpecificRandomEngine::get(), ThreadSpecificRandomEngine::init(), m_rnd_eng, and theThreadSpecificRandomEngine.
RandomEngine* Point3DSetSpliter::m_rnd_eng [protected] |
Definition at line 53 of file Point3DSetSpliter.h.
Referenced by Point3DSetSpliter(), setRNDEngine(), RatioBasedSpliter::split(), and unsetRNDEngine().