Helios++
Helios software for LiDAR simulations
PyRandomnessGeneratorWrapper.h
1 #pragma once
2 
3 #ifdef PYTHON_BINDING
4 
5 namespace pyhelios{
6 
13 public:
14  // *** ATTRIBUTES *** //
15  // ******************** //
17 
18  // *** CONSTRUCTION *** //
19  // ********************** //
21  virtual ~PyRandomnessGeneratorWrapper(){}
22 
23  // *** GETTERS and SETTERS *** //
24  // ***************************** //
25  void computeUniformRealDistribution(double lowerBound, double upperBound)
26  {rg.computeUniformRealDistribution(lowerBound, upperBound);}
27  double uniformRealDistributionNext()
28  {return rg.uniformRealDistributionNext();}
29  void computeNormalDistribution(double mean, double stdev)
30  {return rg.computeNormalDistribution(mean, stdev);}
31  double normalDistributionNext()
32  {return rg.normalDistributionNext();}
33 };
34 
35 }
36 
37 #endif
RealType uniformRealDistributionNext()
Obtain the next value in the computed uniform real distribution.
Definition: RandomnessGenerator.h:394
void computeUniformRealDistribution(RealType lowerBound, RealType upperBound)
Compute a uniform real distribution using the specified real data type.
Definition: RandomnessGenerator.h:354
RealType normalDistributionNext()
Obtain the next value in the computed normal distribution.
Definition: RandomnessGenerator.h:432
void computeNormalDistribution(RealType mean, RealType stdev)
Compute a normal distribution using the specified real data type.
Definition: RandomnessGenerator.h:400
Wrapper for RandomnessGenerator class.
Definition: PyRandomnessGeneratorWrapper.h:12