Gazebo Rendering

API Reference

7.4.2
Ogre2GaussianNoisePass Class Reference

Ogre2 Implementation of a Gaussian noise render pass. More...

#include <Ogre2GaussianNoisePass.hh>

Public Member Functions

 Ogre2GaussianNoisePass ()
 Constructor. More...
 
virtual ~Ogre2GaussianNoisePass ()
 Destructor. More...
 
void CreateRenderPass () override
 Create the render pass using ogre compositor. More...
 
void PreRender () override
 Prepare this object and any of its children for rendering. This should be called for each object in a scene just before rendering, which can be achieved by a single call to Scene::PreRender. More...
 
- Public Member Functions inherited from BaseGaussianNoisePass< Ogre2RenderPass >
virtual ~BaseGaussianNoisePass ()
 Destructor. More...
 
double Bias () const
 Accessor for bias. More...
 
double Mean () const
 Accessor for mean. More...
 
void SetBiasMean (double _biasMean)
 Set the mean of the bias value. Bias is computed based on the bias mean and bias standard deviation. More...
 
void SetBiasStdDev (double _biasStdDev)
 Set the standard deviation of the bias value. Bias is computed based on the bias mean and bias standard deviation. More...
 
void SetMean (double _mean)
 Set mean. More...
 
void SetStdDev (double _stdDev)
 Set stddev. More...
 
double StdDev () const
 Accessor for stddev. More...
 
- Public Member Functions inherited from GaussianNoisePass
 GaussianNoisePass ()
 Constructor. More...
 
virtual ~GaussianNoisePass ()
 Destructor. More...
 
virtual double Bias () const =0
 Accessor for bias. More...
 
virtual double Mean () const =0
 Accessor for mean. More...
 
virtual double StdDev () const =0
 Accessor for stddev. More...
 
- Public Member Functions inherited from RenderPass
virtual ~RenderPass ()
 Destructor. More...
 
virtual bool IsEnabled () const =0
 Get whether or not the render pass is enabled. More...
 
- Public Member Functions inherited from Object
virtual ~Object ()
 Destructor. More...
 
virtual unsigned int Id () const =0
 Get the object ID. This ID will be unique across all objects inside a given scene, but necessarily true for objects across different scenes. More...
 
virtual std::string Name () const =0
 Get the object name. This name will be unique across all objects inside a given scene, but necessarily true for objects across different scenes. More...
 
virtual void PostRender ()=0
 Post process this object and any of its children after rendering. More...
 
virtual ScenePtr Scene () const =0
 Get the Scene that created this object. More...
 
- Public Member Functions inherited from Ogre2RenderPass
virtual ~Ogre2RenderPass ()
 Destructor. More...
 
void Destroy () override
 
std::string OgreCompositorNodeDefinitionName () const
 Get the ogre compositor node definition name for this render pass. More...
 
- Public Member Functions inherited from BaseRenderPass< Ogre2Object >
virtual ~BaseRenderPass ()
 Destructor. More...
 
virtual bool IsEnabled () const override
 Get whether or not the render pass is enabled. More...
 
virtual void SetEnabled (bool _enabled) override
 Set to enable or disable the render pass. More...
 
- Public Member Functions inherited from Ogre2Object
virtual ~Ogre2Object ()
 Destructor. More...
 
virtual ScenePtr Scene () const override
 
- Public Member Functions inherited from BaseObject
virtual ~BaseObject ()
 
virtual unsigned int Id () const override
 
virtual std::string Name () const override
 
virtual void PostRender () override
 

Additional Inherited Members

- Protected Member Functions inherited from BaseGaussianNoisePass< Ogre2RenderPass >
 BaseGaussianNoisePass ()
 Constructor. More...
 
void SampleBias ()
 
- Protected Member Functions inherited from Ogre2RenderPass
 Ogre2RenderPass ()
 Constructor. More...
 
- Protected Member Functions inherited from BaseRenderPass< Ogre2Object >
 BaseRenderPass ()
 Constructor. More...
 
- Protected Member Functions inherited from Ogre2Object
 Ogre2Object ()
 Constructor. More...
 
- Protected Member Functions inherited from BaseObject
 BaseObject ()
 
virtual void Init ()
 
virtual void Load ()
 
- Protected Attributes inherited from BaseGaussianNoisePass< Ogre2RenderPass >
double bias
 Gaussian noise bias. More...
 
double biasMean
 The mean of the Gaussian distribution from which bias values are drawn. More...
 
double biasStdDev
 The standard deviation of the Gaussian distribution from which bias values are drawn. More...
 
double mean
 Gaussian noise mean. More...
 
double stdDev
 Standard deviation of Gaussian noise. More...
 
- Protected Attributes inherited from Ogre2RenderPass
std::string ogreCompositorNodeDefName
 Name of the ogre compositor node definition. More...
 
- Protected Attributes inherited from BaseRenderPass< Ogre2Object >
bool enabled
 Flag to indicate if render pass is enabled or not. More...
 
- Protected Attributes inherited from Ogre2Object
Ogre2ScenePtr scene
 Pointer to the ogre scene. More...
 
- Protected Attributes inherited from BaseObject
unsigned int id
 
std::string name
 

Detailed Description

Ogre2 Implementation of a Gaussian noise render pass.

Constructor & Destructor Documentation

◆ Ogre2GaussianNoisePass()

Constructor.

◆ ~Ogre2GaussianNoisePass()

virtual ~Ogre2GaussianNoisePass ( )
virtual

Destructor.

Member Function Documentation

◆ CreateRenderPass()

void CreateRenderPass ( )
overridevirtual

Create the render pass using ogre compositor.

Reimplemented from Ogre2RenderPass.

◆ PreRender()

void PreRender ( )
overridevirtual

Prepare this object and any of its children for rendering. This should be called for each object in a scene just before rendering, which can be achieved by a single call to Scene::PreRender.

Implements Object.


The documentation for this class was generated from the following file: