Gazebo Rendering

API Reference

8.2.0
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 
24 
25 namespace gz
26 {
27  namespace rendering
28  {
29  inline namespace GZ_RENDERING_VERSION_NAMESPACE {
30 
32  template <class T>
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>
55  {
56  }
57 
59  template <class T>
61  {
62  }
63 
65  template <class T>
67  {
68  this->light = _light;
69  }
70  }
71  }
72 }
73 #endif