17 #ifndef GZ_RENDERING_BASE_BASEGAUSSIANNOISEPASS_HH_
18 #define GZ_RENDERING_BASE_BASEGAUSSIANNOISEPASS_HH_
21 #include <gz/math/Rand.hh>
29 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
47 public:
double Mean()
const;
50 public:
double StdDev()
const;
53 public:
double Bias()
const;
56 public:
void SetMean(
double _mean);
59 public:
void SetStdDev(
double _stdDev);
62 public:
void SetBiasMean(
double _biasMean);
65 public:
void SetBiasStdDev(
double _biasStdDev);
68 protected:
void SampleBias();
71 protected:
double mean = 0.0;
74 protected:
double stdDev = 0.0;
77 protected:
double bias = 0.0;
81 protected:
double biasMean = 0;
85 protected:
double biasStdDev = 0;
134 this->stdDev = _stdDev;
141 this->biasMean = _biasMean;
149 this->biasStdDev = _biasStdDev;
163 this->bias = -this->bias;