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
include
gz
rendering
base
BaseLensFlarePass.hh
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2022 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_BASE_BASELENSFLAREPASS_HH_
18
#define GZ_RENDERING_BASE_BASELENSFLAREPASS_HH_
19
20
#include <string>
21
#include <
gz/math/Rand.hh
>
22
23
#include "
gz/rendering/LensFlarePass.hh
"
24
25
namespace
gz
26
{
27
namespace
rendering
28
{
29
inline
namespace
GZ_RENDERING_VERSION_NAMESPACE {
30
32
template
<
class
T>
33
class
BaseLensFlarePass
:
34
public
virtual
LensFlarePass
,
35
public
virtual
T
36
{
38
protected
:
BaseLensFlarePass
();
39
41
public
:
virtual
~BaseLensFlarePass
()
override
;
42
43
// Documentation inherited
44
public
:
void
SetLight
(
LightPtr
_light)
override
;
45
47
protected
:
LightPtr
light
;
48
};
49
51
// BaseLensFlarePass
53
template
<
class
T>
54
BaseLensFlarePass<T>::BaseLensFlarePass
()
55
{
56
}
57
59
template
<
class
T>
60
BaseLensFlarePass<T>::~BaseLensFlarePass
()
61
{
62
}
63
65
template
<
class
T>
66
void
BaseLensFlarePass<T>::SetLight
(
LightPtr
_light)
67
{
68
this->light = _light;
69
}
70
}
71
}
72
}
73
#endif