Ignition Rendering

API Reference

4.1.0
RenderTypes.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 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 IGNITION_RENDERING_RENDERTYPES_HH_
18 #define IGNITION_RENDERING_RENDERTYPES_HH_
19 
20 #include <memory>
21 #include <ignition/rendering/config.hh>
22 
23 
26 #define IGN_VISIBILITY_ALL 0x0FFFFFFF
27 
30 #define IGN_VISIBILITY_SELECTION 0x10000000
31 
34 #define IGN_VISIBILITY_GUI 0x00000001
35 
38 #define IGN_VISIBILITY_SELECTABLE 0x00000002
39 
40 namespace ignition
41 {
42  namespace rendering
43  {
44  inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
45  //
46  template <class T>
48 
49  class ArrowVisual;
50  class AxisVisual;
51  class Camera;
52  class DepthCamera;
53  class DirectionalLight;
54  class GaussianNoisePass;
55  class Geometry;
56  class GizmoVisual;
57  class GpuRays;
58  class Grid;
59  class JointVisual;
60  class Image;
61  class Light;
62  class LidarVisual;
63  class Material;
64  class Marker;
65  class Mesh;
66  class Node;
67  class Object;
68  class ObjectFactory;
69  class ParticleEmitter;
70  class PointLight;
71  class RayQuery;
72  class RenderEngine;
73  class RenderPass;
74  class RenderPassSystem;
75  class RenderTarget;
76  class RenderTexture;
77  class RenderWindow;
78  class Scene;
79  class Sensor;
80  class ShaderParams;
81  class SpotLight;
82  class SubMesh;
83  class Text;
84  class ThermalCamera;
85  class Visual;
86  class WireBox;
87 
91 
95 
99 
103 
107 
111 
115 
119 
123 
127 
131 
135 
139 
143 
147 
151 
155 
159 
163 
167 
171 
175 
179 
183 
187 
191 
195 
199 
206 
210 
213 
217 
221 
225 
229 
233 
237 
241 
245 
249 
253 
257 
261 
265 
269 
273 
277 
281 
285 
289 
293 
297 
301 
305 
309 
313 
317 
321 
325 
329 
333 
337 
341 
345 
349 
352 
356 
360 
364 
368  }
369  }
370 }
371 #endif
shared_ptr< const Sensor > ConstSensorPtr
Definition: RenderTypes.hh:348
Represents a arrow composite visual.
Definition: ArrowVisual.hh:31
shared_ptr< const LidarVisual > ConstLidarVisualPtr
Definition: RenderTypes.hh:288
Generate depth ray data.
Definition: GpuRays.hh:37
shared_ptr< const GaussianNoisePass > ConstGaussianNoisePass
Definition: RenderTypes.hh:264
shared_ptr< const Object > ConstObjectPtr
Definition: RenderTypes.hh:304
A marker geometry class. The marker&#39;s visual appearance is based on the marker type specified...
Definition: Marker.hh:74
shared_ptr< const Geometry > ConstGeometryPtr
Definition: RenderTypes.hh:268
shared_ptr< ArrowVisual > ArrowVisualPtr
Definition: RenderTypes.hh:90
Represents a axis composite visual.
Definition: AxisVisual.hh:31
shared_ptr< const SpotLight > ConstSpotLightPtr
Definition: RenderTypes.hh:355
shared_ptr< const RenderPassSystem > ConstRenderPassSystemPtr
Definition: RenderTypes.hh:328
shared_ptr< ParticleEmitter > ParticleEmitterPtr
Definition: RenderTypes.hh:174
Thermal camera that produces temperature data. An object&#39;s temperature can be set through the Visual ...
Definition: ThermalCamera.hh:40
shared_ptr< const Light > ConstLightPtr
Definition: RenderTypes.hh:284
A class for creating and managing render passes.
Definition: RenderPassSystem.hh:54
shared_ptr< const JointVisual > ConstJointVisualPtr
Definition: RenderTypes.hh:276
shared_ptr< Mesh > MeshPtr
Definition: RenderTypes.hh:158
Represents a scene sensor. The most obvious example is a camera, but it can be anything that generate...
Definition: Sensor.hh:32
shared_ptr< const GizmoVisual > ConstGizmoVisualPtr
Definition: RenderTypes.hh:272
shared_ptr< const PointLight > ConstPointLightPtr
Definition: RenderTypes.hh:316
shared_ptr< Image > ImagePtr
Definition: RenderTypes.hh:138
shared_ptr< DirectionalLight > DirectionalLightPtr
Definition: RenderTypes.hh:114
A render pass can be added to a camera to affect how the scene is rendered. It can be used to add pos...
Definition: RenderPass.hh:34
shared_ptr< RenderWindow > RenderWindowPtr
Definition: RenderTypes.hh:202
A render pass that applies Gaussian noise to the render target.
Definition: GaussianNoisePass.hh:35
shared_ptr< const Camera > ConstCameraPtr
Definition: RenderTypes.hh:244
shared_ptr< LidarVisual > LidarVisualPtr
Definition: RenderTypes.hh:146
Represents a billboard text geometry that is always facing the camera.
Definition: Text.hh:62
Definition: DepthCamera.hh:34
shared_ptr< GizmoVisual > GizmoVisualPtr
Definition: RenderTypes.hh:126
shared_ptr< Geometry > GeometryPtr
Definition: RenderTypes.hh:122
shared_ptr< AxisVisual > AxisVisualPtr
Definition: RenderTypes.hh:94
Represents a single posable node in the scene graph.
Definition: Node.hh:37
shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:228
Represents a render-target to which cameras can render images.
Definition: RenderTarget.hh:37
shared_ptr< const RayQuery > ConstRayQueryPtr
Definition: RenderTypes.hh:320
shared_ptr< RenderTarget > RenderTargetPtr
Definition: RenderTypes.hh:194
Represents a point light.
Definition: Light.hh:136
shared_ptr< const DepthCamera > ConstDepthCameraPtr
Definition: RenderTypes.hh:248
shared_ptr< GaussianNoisePass > GaussianNoisePassPtr
Definition: RenderTypes.hh:118
shared_ptr< const RenderTarget > ConstRenderTargetPtr
Definition: RenderTypes.hh:332
shared_ptr< Object > ObjectPtr
Definition: RenderTypes.hh:166
shared_ptr< const Node > ConstNodePtr
Definition: RenderTypes.hh:300
shared_ptr< const ArrowVisual > ConstArrowVisualPtr
Definition: RenderTypes.hh:236
shared_ptr< Sensor > SensorPtr
Definition: RenderTypes.hh:209
shared_ptr< const RenderPass > ConstRenderPassPtr
Definition: RenderTypes.hh:324
shared_ptr< const Mesh > ConstMeshPtr
Definition: RenderTypes.hh:296
Encapsulates a raw image buffer and relevant properties.
Definition: Image.hh:36
shared_ptr< Node > NodePtr
Definition: RenderTypes.hh:162
shared_ptr< const Material > ConstMaterialPtr
Definition: RenderTypes.hh:292
shared_ptr< const ShaderParams > ConstShaderParamsPtr
Shared pointer to const ShaderParams.
Definition: RenderTypes.hh:351
shared_ptr< const RenderWindow > ConstRenderWindowPtr
Definition: RenderTypes.hh:340
Manages a single scene-graph. This class updates scene-wide properties and holds the root scene node...
Definition: Scene.hh:48
Represents a off-screen render-texture to which cameras can render images.
Definition: RenderTarget.hh:103
shared_ptr< Camera > CameraPtr
Definition: RenderTypes.hh:98
shared_ptr< SpotLight > SpotLightPtr
Definition: RenderTypes.hh:216
Class to manage a particle emitter.
Definition: ParticleEmitter.hh:58
shared_ptr< Marker > MarkerPtr
Definition: RenderTypes.hh:154
shared_ptr< const Image > ConstImagePtr
Definition: RenderTypes.hh:280
shared_ptr< RayQuery > RayQueryPtr
Definition: RenderTypes.hh:182
Posable camera used for rendering the scene graph.
Definition: Camera.hh:40
shared_ptr< const GpuRays > ConstGpuRaysPtr
Definition: RenderTypes.hh:256
shared_ptr< RenderPass > RenderPassPtr
Definition: RenderTypes.hh:186
A Ray Query class used for computing ray object intersections.
Definition: RayQuery.hh:54
shared_ptr< ThermalCamera > ThermalCameraPtr
Definition: RenderTypes.hh:106
shared_ptr< Text > TextPtr
Definition: RenderTypes.hh:224
Represents a visual node in a scene graph. A Visual is the only node that can have Geometry and other...
Definition: Visual.hh:37
shared_ptr< const Scene > ConstScenePtr
Definition: RenderTypes.hh:344
shared_ptr< ShaderParams > ShaderParamsPtr
Shared pointer to ShaderParams.
Definition: RenderTypes.hh:212
shared_ptr< const ObjectFactory > ConstObjectFactoryPtr
Definition: RenderTypes.hh:308
Represents a light source in the scene graph.
Definition: Light.hh:32
Represents a spotlight.
Definition: Light.hh:145
shared_ptr< SubMesh > SubMeshPtr
Definition: RenderTypes.hh:220
Represents a on-screen render-window to which cameras can render images.
Definition: RenderTarget.hh:119
Represents a infinite directional light.
Definition: Light.hh:113
a map that holds params to be passed to a shader
Definition: ShaderParams.hh:38
shared_ptr< WireBox > WireBoxPtr
Definition: RenderTypes.hh:232
shared_ptr< Material > MaterialPtr
Definition: RenderTypes.hh:150
Represents a collection of mesh geometries.
Definition: Mesh.hh:36
shared_ptr< RenderPassSystem > RenderPassSystemPtr
Definition: RenderTypes.hh:190
shared_ptr< GpuRays > GpuRaysPtr
Definition: RenderTypes.hh:110
shared_ptr< const ParticleEmitter > ConstParticleEmitterPtr
Definition: RenderTypes.hh:312
shared_ptr< const Text > ConstTextPtr
Definition: RenderTypes.hh:363
Represents a grid geometry drawn along the XY plane. If vertical cell count is specified then the gri...
Definition: Grid.hh:34
shared_ptr< RenderTexture > RenderTexturePtr
Definition: RenderTypes.hh:198
An abstract interface to a concrete render-engine. A RenderEngine is responsible for initializing a r...
Definition: RenderEngine.hh:36
shared_ptr< const AxisVisual > ConstAxisVisualPtr
Definition: RenderTypes.hh:240
shared_ptr< JointVisual > JointVisualPtr
Definition: RenderTypes.hh:134
shared_ptr< const ThermalCamera > ConstThermalCameraPtr
Definition: RenderTypes.hh:252
shared_ptr< const Visual > ConstVisualPtr
Definition: RenderTypes.hh:367
shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:205
shared_ptr< Grid > GridPtr
Definition: RenderTypes.hh:130
Represents a geometric shape to be rendered.
Definition: Geometry.hh:34
Represents a surface material of a Geometry.
Definition: Material.hh:47
shared_ptr< ObjectFactory > ObjectFactoryPtr
Definition: RenderTypes.hh:170
shared_ptr< const SubMesh > ConstSubMeshPtr
Definition: RenderTypes.hh:359
Draws a wireframe box.
Definition: WireBox.hh:32
Represents an object present in the scene graph. This includes sub-meshes, materials, render targets, as well as posable nodes.
Definition: Object.hh:34
A gizmo that contains rotate, translate, and scale visuals.
Definition: GizmoVisual.hh:34
shared_ptr< PointLight > PointLightPtr
Definition: RenderTypes.hh:178
shared_ptr< const RenderTexture > ConstRenderTexturePtr
Definition: RenderTypes.hh:336
Represents a single mesh geometry.
Definition: Mesh.hh:126
shared_ptr< DepthCamera > DepthCameraPtr
Definition: RenderTypes.hh:102
shared_ptr< const DirectionalLight > ConstDirectionalLightPtr
Definition: RenderTypes.hh:260
shared_ptr< Light > LightPtr
Definition: RenderTypes.hh:142
A LidarVisual geometry class. The visual appearance is based on the type specified.
Definition: LidarVisual.hh:55