Helios++
Helios software for LiDAR simulations
PyRandomnessGeneratorWrapper.h
1 #pragma once
2 
3 #ifdef PYTHON_BINDING
4 
11 public:
12  // *** ATTRIBUTES *** //
13  // ******************** //
15 
16  // *** CONSTRUCTION *** //
17  // ********************** //
19  virtual ~PyRandomnessGeneratorWrapper(){}
20 
21  // *** GETTERS and SETTERS *** //
22  // ***************************** //
23  void computeUniformRealDistribution(double lowerBound, double upperBound)
24  {rg.computeUniformRealDistribution(lowerBound, upperBound);}
25  double uniformRealDistributionNext()
26  {return rg.uniformRealDistributionNext();}
27  void computeNormalDistribution(double mean, double stdev)
28  {return rg.computeNormalDistribution(mean, stdev);}
29  double normalDistributionNext()
30  {return rg.normalDistributionNext();}
31 };
32 
33 #endif
Wrapper for RandomnessGenerator class.
Definition: PyRandomnessGeneratorWrapper.h:10
RealType uniformRealDistributionNext()
Obtain the next value in the computed uniform real distribution.
Definition: RandomnessGenerator.h:374
RealType normalDistributionNext()
Obtain the next value in the computed normal distribution.
Definition: RandomnessGenerator.h:412
void computeNormalDistribution(RealType mean, RealType stdev)
Compute a normal distribution using the specified real data type.
Definition: RandomnessGenerator.h:380
void computeUniformRealDistribution(RealType lowerBound, RealType upperBound)
Compute a uniform real distribution using the specified real data type.
Definition: RandomnessGenerator.h:343