Ignition Rendering

API Reference

4.1.0
OgreGaussianNoisePass.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 IGNITION_RENDERING_OGRE_OGREGAUSSIANNOISEPASS_HH_
18 #define IGNITION_RENDERING_OGRE_OGREGAUSSIANNOISEPASS_HH_
19 
20 #include <memory>
21 
25 #include "ignition/rendering/ogre/Export.hh"
26 
27 namespace ignition
28 {
29  namespace rendering
30  {
31  inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
32  //
33  // Forward declaration
34  class GaussianNoiseCompositorListener;
35 
36  /* \class OgreGaussianNoisePass OgreGaussianNoisePass.hh \
37  * ignition/rendering/ogre/OgreGaussianNoisePass.hh
38  */
40  class IGNITION_RENDERING_OGRE_VISIBLE OgreGaussianNoisePass :
41  public BaseGaussianNoisePass<OgreRenderPass>
42  {
44  public: OgreGaussianNoisePass();
45 
47  public: virtual ~OgreGaussianNoisePass();
48 
49  // Documentation inherited
50  public: void PreRender() override;
51 
52  // Documentation inherited
53  public: void Destroy() override;
54 
55  // Documentation inherited
56  public: void CreateRenderPass() override;
57 
59  public: Ogre::CompositorInstance *gaussianNoiseInstance = nullptr;
60 
64  };
65  }
66  }
67 }
68 #endif
std::shared_ptr< GaussianNoiseCompositorListener > gaussianNoiseCompositorListener
Gaussian noise compositor listener.
Definition: OgreGaussianNoisePass.hh:63
Base Gaussian noise render pass.
Definition: BaseGaussianNoisePass.hh:36
Ogre implementation of the GaussianNoisePass class.
Definition: OgreGaussianNoisePass.hh:40