##

LensFlare.hh
Go to the documentation of this file.
/*
* Copyright (C) 2017 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef GAZEBO_RENDERING_LENSFLARE_HH_
#define GAZEBO_RENDERING_LENSFLARE_HH_
#include <memory>
#include "gazebo/msgs/msgs.hh"
#include "gazebo/rendering/RenderTypes.hh"
#include "gazebo/util/system.hh"
namespace gazebo
{
namespace rendering
{
class LensFlarePrivate;
class GZ_RENDERING_VISIBLE LensFlare
{
public: LensFlare();
public: virtual ~LensFlare();
public: void SetCamera(CameraPtr _camera);
public: void SetScale(const double _scale);
private: void Update();
private: void OnRequest(ConstRequestPtr &_msg);
private: std::unique_ptr<LensFlarePrivate> dataPtr;
};
}
}
#endif
gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
gazebo::rendering::LensFlare::~LensFlare
virtual ~LensFlare()
Destructor.
system.hh
gazebo::rendering::LensFlare::LensFlare
LensFlare()
Constructor.
msgs.hh
gazebo::rendering::LensFlare::SetScale
void SetScale(const double _scale)
Set the scale of lens flare.
RenderTypes.hh
rendering
rendering
Definition: RenderEngine.hh:31
gazebo::rendering::LensFlare::SetCamera
void SetCamera(CameraPtr _camera)
Set the camera which lensFlare will be applied to.
gazebo::rendering::LensFlare
Camera lens flare compositor. This lens flare effect does not perform any depth checking so if the di...
Definition: LensFlare.hh:45
gazebo::rendering::CameraPtr
boost::shared_ptr< Camera > CameraPtr
Definition: RenderTypes.hh:90