All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RenderTypes.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2014 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 _RENDERTYPES_HH_
18 #define _RENDERTYPES_HH_
19 
20 #include <boost/shared_ptr.hpp>
21 #include "gazebo/gazebo_config.h"
22 #include "gazebo/util/system.hh"
23 
26 #define GZ_VISIBILITY_ALL 0x0FFFFFFF
27 
30 #define GZ_VISIBILITY_SELECTION 0x10000000
31 
34 #define GZ_VISIBILITY_GUI 0x00000001
35 
38 #define GZ_VISIBILITY_SELECTABLE 0x00000002
39 
40 namespace gazebo
41 {
42  namespace rendering
43  {
44  class Scene;
45  class Light;
46  class Camera;
47  class UserCamera;
48  class DepthCamera;
49  class GpuLaser;
50  class DynamicLines;
51  class Visual;
52  class LaserVisual;
53  class SonarVisual;
54  class WrenchVisual;
55  class CameraVisual;
56  class JointVisual;
57  class AxisVisual;
58  class ArrowVisual;
59  class ContactVisual;
60  class COMVisual;
61  class RFIDVisual;
62  class RFIDTagVisual;
63  class WindowManager;
64  class SelectionObj;
65 
66 #ifdef HAVE_OCULUS
67  class OculusCamera;
68 #endif
69 
72  typedef boost::shared_ptr<Scene> ScenePtr;
73 
76  typedef boost::shared_ptr<Light> LightPtr;
77 
80  typedef boost::shared_ptr<Camera> CameraPtr;
81 
84  typedef boost::shared_ptr<UserCamera> UserCameraPtr;
85 
88  typedef boost::shared_ptr<DepthCamera> DepthCameraPtr;
89 
92  typedef boost::shared_ptr<GpuLaser> GpuLaserPtr;
93 
96  typedef boost::shared_ptr<DynamicLines> DynamicLinesPtr;
97 
100  typedef boost::shared_ptr<Visual> VisualPtr;
101 
104  typedef boost::shared_ptr<LaserVisual> LaserVisualPtr;
105 
108  typedef boost::shared_ptr<SonarVisual> SonarVisualPtr;
109 
112  typedef boost::shared_ptr<WrenchVisual> WrenchVisualPtr;
113 
116  typedef boost::shared_ptr<CameraVisual> CameraVisualPtr;
117 
120  typedef boost::shared_ptr<JointVisual> JointVisualPtr;
121 
124  typedef boost::shared_ptr<ContactVisual> ContactVisualPtr;
125 
128  typedef boost::shared_ptr<ArrowVisual> ArrowVisualPtr;
129 
132  typedef boost::shared_ptr<AxisVisual> AxisVisualPtr;
133 
136  typedef boost::shared_ptr<COMVisual> COMVisualPtr;
137 
140  typedef boost::shared_ptr<RFIDVisual> RFIDVisualPtr;
141 
144  typedef boost::shared_ptr<RFIDTagVisual> RFIDTagVisualPtr;
145 
148  typedef boost::shared_ptr<WindowManager> WindowManagerPtr;
149 
152  typedef boost::shared_ptr<SelectionObj> SelectionObjPtr;
153 
154 #ifdef HAVE_OCULUS
155  typedef boost::shared_ptr<OculusCamera> OculusCameraPtr;
158 #endif
159 
163  {
166 
169 
173 
176 
180 
184 
187  };
188  }
189 }
190 #endif
A strip of triangles, 3 vertices for the first triangle, and 1 per triangle after that...
Definition: RenderTypes.hh:179
boost::shared_ptr< DepthCamera > DepthCameraPtr
Definition: RenderTypes.hh:88
boost::shared_ptr< SelectionObj > SelectionObjPtr
Definition: RenderTypes.hh:152
boost::shared_ptr< Light > LightPtr
Definition: RenderTypes.hh:76
boost::shared_ptr< CameraVisual > CameraVisualPtr
Definition: RenderTypes.hh:116
boost::shared_ptr< WrenchVisual > WrenchVisualPtr
Definition: RenderTypes.hh:112
A list of lines, 2 vertices per line.
Definition: RenderTypes.hh:168
A list of triangles, 3 vertices per triangle.
Definition: RenderTypes.hh:175
boost::shared_ptr< Camera > CameraPtr
Definition: RenderTypes.hh:80
boost::shared_ptr< JointVisual > JointVisualPtr
Definition: RenderTypes.hh:120
boost::shared_ptr< ContactVisual > ContactVisualPtr
Definition: RenderTypes.hh:124
boost::shared_ptr< LaserVisual > LaserVisualPtr
Definition: RenderTypes.hh:104
RenderOpType
Type of render operation for a drawable.
Definition: RenderTypes.hh:162
boost::shared_ptr< SonarVisual > SonarVisualPtr
Definition: RenderTypes.hh:108
boost::shared_ptr< GpuLaser > GpuLaserPtr
Definition: RenderTypes.hh:92
boost::shared_ptr< ArrowVisual > ArrowVisualPtr
Definition: RenderTypes.hh:128
A strip of connected lines, 1 vertex per line plus 1 start vertex.
Definition: RenderTypes.hh:172
A fan of triangles, 3 vertices for the first triangle, and 1 per triangle after that.
Definition: RenderTypes.hh:183
boost::shared_ptr< WindowManager > WindowManagerPtr
Definition: RenderTypes.hh:148
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:72
A list of points, 1 vertex per point.
Definition: RenderTypes.hh:165
boost::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:100
boost::shared_ptr< AxisVisual > AxisVisualPtr
Definition: RenderTypes.hh:132
boost::shared_ptr< UserCamera > UserCameraPtr
Definition: RenderTypes.hh:84
N/A.
Definition: RenderTypes.hh:186
boost::shared_ptr< COMVisual > COMVisualPtr
Definition: RenderTypes.hh:136
boost::shared_ptr< RFIDVisual > RFIDVisualPtr
Definition: RenderTypes.hh:140
boost::shared_ptr< DynamicLines > DynamicLinesPtr
Definition: RenderTypes.hh:96
boost::shared_ptr< OculusCamera > OculusCameraPtr
Definition: RenderTypes.hh:157
boost::shared_ptr< RFIDTagVisual > RFIDTagVisualPtr
Definition: RenderTypes.hh:144