Gazebo Rendering

API Reference

3.7.2
gz/rendering/ogre/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 GZ_RENDERING_OGRE_OGREGAUSSIANNOISEPASS_HH_
18 #define GZ_RENDERING_OGRE_OGREGAUSSIANNOISEPASS_HH_
19 
20 #include <memory>
21 
22 #include <gz/common/SuppressWarning.hh>
23 
27 #include "gz/rendering/ogre/Export.hh"
28 
29 namespace ignition
30 {
31  namespace rendering
32  {
33  inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
34  //
35  // Forward declaration
36  class GaussianNoiseCompositorListener;
37 
38  /* \class OgreGaussianNoisePass OgreGaussianNoisePass.hh \
39  * ignition/rendering/ogre/OgreGaussianNoisePass.hh
40  */
42  class IGNITION_RENDERING_OGRE_VISIBLE OgreGaussianNoisePass :
43  public BaseGaussianNoisePass<OgreRenderPass>
44  {
46  public: OgreGaussianNoisePass();
47 
49  public: virtual ~OgreGaussianNoisePass();
50 
51  // Documentation inherited
52  public: void PreRender() override;
53 
54  // Documentation inherited
55  public: void Destroy() override;
56 
57  // Documentation inherited
58  public: void CreateRenderPass() override;
59 
61  public: Ogre::CompositorInstance *gaussianNoiseInstance = nullptr;
62 
68  };
69  }
70  }
71 }
72 #endif
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
Ogre implementation of the GaussianNoisePass class.
Definition: gz/rendering/ogre/OgreGaussianNoisePass.hh:42
Base Gaussian noise render pass.
Definition: gz/rendering/base/BaseGaussianNoisePass.hh:36
std::shared_ptr< GaussianNoiseCompositorListener > gaussianNoiseCompositorListener
Gaussian noise compositor listener.
Definition: gz/rendering/ogre/OgreGaussianNoisePass.hh:66
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING