Gazebo Rendering

API Reference

9.0.0~pre2
Ogre2RenderPass.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_OGRE2_OGRE2RENDERPASS_HH_
18#define GZ_RENDERING_OGRE2_OGRE2RENDERPASS_HH_
19
20#include <memory>
21#include <string>
22
24#include "gz/rendering/ogre2/Export.hh"
26
27namespace Ogre
28{
29 class CompositorWorkspace;
30}
31
32namespace gz
33{
34 namespace rendering
35 {
36 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
37 //
38 // forward declaration
39 class Ogre2RenderPassPrivate;
40
41 /* \class Ogre2RenderPass Ogre2RenderPass.hh \
42 * gz/rendering/ogre2/Ogre2RenderPass.hh
43 */
57 class GZ_RENDERING_OGRE2_VISIBLE Ogre2RenderPass :
58 public BaseRenderPass<Ogre2Object>
59 {
61 protected: Ogre2RenderPass();
62
64 public: virtual ~Ogre2RenderPass();
65
66 // Documentation inherited.
67 public: void Destroy() override;
68
72
75 public: virtual void WorkspaceAdded(
76 Ogre::CompositorWorkspace *_workspace);
77
80 public: virtual void WorkspaceRemoved(
81 Ogre::CompositorWorkspace *_workspace);
82
84 public: virtual void CreateRenderPass();
85
88
91 };
92 }
93 }
94}
95#endif