LightPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2016 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 _GAZEBO_RENDERING_LIGHT_PRIVATE_HH_
18 #define _GAZEBO_RENDERING_LIGHT_PRIVATE_HH_
19 
20 #include <sdf/sdf.hh>
21 
24 
25 namespace Ogre
26 {
27  class Light;
28 }
29 
30 namespace gazebo
31 {
32  namespace rendering
33  {
34  class DynamicLines;
35 
39  {
41  public: Ogre::Light *light;
42 
44  public: VisualPtr visual;
45 
47  public: DynamicLines *line;
48 
50  public: sdf::ElementPtr sdf;
51 
54 
56  public: ScenePtr scene;
57 
59  public: static unsigned int lightCounter;
60  };
61  }
62 }
63 #endif
Class for drawing lines that can change.
Definition: DynamicLines.hh:43
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:153
ScenePtr scene
Pointer to the scene.
Definition: LightPrivate.hh:56
Ogre::Light * light
The ogre light source.
Definition: LightPrivate.hh:41
VisualPtr visual
The visual used to visualize the light.
Definition: LightPrivate.hh:44
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:112
event::ConnectionPtr showLightsConnection
Event connection to toggle visualization on/off.
Definition: LightPrivate.hh:53
DynamicLines * line
The lines used to visualize the light.
Definition: LightPrivate.hh:47
static unsigned int lightCounter
Counter used to generate unique light names.
Definition: LightPrivate.hh:59
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:80
Definition: LightPrivate.hh:38
sdf::ElementPtr sdf
SDF element data for the light.
Definition: LightPrivate.hh:50