Gazebo Rendering
API Reference
9.0.0
insert_drive_file
Tutorials
library_books
Classes
toc
Namespaces
insert_drive_file
Files
launch
Gazebo Website
Index
List
Hierarchy
Members: All
Members: Functions
Members: Variables
Members: Typedefs
Members: Enumerations
Members: Enumerator
List
Members
Functions
Typedefs
Variables
Enumerations
Enumerator
src
gz-rendering
ogre
include
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
20
#include "
gz/rendering/base/BaseRenderPass.hh
"
21
#include "gz/rendering/ogre/Export.hh"
22
#include "
gz/rendering/ogre/OgreIncludes.hh
"
23
#include "
gz/rendering/ogre/OgreObject.hh
"
24
25
namespace
gz
26
{
27
namespace
rendering
28
{
29
inline
namespace
GZ_RENDERING_VERSION_NAMESPACE {
30
31
static
constexpr
uint32_t
kMaxOgreRenderPassCameras
= 6u;
32
33
//
34
/* \class OgreRenderPass OgreRenderPass.hh \
35
* gz/rendering/ogre/OgreRenderPass.hh
36
*/
38
class
GZ_RENDERING_OGRE_VISIBLE
OgreRenderPass
:
39
public
BaseRenderPass
<OgreObject>
40
{
42
protected
:
OgreRenderPass
();
43
45
public
:
virtual
~OgreRenderPass
();
46
49
public
:
virtual
void
SetCamera
(Ogre::Camera *_camera);
50
54
public
:
virtual
void
SetCameras
(
55
Ogre::Camera *_cameras[kMaxOgreRenderPassCameras]);
56
57
// Documentation inherited.
58
public
:
void
Destroy
()
override
;
59
61
public
:
virtual
void
CreateRenderPass
();
62
66
protected
: Ogre::Camera *ogreCamera[
kMaxOgreRenderPassCameras
] = {};
67
};
68
}
69
}
70
}
71
#endif