LensFlare.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 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 
18 #ifndef GAZEBO_RENDERING_LENSFLARE_HH_
19 #define GAZEBO_RENDERING_LENSFLARE_HH_
20 
21 #include <memory>
22 
23 #include "gazebo/msgs/msgs.hh"
24 
26 #include "gazebo/util/system.hh"
27 
28 namespace gazebo
29 {
32  namespace rendering
33  {
34  class LensFlarePrivate;
35 
38 
45  class GZ_RENDERING_VISIBLE LensFlare
46  {
48  public: LensFlare();
49 
51  public: virtual ~LensFlare();
52 
55  public: void SetCamera(CameraPtr _camera);
56 
59  public: void SetScale(const double _scale);
60 
62  private: void Update();
63 
66  private: void OnRequest(ConstRequestPtr &_msg);
67 
70  private: std::unique_ptr<LensFlarePrivate> dataPtr;
71  };
73  }
74 }
75 #endif
Forward declarations for the common classes.
Definition: Animation.hh:26
Camera lens flare compositor.
Definition: LensFlare.hh:45
boost::shared_ptr< Camera > CameraPtr
Definition: RenderTypes.hh:90