Gazebo Rendering

API Reference

8.2.0
BaseLensFlarePass< T > Class Template Reference

Base Gaussian noise render pass. More...

#include <BaseLensFlarePass.hh>

Public Member Functions

virtual ~BaseLensFlarePass () override
 Destructor. More...
 
void SetLight (LightPtr _light) override
 Set the light that generates lens flare. More...
 
- Public Member Functions inherited from LensFlarePass
 LensFlarePass ()
 Constructor. More...
 
virtual ~LensFlarePass ()
 Destructor. More...
 
virtual const math::Vector3dColor () const =0
 Returns the color set in SetColor() More...
 
virtual void Init (ScenePtr _scene)=0
 Initializes the Lens Flare Pass with given scene. More...
 
virtual uint32_t OcclusionSteps () const =0
 Returns the number of steps set in SetOcclusionSteps() More...
 
virtual double Scale () const =0
 Returns the scale set in SetScale() More...
 
virtual void SetColor (const math::Vector3d &_color)=0
 Set the color of lens flare. More...
 
virtual void SetOcclusionSteps (uint32_t _occlusionSteps)=0
 Set the number of steps to take in each direction when checking for occlusions. More...
 
virtual void SetScale (double _scale)=0
 Set the scale of lens flare. 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...
 
virtual void PreRender (const CameraPtr &_camera)=0
 See Object::PreRender. This function will call Object::PreRender but with the added bonus that it has access to the camera that is about to render. More...
 
virtual void SetEnabled (bool _enabled)=0
 Set to enable or disable the render pass. More...
 
virtual void SetWideAngleCameraAfterStitching (bool _afterStitching)=0
 WideAngleCamera renders to 6 faces; then stitches all 6 into a final "fish-eye" lens result. More...
 
virtual bool WideAngleCameraAfterStitching () const =0
 See SetWideAngleCameraAfterStitching() More...
 
- Public Member Functions inherited from Object
virtual ~Object ()
 Destructor. More...
 
virtual void Destroy ()=0
 Destroy any resources associated with this object. Invoking any other functions after destroying an object will result in undefined behavior. 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 void PreRender ()=0
 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...
 
virtual ScenePtr Scene () const =0
 Get the Scene that created this object. More...
 

Protected Member Functions

 BaseLensFlarePass ()
 Constructor. More...
 

Protected Attributes

LightPtr light
 Light that generates the lens flare. More...
 

Detailed Description

template<class T>
class gz::rendering::BaseLensFlarePass< T >

Base Gaussian noise render pass.

Constructor & Destructor Documentation

◆ BaseLensFlarePass()

BaseLensFlarePass
protected

Constructor.

◆ ~BaseLensFlarePass()

~BaseLensFlarePass
overridevirtual

Destructor.

Member Function Documentation

◆ SetLight()

void SetLight ( LightPtr  _light)
overridevirtual

Set the light that generates lens flare.

Parameters
[in]_lightPointer to light

Implements LensFlarePass.

Member Data Documentation

◆ light

LightPtr light
protected

Light that generates the lens flare.


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