Jpp test-rotations-old
the software that should make you happy
|
Abstract interface for the generation of points in 3D space. More...
#include <JMarkovGenerator.hh>
Public Member Functions | |
virtual | ~JGenerator () |
virtual JPosition3D | getPosition ()=0 |
Return a randomly generated position. | |
virtual double | getWeight (JPosition3D pos)=0 |
return the weight (=probability density dP/dV) for the given position. | |
Abstract interface for the generation of points in 3D space.
By convention, the random number generator used in the derived classes is gRandom.
Definition at line 37 of file JMarkovGenerator.hh.
|
inlinevirtual |
Definition at line 40 of file JMarkovGenerator.hh.
|
pure virtual |
Return a randomly generated position.
Implemented in JMARKOV::J3DhistGenerator, JMARKOV::JBallGenerator, JMARKOV::JCombinedGenerator, JMARKOV::JExponentialGenerator, JMARKOV::JExpRsqInvGenerator, JMARKOV::JGaussianGenerator, JMARKOV::JHistGenerator, JMARKOV::JMagicalDistribution, JMARKOV::JShiftedGenerator, JMARKOV::JSingularityGenerator, JMARKOV::JSphereGenerator, JMARKOV::JTripleGenerator, and JMARKOV::JUniformGenerator.
|
pure virtual |
return the weight (=probability density dP/dV) for the given position.
When the generator is properly normalized, the integral of this quantity over the whole space is 1.
Implemented in JMARKOV::J3DhistGenerator, JMARKOV::JBallGenerator, JMARKOV::JCombinedGenerator, JMARKOV::JExponentialGenerator, JMARKOV::JExpRsqInvGenerator, JMARKOV::JGaussianGenerator, JMARKOV::JHistGenerator, JMARKOV::JMagicalDistribution, JMARKOV::JShiftedGenerator, JMARKOV::JSingularityGenerator, JMARKOV::JSphereGenerator, JMARKOV::JTripleGenerator, and JMARKOV::JUniformGenerator.