PointLightShadowCameraSetup.hh
Go to the documentation of this file.
1/*
2 * Copyright (C) 2021 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_POINTLIGHTSHADOWCAMERASETUP_HH_
19#define GAZEBO_RENDERING_POINTLIGHTSHADOWCAMERASETUP_HH_
20
22
23#include "gazebo/util/system.hh"
24
25namespace gazebo
26{
27 namespace rendering
28 {
30 : public Ogre::DefaultShadowCameraSetup
31 {
34
37
40 public: virtual void getShadowCamera(const Ogre::SceneManager *_sm,
41 const Ogre::Camera *_cam, const Ogre::Viewport *_vp,
42 const Ogre::Light *_light, Ogre::Camera *_texCam, size_t _iteration)
43 const override;
44 };
45 }
46}
47
48#endif
rendering
Definition RenderEngine.hh:31
Definition PointLightShadowCameraSetup.hh:31
virtual void getShadowCamera(const Ogre::SceneManager *_sm, const Ogre::Camera *_cam, const Ogre::Viewport *_vp, const Ogre::Light *_light, Ogre::Camera *_texCam, size_t _iteration) const override
Returns a shadow camera for a point light.
Forward declarations for the common classes.
Definition Animation.hh:27
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition system.hh:59