Gazebo Rendering

API Reference

6.6.3
gz/rendering/ogre/OgreRenderPass.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_OGRERENDERPASS_HH_
18 #define GZ_RENDERING_OGRE_OGRERENDERPASS_HH_
19 
21 #include "gz/rendering/ogre/Export.hh"
24 
25 namespace ignition
26 {
27  namespace rendering
28  {
29  inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
30  //
31  /* \class OgreRenderPass OgreRenderPass.hh \
32  * ignition/rendering/ogre/OgreRenderPass.hh
33  */
35  class IGNITION_RENDERING_OGRE_VISIBLE OgreRenderPass :
36  public BaseRenderPass<OgreObject>
37  {
39  protected: OgreRenderPass();
40 
42  public: virtual ~OgreRenderPass();
43 
46  public: virtual void SetCamera(Ogre::Camera *_camera);
47 
48  // Documentation inherited.
49  public: void Destroy() override;
50 
52  public: virtual void CreateRenderPass();
53 
55  protected: Ogre::Camera *ogreCamera = nullptr;
56  };
57  }
58  }
59 }
60 #endif
Ogre implementation of the RenderPass class.
Definition: gz/rendering/ogre/OgreRenderPass.hh:35
Base render pass that can be applied to a render target.
Definition: gz/rendering/base/BaseRenderPass.hh:34