Gazebo Rendering

API Reference

3.7.2
gz/rendering/GaussianNoisePass.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 #ifndef GZ_RENDERING_GAUSSIANNOISEPASS_HH_
18 #define GZ_RENDERING_GAUSSIANNOISEPASS_HH_
19 
20 #include <string>
21 #include "gz/rendering/config.hh"
22 #include "gz/rendering/Export.hh"
24 
25 namespace ignition
26 {
27  namespace rendering
28  {
29  inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
30  //
31  /* \class GaussianNoisePass GaussianNoisePass.hh \
32  * ignition/rendering/GaussianNoisePass.hh
33  */
35  class IGNITION_RENDERING_VISIBLE GaussianNoisePass
36  : public virtual RenderPass
37  {
39  public: GaussianNoisePass();
40 
42  public: virtual ~GaussianNoisePass();
43 
46  public: virtual double Mean() const = 0;
47 
50  public: virtual double StdDev() const = 0;
51 
54  public: virtual double Bias() const = 0;
55 
58  public: virtual void SetMean(double _mean) = 0;
59 
62  public: virtual void SetStdDev(double _stdDev) = 0;
63 
67  public: virtual void SetBiasMean(double _biasMean) = 0;
68 
72  public: virtual void SetBiasStdDev(double _biasStdDev) = 0;
73  };
74  }
75  }
76 }
77 #endif
virtual void SetStdDev(double _stdDev)=0
Set stddev.
virtual double StdDev() const =0
Accessor for stddev.
A render pass that applies Gaussian noise to the render target.
Definition: gz/rendering/GaussianNoisePass.hh:35
virtual double Mean() const =0
Accessor for mean.
virtual ~GaussianNoisePass()
Destructor.
virtual void SetBiasStdDev(double _biasStdDev)=0
Set the standard deviation of the bias value. Bias is computed based on the bias mean and bias standa...
virtual void SetBiasMean(double _biasMean)=0
Set the mean of the bias value. Bias is computed based on the bias mean and bias standard deviation.
virtual void SetMean(double _mean)=0
Set mean.
A render pass can be added to a camera to affect how the scene is rendered. It can be used to add pos...
Definition: gz/rendering/RenderPass.hh:34
virtual double Bias() const =0
Accessor for bias.