#include <BaseScene.hh>
Public Member Functions | |
virtual | ~BaseScene () |
virtual math::Color | BackgroundColor () const override |
virtual MaterialPtr | BackgroundMaterial () const override |
virtual uint8_t | CameraPassCountPerGpuFlush () const override |
virtual void | Clear () override |
virtual ArrowVisualPtr | CreateArrowVisual () override |
virtual ArrowVisualPtr | CreateArrowVisual (const std::string &_name) override |
virtual ArrowVisualPtr | CreateArrowVisual (unsigned int _id) override |
virtual ArrowVisualPtr | CreateArrowVisual (unsigned int _id, const std::string &_name) override |
virtual AxisVisualPtr | CreateAxisVisual () override |
virtual AxisVisualPtr | CreateAxisVisual (const std::string &_name) override |
virtual AxisVisualPtr | CreateAxisVisual (unsigned int _id) override |
virtual AxisVisualPtr | CreateAxisVisual (unsigned int _id, const std::string &_name) override |
virtual BoundingBoxCameraPtr | CreateBoundingBoxCamera () override |
virtual BoundingBoxCameraPtr | CreateBoundingBoxCamera (const std::string &_name) override |
virtual BoundingBoxCameraPtr | CreateBoundingBoxCamera (const unsigned int _id) override |
virtual BoundingBoxCameraPtr | CreateBoundingBoxCamera (const unsigned int _id, const std::string &_name) override |
virtual GeometryPtr | CreateBox () override |
virtual CameraPtr | CreateCamera () override |
virtual CameraPtr | CreateCamera (const std::string &_name) override |
virtual CameraPtr | CreateCamera (unsigned int _id) override |
virtual CameraPtr | CreateCamera (unsigned int _id, const std::string &_name) override |
virtual CapsulePtr | CreateCapsule () override |
virtual COMVisualPtr | CreateCOMVisual () override |
virtual COMVisualPtr | CreateCOMVisual (const std::string &_name) override |
virtual COMVisualPtr | CreateCOMVisual (unsigned int _id) override |
virtual COMVisualPtr | CreateCOMVisual (unsigned int _id, const std::string &_name) override |
virtual GeometryPtr | CreateCone () override |
virtual GeometryPtr | CreateCylinder () override |
virtual DepthCameraPtr | CreateDepthCamera () override |
virtual DepthCameraPtr | CreateDepthCamera (const std::string &_name) override |
virtual DepthCameraPtr | CreateDepthCamera (const unsigned int _id) override |
virtual DepthCameraPtr | CreateDepthCamera (const unsigned int _id, const std::string &_name) override |
virtual DirectionalLightPtr | CreateDirectionalLight () override |
virtual DirectionalLightPtr | CreateDirectionalLight (const std::string &_name) override |
virtual DirectionalLightPtr | CreateDirectionalLight (unsigned int _id) override |
virtual DirectionalLightPtr | CreateDirectionalLight (unsigned int _id, const std::string &_name) override |
virtual GizmoVisualPtr | CreateGizmoVisual () override |
virtual GizmoVisualPtr | CreateGizmoVisual (const std::string &_name) override |
virtual GizmoVisualPtr | CreateGizmoVisual (unsigned int _id) override |
virtual GizmoVisualPtr | CreateGizmoVisual (unsigned int _id, const std::string &_name) override |
virtual GpuRaysPtr | CreateGpuRays () override |
virtual GpuRaysPtr | CreateGpuRays (const std::string &_name) override |
virtual GpuRaysPtr | CreateGpuRays (const unsigned int _id) override |
virtual GpuRaysPtr | CreateGpuRays (const unsigned int _id, const std::string &_name) override |
virtual GridPtr | CreateGrid () override |
virtual HeightmapPtr | CreateHeightmap (const HeightmapDescriptor &_desc) override |
virtual InertiaVisualPtr | CreateInertiaVisual () override |
virtual InertiaVisualPtr | CreateInertiaVisual (const std::string &_name) override |
virtual InertiaVisualPtr | CreateInertiaVisual (unsigned int _id) override |
virtual InertiaVisualPtr | CreateInertiaVisual (unsigned int _id, const std::string &_name) override |
virtual JointVisualPtr | CreateJointVisual () override |
virtual JointVisualPtr | CreateJointVisual (const std::string &_name) override |
virtual JointVisualPtr | CreateJointVisual (unsigned int _id) override |
virtual JointVisualPtr | CreateJointVisual (unsigned int _id, const std::string &_name) override |
virtual LidarVisualPtr | CreateLidarVisual () override |
virtual LidarVisualPtr | CreateLidarVisual (const std::string &_name) override |
virtual LidarVisualPtr | CreateLidarVisual (unsigned int _id) override |
virtual LidarVisualPtr | CreateLidarVisual (unsigned int _id, const std::string &_name) override |
virtual LightVisualPtr | CreateLightVisual () override |
virtual LightVisualPtr | CreateLightVisual (const std::string &_name) override |
virtual LightVisualPtr | CreateLightVisual (unsigned int _id) override |
virtual LightVisualPtr | CreateLightVisual (unsigned int _id, const std::string &_name) override |
virtual MarkerPtr | CreateMarker () override |
virtual MaterialPtr | CreateMaterial (const common::Material &_material) override |
virtual MaterialPtr | CreateMaterial (const std::string &_name="") override |
virtual MeshPtr | CreateMesh (const common::Mesh *_mesh) override |
virtual MeshPtr | CreateMesh (const MeshDescriptor &_desc) override |
virtual MeshPtr | CreateMesh (const std::string &_meshName) override |
virtual ParticleEmitterPtr | CreateParticleEmitter () override |
virtual ParticleEmitterPtr | CreateParticleEmitter (const std::string &_name) override |
virtual ParticleEmitterPtr | CreateParticleEmitter (unsigned int _id) override |
virtual ParticleEmitterPtr | CreateParticleEmitter (unsigned int _id, const std::string &_name) override |
virtual GeometryPtr | CreatePlane () override |
virtual PointLightPtr | CreatePointLight () override |
virtual PointLightPtr | CreatePointLight (const std::string &_name) override |
virtual PointLightPtr | CreatePointLight (unsigned int _id) override |
virtual PointLightPtr | CreatePointLight (unsigned int _id, const std::string &_name) override |
virtual RayQueryPtr | CreateRayQuery () override |
virtual RenderTexturePtr | CreateRenderTexture () override |
virtual RenderWindowPtr | CreateRenderWindow () override |
virtual SegmentationCameraPtr | CreateSegmentationCamera () override |
virtual SegmentationCameraPtr | CreateSegmentationCamera (const std::string &_name) override |
virtual SegmentationCameraPtr | CreateSegmentationCamera (const unsigned int _id) override |
virtual SegmentationCameraPtr | CreateSegmentationCamera (const unsigned int _id, const std::string &_name) override |
virtual GeometryPtr | CreateSphere () override |
virtual SpotLightPtr | CreateSpotLight () override |
virtual SpotLightPtr | CreateSpotLight (const std::string &_name) override |
virtual SpotLightPtr | CreateSpotLight (unsigned int _id) override |
virtual SpotLightPtr | CreateSpotLight (unsigned int _id, const std::string &_name) override |
virtual TextPtr | CreateText () override |
virtual ThermalCameraPtr | CreateThermalCamera () override |
virtual ThermalCameraPtr | CreateThermalCamera (const std::string &_name) override |
virtual ThermalCameraPtr | CreateThermalCamera (const unsigned int _id) override |
virtual ThermalCameraPtr | CreateThermalCamera (const unsigned int _id, const std::string &_name) override |
virtual VisualPtr | CreateVisual () override |
virtual VisualPtr | CreateVisual (const std::string &_name) override |
virtual VisualPtr | CreateVisual (unsigned int _id) override |
virtual VisualPtr | CreateVisual (unsigned int _id, const std::string &_name) override |
virtual WideAngleCameraPtr | CreateWideAngleCamera () override |
virtual WideAngleCameraPtr | CreateWideAngleCamera (const std::string &_name) override |
virtual WideAngleCameraPtr | CreateWideAngleCamera (const unsigned int _id) override |
virtual WideAngleCameraPtr | CreateWideAngleCamera (const unsigned int _id, const std::string &_name) override |
virtual WireBoxPtr | CreateWireBox () override |
virtual void | Destroy () override |
virtual void | DestroyLight (LightPtr _light, bool _recursive=false) override |
virtual void | DestroyLightById (unsigned int _id) override |
virtual void | DestroyLightByIndex (unsigned int _index) override |
virtual void | DestroyLightByName (const std::string &_name) override |
virtual void | DestroyLights () override |
virtual void | DestroyMaterial (MaterialPtr _material) override |
virtual void | DestroyMaterials () override |
virtual void | DestroyNode (NodePtr _node, bool _recursive=false) override |
virtual void | DestroyNodeById (unsigned int _id) override |
virtual void | DestroyNodeByIndex (unsigned int _index) override |
virtual void | DestroyNodeByName (const std::string &_name) override |
virtual void | DestroyNodes () override |
virtual void | DestroySensor (SensorPtr _sensor, bool _recursive=false) override |
virtual void | DestroySensorById (unsigned int _id) override |
virtual void | DestroySensorByIndex (unsigned int _index) override |
virtual void | DestroySensorByName (const std::string &_name) override |
virtual void | DestroySensors () override |
virtual void | DestroyVisual (VisualPtr _visual, bool _recursive=false) override |
virtual void | DestroyVisualById (unsigned int _id) override |
virtual void | DestroyVisualByIndex (unsigned int _index) override |
virtual void | DestroyVisualByName (const std::string &_name) override |
virtual void | DestroyVisuals () override |
virtual void | Fini () override |
virtual std::array< math::Color, 4 > | GradientBackgroundColor () const override |
virtual bool | HasLight (ConstLightPtr _light) const override |
virtual bool | HasLightId (unsigned int _id) const override |
virtual bool | HasLightName (const std::string &_name) const override |
virtual bool | HasNode (ConstNodePtr _node) const override |
virtual bool | HasNodeId (unsigned int _id) const override |
virtual bool | HasNodeName (const std::string &_name) const override |
virtual bool | HasSensor (ConstSensorPtr _sensor) const override |
virtual bool | HasSensorId (unsigned int _id) const override |
virtual bool | HasSensorName (const std::string &_name) const override |
virtual bool | HasVisual (ConstVisualPtr _visual) const override |
virtual bool | HasVisualId (unsigned int _id) const override |
virtual bool | HasVisualName (const std::string &_name) const override |
virtual unsigned int | Id () const override |
virtual void | Init () override |
virtual bool | IsGradientBackgroundColor () const override |
virtual bool | IsInitialized () const override |
virtual bool | IsLoaded () const |
virtual bool | LegacyAutoGpuFlush () const override |
virtual LightPtr | LightById (unsigned int _id) const override |
virtual LightPtr | LightByIndex (unsigned int _index) const override |
virtual LightPtr | LightByName (const std::string &_name) const override |
virtual unsigned int | LightCount () const override |
virtual void | Load () override |
virtual MaterialPtr | Material (const std::string &_name) const override |
virtual bool | MaterialRegistered (const std::string &_name) const override |
virtual std::string | Name () const override |
virtual NodePtr | NodeById (unsigned int _id) const override |
virtual NodePtr | NodeByIndex (unsigned int _index) const override |
virtual NodePtr | NodeByName (const std::string &_name) const override |
virtual unsigned int | NodeCount () const override |
virtual void | PostRender () override |
virtual void | PreRender () override |
virtual void | RegisterMaterial (const std::string &_name, MaterialPtr _material) override |
virtual void | RemoveGradientBackgroundColor () override |
virtual SensorPtr | SensorById (unsigned int _id) const override |
virtual SensorPtr | SensorByIndex (unsigned int _index) const override |
virtual SensorPtr | SensorByName (const std::string &_name) const override |
virtual unsigned int | SensorCount () const override |
virtual void | SetAmbientLight (const math::Color &_color) override=0 |
virtual void | SetAmbientLight (double _r, double _g, double _b, double _a=1.0) override |
virtual void | SetBackgroundColor (const math::Color &_color) override |
virtual void | SetBackgroundColor (double _r, double _g, double _b, double _a=1.0) override |
virtual void | SetBackgroundMaterial (MaterialPtr _material) override |
virtual void | SetCameraPassCountPerGpuFlush (uint8_t _numPass) override |
virtual void | SetGradientBackgroundColor (const std::array< math::Color, 4 > &_colors) override |
virtual void | SetSkyEnabled (bool _enabled) override |
virtual void | SetTime (const std::chrono::steady_clock::duration &_time) override |
virtual bool | SkyEnabled () const override |
virtual std::chrono::steady_clock::duration | Time () const override |
virtual void | UnregisterMaterial (const std::string &_name) override |
virtual void | UnregisterMaterials () override |
virtual VisualPtr | VisualAt (const CameraPtr &_camera, const gz::math::Vector2i &_mousePos) override |
virtual VisualPtr | VisualById (unsigned int _id) const override |
virtual VisualPtr | VisualByIndex (unsigned int _index) const override |
virtual VisualPtr | VisualByName (const std::string &_name) const override |
virtual unsigned int | VisualCount () const override |
Protected Member Functions | |
BaseScene (unsigned int _id, const std::string &_name) | |
virtual ArrowVisualPtr | CreateArrowVisualImpl (unsigned int _id, const std::string &_name)=0 |
virtual AxisVisualPtr | CreateAxisVisualImpl (unsigned int _id, const std::string &_name)=0 |
virtual BoundingBoxCameraPtr | CreateBoundingBoxCameraImpl (unsigned int _id, const std::string &_name) |
Implementation for creating a BoundingBox camera. More... | |
virtual GeometryPtr | CreateBoxImpl (unsigned int _id, const std::string &_name)=0 |
virtual CameraPtr | CreateCameraImpl (unsigned int _id, const std::string &_name)=0 |
virtual CapsulePtr | CreateCapsuleImpl (unsigned int _id, const std::string &_name)=0 |
Implementation for creating a capsule geometry object. More... | |
virtual COMVisualPtr | CreateCOMVisualImpl (unsigned int _id, const std::string &_name)=0 |
Implementation for creating CoM visual. More... | |
virtual GeometryPtr | CreateConeImpl (unsigned int _id, const std::string &_name)=0 |
virtual GeometryPtr | CreateCylinderImpl (unsigned int _id, const std::string &_name)=0 |
virtual DepthCameraPtr | CreateDepthCameraImpl (unsigned int _id, const std::string &_name)=0 |
virtual DirectionalLightPtr | CreateDirectionalLightImpl (unsigned int _id, const std::string &_name)=0 |
virtual GizmoVisualPtr | CreateGizmoVisualImpl (unsigned int _id, const std::string &_name) |
Implementation for creating a GizmoVisual. More... | |
virtual GpuRaysPtr | CreateGpuRaysImpl (unsigned int _id, const std::string &_name) |
Implementation for creating GpuRays sensor. More... | |
virtual GridPtr | CreateGridImpl (unsigned int _id, const std::string &_name)=0 |
Implementation for creating a grid geometry object. More... | |
virtual HeightmapPtr | CreateHeightmapImpl (unsigned int _id, const std::string &_name, const HeightmapDescriptor &_desc)=0 |
Implementation for creating a heightmap geometry. More... | |
virtual InertiaVisualPtr | CreateInertiaVisualImpl (unsigned int _id, const std::string &_name)=0 |
Implementation for creating Inertia visual. More... | |
virtual JointVisualPtr | CreateJointVisualImpl (unsigned int _id, const std::string &_name)=0 |
Implementation for creating Joint visual. More... | |
virtual LidarVisualPtr | CreateLidarVisualImpl (unsigned int _id, const std::string &_name)=0 |
Implementation for creating a lidar visual. More... | |
virtual LightVisualPtr | CreateLightVisualImpl (unsigned int _id, const std::string &_name)=0 |
Implementation for creating Light visual. More... | |
virtual MarkerPtr | CreateMarkerImpl (unsigned int _id, const std::string &_name)=0 |
Implementation for creating a marker geometry object. More... | |
virtual MaterialPtr | CreateMaterialImpl (unsigned int _id, const std::string &_name)=0 |
virtual MeshPtr | CreateMeshImpl (unsigned int _id, const std::string &_name, const MeshDescriptor &_desc)=0 |
virtual unsigned int | CreateObjectId () |
virtual std::string | CreateObjectName (unsigned int _id, const std::string &_prefix) |
virtual ParticleEmitterPtr | CreateParticleEmitterImpl (unsigned int _id, const std::string &_name) |
Implementation for creating a ParticleEmitter. More... | |
virtual GeometryPtr | CreatePlaneImpl (unsigned int _id, const std::string &_name)=0 |
virtual PointLightPtr | CreatePointLightImpl (unsigned int _id, const std::string &_name)=0 |
virtual RayQueryPtr | CreateRayQueryImpl (unsigned int _id, const std::string &_name)=0 |
virtual RenderTexturePtr | CreateRenderTextureImpl (unsigned int _id, const std::string &_name)=0 |
virtual RenderWindowPtr | CreateRenderWindowImpl (unsigned int _id, const std::string &_name)=0 |
Render engine specific implementation for creating a render window. More... | |
virtual SegmentationCameraPtr | CreateSegmentationCameraImpl (unsigned int _id, const std::string &_name) |
Implementation for creating a segmentation camera. More... | |
virtual GeometryPtr | CreateSphereImpl (unsigned int _id, const std::string &_name)=0 |
virtual SpotLightPtr | CreateSpotLightImpl (unsigned int _id, const std::string &_name)=0 |
virtual TextPtr | CreateTextImpl (unsigned int _id, const std::string &_name) |
Implementation for creating a text's geometry object. More... | |
virtual ThermalCameraPtr | CreateThermalCameraImpl (unsigned int _id, const std::string &_name) |
Implementation for creating a thermal camera. More... | |
virtual VisualPtr | CreateVisualImpl (unsigned int _id, const std::string &_name)=0 |
virtual WideAngleCameraPtr | CreateWideAngleCameraImpl (unsigned int _id, const std::string &_name) |
Implementation for creating a wide angle camera. More... | |
virtual WireBoxPtr | CreateWireBoxImpl (unsigned int _id, const std::string &_name)=0 |
Implementation for creating a wire box geometry. More... | |
virtual bool | InitImpl ()=0 |
virtual LightStorePtr | Lights () const =0 |
Implementation for creating a Projector. More... | |
virtual bool | LoadImpl ()=0 |
virtual MaterialMapPtr | Materials () const =0 |
virtual bool | RegisterLight (LightPtr _light) |
virtual bool | RegisterSensor (SensorPtr _vensor) |
virtual bool | RegisterVisual (VisualPtr _visual) |
virtual SensorStorePtr | Sensors () const =0 |
virtual VisualStorePtr | Visuals () const =0 |
Protected Attributes | |
math::Color | backgroundColor |
Scene background color. Default should be black. More... | |
MaterialPtr | backgroundMaterial |
Scene background material. More... | |
std::array< math::Color, 4 > | gradientBackgroundColor |
The four corners of the gradient background color. Next is the description of how to interpret each value of the array: 0: Top left corner color. 1: Bottom left corner color. 2: Top right corner color. 3: Bottom right corner color. Default should be black. More... | |
unsigned int | id |
bool | initialized |
bool | isGradientBackgroundColor = false |
Whether the scene has a gradient background. More... | |
bool | loaded |
std::string | name |
std::chrono::steady_clock::duration | time |
Constructor & Destructor Documentation
◆ BaseScene()
|
protected |
◆ ~BaseScene()
|
virtual |
Member Function Documentation
◆ BackgroundColor()
|
overridevirtual |
◆ BackgroundMaterial()
|
overridevirtual |
◆ CameraPassCountPerGpuFlush()
|
overridevirtual |
Reimplemented in Ogre2Scene.
◆ Clear()
|
overridevirtual |
Reimplemented in Ogre2Scene, and OgreScene.
◆ CreateArrowVisual() [1/4]
|
overridevirtual |
◆ CreateArrowVisual() [2/4]
|
overridevirtual |
◆ CreateArrowVisual() [3/4]
|
overridevirtual |
◆ CreateArrowVisual() [4/4]
|
overridevirtual |
◆ CreateArrowVisualImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateAxisVisual() [1/4]
|
overridevirtual |
◆ CreateAxisVisual() [2/4]
|
overridevirtual |
◆ CreateAxisVisual() [3/4]
|
overridevirtual |
◆ CreateAxisVisual() [4/4]
|
overridevirtual |
◆ CreateAxisVisualImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateBoundingBoxCamera() [1/4]
|
overridevirtual |
◆ CreateBoundingBoxCamera() [2/4]
|
overridevirtual |
◆ CreateBoundingBoxCamera() [3/4]
|
overridevirtual |
◆ CreateBoundingBoxCamera() [4/4]
|
overridevirtual |
◆ CreateBoundingBoxCameraImpl()
|
inlineprotectedvirtual |
Implementation for creating a BoundingBox camera.
- Parameters
-
[in] _id Unique id [in] _name Name of BoundingBox camera
- Returns
- Pointer to BoundingBox camera
Reimplemented in Ogre2Scene.
References std::endl(), and gzerr.
◆ CreateBox()
|
overridevirtual |
◆ CreateBoxImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateCamera() [1/4]
|
overridevirtual |
◆ CreateCamera() [2/4]
|
overridevirtual |
◆ CreateCamera() [3/4]
|
overridevirtual |
◆ CreateCamera() [4/4]
|
overridevirtual |
◆ CreateCameraImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateCapsule()
|
overridevirtual |
◆ CreateCapsuleImpl()
|
protectedpure virtual |
Implementation for creating a capsule geometry object.
- Parameters
-
[in] _id unique object id. [in] _name unique object name.
- Returns
- Pointer to a capsule geometry object
Implemented in Ogre2Scene, and OgreScene.
◆ CreateCOMVisual() [1/4]
|
overridevirtual |
◆ CreateCOMVisual() [2/4]
|
overridevirtual |
◆ CreateCOMVisual() [3/4]
|
overridevirtual |
◆ CreateCOMVisual() [4/4]
|
overridevirtual |
◆ CreateCOMVisualImpl()
|
protectedpure virtual |
Implementation for creating CoM visual.
- Parameters
-
[in] _id Unique id [in] _name Name of CoM visual
- Returns
- Pointer to a CoM visual object
Implemented in Ogre2Scene, and OgreScene.
◆ CreateCone()
|
overridevirtual |
◆ CreateConeImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateCylinder()
|
overridevirtual |
◆ CreateCylinderImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateDepthCamera() [1/4]
|
overridevirtual |
◆ CreateDepthCamera() [2/4]
|
overridevirtual |
◆ CreateDepthCamera() [3/4]
|
overridevirtual |
◆ CreateDepthCamera() [4/4]
|
overridevirtual |
◆ CreateDepthCameraImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateDirectionalLight() [1/4]
|
overridevirtual |
◆ CreateDirectionalLight() [2/4]
|
overridevirtual |
◆ CreateDirectionalLight() [3/4]
|
overridevirtual |
◆ CreateDirectionalLight() [4/4]
|
overridevirtual |
◆ CreateDirectionalLightImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateGizmoVisual() [1/4]
|
overridevirtual |
◆ CreateGizmoVisual() [2/4]
|
overridevirtual |
◆ CreateGizmoVisual() [3/4]
|
overridevirtual |
◆ CreateGizmoVisual() [4/4]
|
overridevirtual |
◆ CreateGizmoVisualImpl()
|
inlineprotectedvirtual |
Implementation for creating a GizmoVisual.
- Parameters
-
[in] _id Unique id [in] _name Name of GizmoVisual
Reimplemented in Ogre2Scene, and OgreScene.
References std::endl(), and gzerr.
◆ CreateGpuRays() [1/4]
|
overridevirtual |
◆ CreateGpuRays() [2/4]
|
overridevirtual |
◆ CreateGpuRays() [3/4]
|
overridevirtual |
◆ CreateGpuRays() [4/4]
|
overridevirtual |
◆ CreateGpuRaysImpl()
|
inlineprotectedvirtual |
Implementation for creating GpuRays sensor.
- Parameters
-
[in] _id Unique id [in] _name Name of GpuRays sensor
Reimplemented in Ogre2Scene, and OgreScene.
References std::endl(), and gzerr.
◆ CreateGrid()
|
overridevirtual |
◆ CreateGridImpl()
|
protectedpure virtual |
Implementation for creating a grid geometry object.
- Parameters
-
[in] _id unique object id. [in] _name unique object name.
- Returns
- Pointer to a grid geometry object
Implemented in Ogre2Scene, and OgreScene.
◆ CreateHeightmap()
|
overridevirtual |
◆ CreateHeightmapImpl()
|
protectedpure virtual |
Implementation for creating a heightmap geometry.
- Parameters
-
[in] _id Unique object id. [in] _name Unique object name. [in] _desc Heightmap descriptor.
- Returns
- Pointer to a heightmap geometry.
Implemented in Ogre2Scene, and OgreScene.
◆ CreateInertiaVisual() [1/4]
|
overridevirtual |
◆ CreateInertiaVisual() [2/4]
|
overridevirtual |
◆ CreateInertiaVisual() [3/4]
|
overridevirtual |
◆ CreateInertiaVisual() [4/4]
|
overridevirtual |
◆ CreateInertiaVisualImpl()
|
protectedpure virtual |
Implementation for creating Inertia visual.
- Parameters
-
[in] _id Unique id [in] _name Name of inertia visual
- Returns
- Pointer to a inertia visual object
Implemented in Ogre2Scene, and OgreScene.
◆ CreateJointVisual() [1/4]
|
overridevirtual |
◆ CreateJointVisual() [2/4]
|
overridevirtual |
◆ CreateJointVisual() [3/4]
|
overridevirtual |
◆ CreateJointVisual() [4/4]
|
overridevirtual |
◆ CreateJointVisualImpl()
|
protectedpure virtual |
Implementation for creating Joint visual.
- Parameters
-
[in] _id Unique id [in] _name Name of Joint visual
- Returns
- Pointer to a joint visual object
Implemented in Ogre2Scene, and OgreScene.
◆ CreateLidarVisual() [1/4]
|
overridevirtual |
◆ CreateLidarVisual() [2/4]
|
overridevirtual |
◆ CreateLidarVisual() [3/4]
|
overridevirtual |
◆ CreateLidarVisual() [4/4]
|
overridevirtual |
◆ CreateLidarVisualImpl()
|
protectedpure virtual |
Implementation for creating a lidar visual.
- Parameters
-
[in] _id unique object id. [in] _name unique object name.
- Returns
- Pointer to a lidar visual
Implemented in Ogre2Scene, and OgreScene.
◆ CreateLightVisual() [1/4]
|
overridevirtual |
◆ CreateLightVisual() [2/4]
|
overridevirtual |
◆ CreateLightVisual() [3/4]
|
overridevirtual |
◆ CreateLightVisual() [4/4]
|
overridevirtual |
◆ CreateLightVisualImpl()
|
protectedpure virtual |
Implementation for creating Light visual.
- Parameters
-
[in] _id Unique id [in] _name Name of light visual
- Returns
- Pointer to a light visual object
Implemented in Ogre2Scene, and OgreScene.
◆ CreateMarker()
|
overridevirtual |
◆ CreateMarkerImpl()
|
protectedpure virtual |
Implementation for creating a marker geometry object.
- Parameters
-
[in] _id unique object id. [in] _name unique object name.
- Returns
- Pointer to a marker geometry object
Implemented in Ogre2Scene, and OgreScene.
◆ CreateMaterial() [1/2]
|
overridevirtual |
◆ CreateMaterial() [2/2]
|
overridevirtual |
◆ CreateMaterialImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateMesh() [1/3]
|
overridevirtual |
◆ CreateMesh() [2/3]
|
overridevirtual |
◆ CreateMesh() [3/3]
|
overridevirtual |
◆ CreateMeshImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateObjectId()
|
protectedvirtual |
Reimplemented in Ogre2Scene, and OgreScene.
◆ CreateObjectName()
|
protectedvirtual |
◆ CreateParticleEmitter() [1/4]
|
overridevirtual |
◆ CreateParticleEmitter() [2/4]
|
overridevirtual |
◆ CreateParticleEmitter() [3/4]
|
overridevirtual |
◆ CreateParticleEmitter() [4/4]
|
overridevirtual |
◆ CreateParticleEmitterImpl()
|
inlineprotectedvirtual |
Implementation for creating a ParticleEmitter.
- Parameters
-
[in] _id Unique id. [in] _name Name of ParticleEmitter.
- Returns
- Pointer to the created particle emitter.
Reimplemented in Ogre2Scene, and OgreScene.
References std::endl(), and gzerr.
◆ CreatePlane()
|
overridevirtual |
◆ CreatePlaneImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreatePointLight() [1/4]
|
overridevirtual |
◆ CreatePointLight() [2/4]
|
overridevirtual |
◆ CreatePointLight() [3/4]
|
overridevirtual |
◆ CreatePointLight() [4/4]
|
overridevirtual |
◆ CreatePointLightImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateRayQuery()
|
overridevirtual |
◆ CreateRayQueryImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateRenderTexture()
|
overridevirtual |
◆ CreateRenderTextureImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateRenderWindow()
|
overridevirtual |
◆ CreateRenderWindowImpl()
|
protectedpure virtual |
Render engine specific implementation for creating a render window.
- Parameters
-
[in] _id unique object id [in] _name object name
- Returns
- Pointer to the created render window.
Implemented in Ogre2Scene, and OgreScene.
◆ CreateSegmentationCamera() [1/4]
|
overridevirtual |
◆ CreateSegmentationCamera() [2/4]
|
overridevirtual |
◆ CreateSegmentationCamera() [3/4]
|
overridevirtual |
◆ CreateSegmentationCamera() [4/4]
|
overridevirtual |
◆ CreateSegmentationCameraImpl()
|
inlineprotectedvirtual |
Implementation for creating a segmentation camera.
- Parameters
-
[in] _id Unique id [in] _name Name of segmentation camera
- Returns
- Pointer to segmentation camera
Reimplemented in Ogre2Scene.
References std::endl(), and gzerr.
◆ CreateSphere()
|
overridevirtual |
◆ CreateSphereImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateSpotLight() [1/4]
|
overridevirtual |
◆ CreateSpotLight() [2/4]
|
overridevirtual |
◆ CreateSpotLight() [3/4]
|
overridevirtual |
◆ CreateSpotLight() [4/4]
|
overridevirtual |
◆ CreateSpotLightImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateText()
|
overridevirtual |
◆ CreateTextImpl()
|
protectedvirtual |
Implementation for creating a text's geometry object.
- Parameters
-
[in] _id unique object id. [in] _name unique object name.
- Returns
- Pointer to a text geometry object
Reimplemented in Ogre2Scene, and OgreScene.
◆ CreateThermalCamera() [1/4]
|
overridevirtual |
◆ CreateThermalCamera() [2/4]
|
overridevirtual |
◆ CreateThermalCamera() [3/4]
|
overridevirtual |
◆ CreateThermalCamera() [4/4]
|
overridevirtual |
◆ CreateThermalCameraImpl()
|
inlineprotectedvirtual |
Implementation for creating a thermal camera.
- Parameters
-
[in] _id Unique id [in] _name Name of thermal camera
Reimplemented in Ogre2Scene, and OgreScene.
References std::endl(), and gzerr.
◆ CreateVisual() [1/4]
|
overridevirtual |
◆ CreateVisual() [2/4]
|
overridevirtual |
◆ CreateVisual() [3/4]
|
overridevirtual |
◆ CreateVisual() [4/4]
|
overridevirtual |
◆ CreateVisualImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ CreateWideAngleCamera() [1/4]
|
overridevirtual |
◆ CreateWideAngleCamera() [2/4]
|
overridevirtual |
◆ CreateWideAngleCamera() [3/4]
|
overridevirtual |
◆ CreateWideAngleCamera() [4/4]
|
overridevirtual |
◆ CreateWideAngleCameraImpl()
|
inlineprotectedvirtual |
Implementation for creating a wide angle camera.
- Parameters
-
[in] _id Unique id [in] _name Name of wide angle camera
- Returns
- Pointer to wide angle camera
Reimplemented in OgreScene.
References std::endl(), and gzerr.
◆ CreateWireBox()
|
overridevirtual |
◆ CreateWireBoxImpl()
|
protectedpure virtual |
Implementation for creating a wire box geometry.
- Parameters
-
[in] _id unique object id. [in] _name unique object name.
- Returns
- Pointer to a wire box geometry object
Implemented in Ogre2Scene, and OgreScene.
◆ Destroy()
|
overridevirtual |
Reimplemented in Ogre2Scene, and OgreScene.
◆ DestroyLight()
|
overridevirtual |
◆ DestroyLightById()
|
overridevirtual |
◆ DestroyLightByIndex()
|
overridevirtual |
◆ DestroyLightByName()
|
overridevirtual |
◆ DestroyLights()
|
overridevirtual |
◆ DestroyMaterial()
|
overridevirtual |
◆ DestroyMaterials()
|
overridevirtual |
◆ DestroyNode()
|
overridevirtual |
◆ DestroyNodeById()
|
overridevirtual |
◆ DestroyNodeByIndex()
|
overridevirtual |
◆ DestroyNodeByName()
|
overridevirtual |
◆ DestroyNodes()
|
overridevirtual |
◆ DestroySensor()
|
overridevirtual |
◆ DestroySensorById()
|
overridevirtual |
◆ DestroySensorByIndex()
|
overridevirtual |
◆ DestroySensorByName()
|
overridevirtual |
◆ DestroySensors()
|
overridevirtual |
◆ DestroyVisual()
|
overridevirtual |
◆ DestroyVisualById()
|
overridevirtual |
◆ DestroyVisualByIndex()
|
overridevirtual |
◆ DestroyVisualByName()
|
overridevirtual |
◆ DestroyVisuals()
|
overridevirtual |
◆ Fini()
|
overridevirtual |
Reimplemented in Ogre2Scene, and OgreScene.
◆ GradientBackgroundColor()
|
overridevirtual |
◆ HasLight()
|
overridevirtual |
◆ HasLightId()
|
overridevirtual |
◆ HasLightName()
|
overridevirtual |
◆ HasNode()
|
overridevirtual |
◆ HasNodeId()
|
overridevirtual |
◆ HasNodeName()
|
overridevirtual |
◆ HasSensor()
|
overridevirtual |
◆ HasSensorId()
|
overridevirtual |
◆ HasSensorName()
|
overridevirtual |
◆ HasVisual()
|
overridevirtual |
◆ HasVisualId()
|
overridevirtual |
◆ HasVisualName()
|
overridevirtual |
◆ Id()
|
overridevirtual |
◆ Init()
|
overridevirtual |
◆ InitImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ IsGradientBackgroundColor()
|
overridevirtual |
◆ IsInitialized()
|
overridevirtual |
◆ IsLoaded()
|
virtual |
◆ LegacyAutoGpuFlush()
|
overridevirtual |
Reimplemented in Ogre2Scene.
◆ LightById()
|
overridevirtual |
◆ LightByIndex()
|
overridevirtual |
◆ LightByName()
|
overridevirtual |
◆ LightCount()
|
overridevirtual |
◆ Lights()
|
protectedpure virtual |
Implementation for creating a Projector.
- Parameters
-
[in] _id Unique id. [in] _name Name of Projector.
- Returns
- Pointer to the created projector
Implemented in Ogre2Scene, and OgreScene.
◆ Load()
|
overridevirtual |
◆ LoadImpl()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ Material()
|
overridevirtual |
◆ MaterialRegistered()
|
overridevirtual |
◆ Materials()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ Name()
|
overridevirtual |
◆ NodeById()
|
overridevirtual |
◆ NodeByIndex()
|
overridevirtual |
◆ NodeByName()
|
overridevirtual |
◆ NodeCount()
|
overridevirtual |
◆ PostRender()
|
overridevirtual |
Reimplemented in Ogre2Scene.
◆ PreRender()
|
overridevirtual |
Reimplemented in Ogre2Scene, and OgreScene.
◆ RegisterLight()
|
protectedvirtual |
◆ RegisterMaterial()
|
overridevirtual |
◆ RegisterSensor()
|
protectedvirtual |
◆ RegisterVisual()
|
protectedvirtual |
◆ RemoveGradientBackgroundColor()
|
overridevirtual |
Reimplemented in OgreScene.
◆ SensorById()
|
overridevirtual |
◆ SensorByIndex()
|
overridevirtual |
◆ SensorByName()
|
overridevirtual |
◆ SensorCount()
|
overridevirtual |
◆ Sensors()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ SetAmbientLight() [1/2]
|
overridepure virtual |
Implemented in Ogre2Scene, and OgreScene.
◆ SetAmbientLight() [2/2]
|
overridevirtual |
◆ SetBackgroundColor() [1/2]
|
overridevirtual |
Reimplemented in OgreScene.
◆ SetBackgroundColor() [2/2]
|
overridevirtual |
◆ SetBackgroundMaterial()
|
overridevirtual |
◆ SetCameraPassCountPerGpuFlush()
|
overridevirtual |
Reimplemented in Ogre2Scene.
◆ SetGradientBackgroundColor()
|
overridevirtual |
Reimplemented in OgreScene.
◆ SetSkyEnabled()
|
overridevirtual |
Reimplemented in Ogre2Scene.
◆ SetTime()
|
overridevirtual |
Reimplemented in Ogre2Scene.
◆ SkyEnabled()
|
overridevirtual |
Reimplemented in Ogre2Scene.
◆ Time()
|
overridevirtual |
◆ UnregisterMaterial()
|
overridevirtual |
◆ UnregisterMaterials()
|
overridevirtual |
◆ VisualAt()
|
overridevirtual |
◆ VisualById()
|
overridevirtual |
◆ VisualByIndex()
|
overridevirtual |
◆ VisualByName()
|
overridevirtual |
◆ VisualCount()
|
overridevirtual |
◆ Visuals()
|
protectedpure virtual |
Implemented in Ogre2Scene, and OgreScene.
Member Data Documentation
◆ backgroundColor
|
protected |
Scene background color. Default should be black.
◆ backgroundMaterial
|
protected |
Scene background material.
◆ gradientBackgroundColor
|
protected |
The four corners of the gradient background color. Next is the description of how to interpret each value of the array: 0: Top left corner color. 1: Bottom left corner color. 2: Top right corner color. 3: Bottom right corner color. Default should be black.
◆ id
|
protected |
◆ initialized
|
protected |
◆ isGradientBackgroundColor
|
protected |
Whether the scene has a gradient background.
◆ loaded
|
protected |
◆ name
|
protected |
◆ time
|
protected |
The documentation for this class was generated from the following file: