Ogre2.x implementation of the scene class. More...
#include <Ogre2Scene.hh>
Public Member Functions | |
virtual | ~Ogre2Scene () |
Destructor. | |
virtual math::Color | AmbientLight () const override |
virtual uint8_t | CameraPassCountPerGpuFlush () const override |
virtual void | Clear () override |
void | ClearMaterialsCache (const std::string &_name) |
Remove internal material cache for a specific material. | |
virtual void | Destroy () override |
virtual RenderEngine * | Engine () const override |
virtual void | Fini () override |
const std::vector< std::weak_ptr< Ogre2Heightmap > > & | Heightmaps () const |
virtual bool | LegacyAutoGpuFlush () const override |
virtual Ogre::SceneManager * | OgreSceneManager () const |
Get a pointer to the ogre scene manager. | |
virtual void | PostRender () override |
virtual void | PreRender () override |
virtual VisualPtr | RootVisual () const override |
virtual void | SetActiveGlobalIllumination (GlobalIlluminationBasePtr _gi) override |
virtual void | SetAmbientLight (const math::Color &_color) override |
void | SetBackgroundColor (const math::Color &_color) override |
virtual void | SetCameraPassCountPerGpuFlush (uint8_t _numPass) override |
void | SetLightsGiDirty () |
bool | SetShadowTextureSize (LightType _lightType, unsigned int _textureSize) |
virtual void | SetSkyEnabled (bool _enabled) override |
virtual void | SetTime (const std::chrono::steady_clock::duration &_time) override |
unsigned int | ShadowTextureSize (LightType _lightType) const override |
virtual bool | SkyEnabled () const override |
void | UpdateAllHeightmaps (Ogre::Camera *_camera) |
![]() | |
virtual | ~BaseScene () |
virtual math::Color | BackgroundColor () const override |
virtual MaterialPtr | BackgroundMaterial () const 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 GlobalIlluminationCiVctPtr | CreateGlobalIlluminationCiVct () override |
virtual GlobalIlluminationCiVctPtr | CreateGlobalIlluminationCiVct (const std::string &_name) override |
virtual GlobalIlluminationCiVctPtr | CreateGlobalIlluminationCiVct (unsigned int _id) override |
virtual GlobalIlluminationCiVctPtr | CreateGlobalIlluminationCiVct (unsigned int _id, const std::string &_name) override |
virtual GlobalIlluminationVctPtr | CreateGlobalIlluminationVct () override |
virtual GlobalIlluminationVctPtr | CreateGlobalIlluminationVct (const std::string &_name) override |
virtual GlobalIlluminationVctPtr | CreateGlobalIlluminationVct (unsigned int _id) override |
virtual GlobalIlluminationVctPtr | CreateGlobalIlluminationVct (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 ProjectorPtr | CreateProjector () override |
virtual ProjectorPtr | CreateProjector (const std::string &_name) override |
virtual ProjectorPtr | CreateProjector (unsigned int _id) override |
virtual ProjectorPtr | CreateProjector (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 | 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 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 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 | 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 (double _r, double _g, double _b, double _a=1.0) override |
virtual void | SetBackgroundColor (double _r, double _g, double _b, double _a=1.0) override |
virtual void | SetBackgroundMaterial (MaterialPtr _material) override |
virtual void | SetGradientBackgroundColor (const std::array< math::Color, 4 > &_colors) 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 | |
Ogre2Scene (unsigned int _id, const std::string &_name) | |
Constructor. | |
virtual ArrowVisualPtr | CreateArrowVisualImpl (unsigned int _id, const std::string &_name) override |
virtual AxisVisualPtr | CreateAxisVisualImpl (unsigned int _id, const std::string &_name) override |
virtual BoundingBoxCameraPtr | CreateBoundingBoxCameraImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a BoundingBox camera. | |
virtual GeometryPtr | CreateBoxImpl (unsigned int _id, const std::string &_name) override |
virtual CameraPtr | CreateCameraImpl (unsigned int _id, const std::string &_name) override |
virtual CapsulePtr | CreateCapsuleImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a capsule geometry object. | |
virtual COMVisualPtr | CreateCOMVisualImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating CoM visual. | |
virtual GeometryPtr | CreateConeImpl (unsigned int _id, const std::string &_name) override |
virtual GeometryPtr | CreateCylinderImpl (unsigned int _id, const std::string &_name) override |
virtual DepthCameraPtr | CreateDepthCameraImpl (unsigned int _id, const std::string &_name) override |
virtual DirectionalLightPtr | CreateDirectionalLightImpl (unsigned int _id, const std::string &_name) override |
FrustumVisualPtr | CreateFrustumVisualImpl (unsigned int _id, const std::string &_name) |
virtual GizmoVisualPtr | CreateGizmoVisualImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a GizmoVisual. | |
virtual GlobalIlluminationCiVctPtr | CreateGlobalIlluminationCiVctImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a GlobalIlluminationCiVct. | |
virtual GlobalIlluminationVctPtr | CreateGlobalIlluminationVctImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a GlobalIlluminationVct. | |
virtual GpuRaysPtr | CreateGpuRaysImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating GpuRays sensor. | |
virtual GridPtr | CreateGridImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a grid geometry object. | |
virtual HeightmapPtr | CreateHeightmapImpl (unsigned int _id, const std::string &_name, const HeightmapDescriptor &_desc) override |
Implementation for creating a heightmap geometry. | |
virtual InertiaVisualPtr | CreateInertiaVisualImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating Inertia visual. | |
virtual JointVisualPtr | CreateJointVisualImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating Joint visual. | |
virtual LidarVisualPtr | CreateLidarVisualImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a lidar visual. | |
virtual LightVisualPtr | CreateLightVisualImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating Light visual. | |
virtual MarkerPtr | CreateMarkerImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a marker geometry object. | |
virtual MaterialPtr | CreateMaterialImpl (unsigned int _id, const std::string &_name) override |
virtual MeshPtr | CreateMeshImpl (unsigned int _id, const std::string &_name, const MeshDescriptor &_desc) override |
virtual MeshPtr | CreateMeshImpl (unsigned int _id, const std::string &_name, const std::string &_meshName) |
Create a mesh object based on its name. | |
unsigned int | CreateObjectId () override |
virtual ParticleEmitterPtr | CreateParticleEmitterImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a ParticleEmitter. | |
virtual GeometryPtr | CreatePlaneImpl (unsigned int _id, const std::string &_name) override |
virtual PointLightPtr | CreatePointLightImpl (unsigned int _id, const std::string &_name) override |
virtual ProjectorPtr | CreateProjectorImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a Projector. | |
virtual RayQueryPtr | CreateRayQueryImpl (unsigned int _id, const std::string &_name) override |
virtual RenderTexturePtr | CreateRenderTextureImpl (unsigned int _id, const std::string &_name) override |
virtual RenderWindowPtr | CreateRenderWindowImpl (unsigned int _id, const std::string &_name) override |
Render engine specific implementation for creating a render window. | |
virtual SegmentationCameraPtr | CreateSegmentationCameraImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a segmentation camera. | |
virtual GeometryPtr | CreateSphereImpl (unsigned int _id, const std::string &_name) override |
virtual SpotLightPtr | CreateSpotLightImpl (unsigned int _id, const std::string &_name) override |
virtual TextPtr | CreateTextImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a text's geometry object. | |
virtual ThermalCameraPtr | CreateThermalCameraImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a thermal camera. | |
virtual VisualPtr | CreateVisualImpl (unsigned int _id, const std::string &_name) override |
virtual WideAngleCameraPtr | CreateWideAngleCameraImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a wide angle camera. | |
virtual WireBoxPtr | CreateWireBoxImpl (unsigned int _id, const std::string &_name) override |
Implementation for creating a wire box geometry. | |
virtual bool | InitImpl () override |
virtual bool | InitObject (Ogre2ObjectPtr _object, unsigned int _id, const std::string &_name) |
Helper function to initialize an ogre2 object. | |
virtual LightStorePtr | Lights () const override |
virtual bool | LoadImpl () override |
virtual MaterialMapPtr | Materials () const override |
virtual SensorStorePtr | Sensors () const override |
void | UpdateShadowNode () |
Create a compositor shadow node with the same number of shadow textures as the number of shadow casting lights. | |
virtual VisualStorePtr | Visuals () const override |
![]() | |
BaseScene (unsigned int _id, const std::string &_name) | |
virtual std::string | CreateObjectName (unsigned int _id, const std::string &_prefix) |
virtual bool | RegisterLight (LightPtr _light) |
virtual bool | RegisterSensor (SensorPtr _vensor) |
virtual bool | RegisterVisual (VisualPtr _visual) |
Protected Attributes | |
std::vector< std::weak_ptr< Ogre2Heightmap > > | heightmaps |
A list of ogre heightmaps. | |
Ogre2LightStorePtr | lights |
A list of ogre lights. | |
Ogre2MaterialMapPtr | materials |
A list of ogre materials. | |
Ogre2MeshFactoryPtr | meshFactory |
Mesh factory for generating ogre meshes. | |
Ogre::SceneManager * | ogreSceneManager = nullptr |
Pointer to the ogre scene manager. | |
Ogre2VisualPtr | rootVisual |
Root visual in the scene. | |
Ogre2SensorStorePtr | sensors |
A list of ogre sensors, e.g. cameras. | |
Ogre2VisualStorePtr | visuals |
A list of ogre visuals. | |
![]() | |
math::Color | backgroundColor |
Scene background color. Default should be black. | |
MaterialPtr | backgroundMaterial |
Scene background material. | |
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. | |
unsigned int | id |
bool | initialized |
bool | isGradientBackgroundColor = false |
Whether the scene has a gradient background. | |
bool | loaded |
std::string | name |
std::chrono::steady_clock::duration | time |
Detailed Description
Ogre2.x implementation of the scene class.
Constructor & Destructor Documentation
🔗Ogre2Scene()
|
protected |
Constructor.
- Parameters
-
[in] _id Unique scene Id [in] _name Scene name
🔗~Ogre2Scene()
|
virtual |
Destructor.
Member Function Documentation
🔗AmbientLight()
|
overridevirtual |
🔗CameraPassCountPerGpuFlush()
|
overridevirtual |
Reimplemented from BaseScene.
🔗Clear()
|
overridevirtual |
Reimplemented from BaseScene.
🔗ClearMaterialsCache()
void ClearMaterialsCache | ( | const std::string & | _name | ) |
Remove internal material cache for a specific material.
- Parameters
-
[in] _name Name of the template material to remove.
- Todo:
- (iche033) Deprecate this function in gz-rendering10
🔗CreateArrowVisualImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateAxisVisualImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateBoundingBoxCameraImpl()
|
overrideprotectedvirtual |
Implementation for creating a BoundingBox camera.
- Parameters
-
[in] _id Unique id [in] _name Name of BoundingBox camera
- Returns
- Pointer to BoundingBox camera
Reimplemented from BaseScene.
🔗CreateBoxImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateCameraImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateCapsuleImpl()
|
overrideprotectedvirtual |
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
Implements BaseScene.
🔗CreateCOMVisualImpl()
|
overrideprotectedvirtual |
Implementation for creating CoM visual.
- Parameters
-
[in] _id Unique id [in] _name Name of CoM visual
- Returns
- Pointer to a CoM visual object
Implements BaseScene.
🔗CreateConeImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateCylinderImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateDepthCameraImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateDirectionalLightImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateFrustumVisualImpl()
|
protected |
🔗CreateGizmoVisualImpl()
|
overrideprotectedvirtual |
Implementation for creating a GizmoVisual.
- Parameters
-
[in] _id Unique id [in] _name Name of GizmoVisual
Reimplemented from BaseScene.
🔗CreateGlobalIlluminationCiVctImpl()
|
overrideprotectedvirtual |
Implementation for creating a GlobalIlluminationCiVct.
- Parameters
-
[in] _id Unique id. [in] _name Name of GlobalIlluminationCiVct.
- Returns
- Pointer to the created Global Illumination CIVCT solution.
Reimplemented from BaseScene.
🔗CreateGlobalIlluminationVctImpl()
|
overrideprotectedvirtual |
Implementation for creating a GlobalIlluminationVct.
- Parameters
-
[in] _id Unique id. [in] _name Name of GlobalIlluminationVct.
- Returns
- Pointer to the created Global Illumination VCT solution.
Reimplemented from BaseScene.
🔗CreateGpuRaysImpl()
|
overrideprotectedvirtual |
🔗CreateGridImpl()
|
overrideprotectedvirtual |
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
Implements BaseScene.
🔗CreateHeightmapImpl()
|
overrideprotectedvirtual |
🔗CreateInertiaVisualImpl()
|
overrideprotectedvirtual |
Implementation for creating Inertia visual.
- Parameters
-
[in] _id Unique id [in] _name Name of inertia visual
- Returns
- Pointer to a inertia visual object
Implements BaseScene.
🔗CreateJointVisualImpl()
|
overrideprotectedvirtual |
Implementation for creating Joint visual.
- Parameters
-
[in] _id Unique id [in] _name Name of Joint visual
- Returns
- Pointer to a joint visual object
Implements BaseScene.
🔗CreateLidarVisualImpl()
|
overrideprotectedvirtual |
Implementation for creating a lidar visual.
- Parameters
-
[in] _id unique object id. [in] _name unique object name.
- Returns
- Pointer to a lidar visual
Implements BaseScene.
🔗CreateLightVisualImpl()
|
overrideprotectedvirtual |
🔗CreateMarkerImpl()
|
overrideprotectedvirtual |
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
Implements BaseScene.
🔗CreateMaterialImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateMeshImpl() [1/2]
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateMeshImpl() [2/2]
|
protectedvirtual |
Create a mesh object based on its name.
- Parameters
-
[in] _id Unique Id to assign to the mesh [in] _name Name to assign to the mesh [in] _meshName Name of the mesh to create
🔗CreateObjectId()
|
overrideprotectedvirtual |
Reimplemented from BaseScene.
🔗CreateParticleEmitterImpl()
|
overrideprotectedvirtual |
Implementation for creating a ParticleEmitter.
- Parameters
-
[in] _id Unique id. [in] _name Name of ParticleEmitter.
- Returns
- Pointer to the created particle emitter.
Reimplemented from BaseScene.
🔗CreatePlaneImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreatePointLightImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateProjectorImpl()
|
overrideprotectedvirtual |
🔗CreateRayQueryImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateRenderTextureImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateRenderWindowImpl()
|
overrideprotectedvirtual |
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.
Implements BaseScene.
🔗CreateSegmentationCameraImpl()
|
overrideprotectedvirtual |
Implementation for creating a segmentation camera.
- Parameters
-
[in] _id Unique id [in] _name Name of segmentation camera
- Returns
- Pointer to segmentation camera
Reimplemented from BaseScene.
🔗CreateSphereImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateSpotLightImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateTextImpl()
|
overrideprotectedvirtual |
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 from BaseScene.
🔗CreateThermalCameraImpl()
|
overrideprotectedvirtual |
Implementation for creating a thermal camera.
- Parameters
-
[in] _id Unique id [in] _name Name of thermal camera
Reimplemented from BaseScene.
🔗CreateVisualImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗CreateWideAngleCameraImpl()
|
overrideprotectedvirtual |
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 from BaseScene.
🔗CreateWireBoxImpl()
|
overrideprotectedvirtual |
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
Implements BaseScene.
🔗Destroy()
|
overridevirtual |
Reimplemented from BaseScene.
🔗Engine()
|
overridevirtual |
🔗Fini()
|
overridevirtual |
Reimplemented from BaseScene.
🔗Heightmaps()
const std::vector< std::weak_ptr< Ogre2Heightmap > > & Heightmaps | ( | ) | const |
🔗InitImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗InitObject()
|
protectedvirtual |
Helper function to initialize an ogre2 object.
- Parameters
-
[in] _object Ogre2 object that will be initialized [in] _id Unique Id to assign to the object [in] _name Name to assign to the object
🔗LegacyAutoGpuFlush()
|
overridevirtual |
Reimplemented from BaseScene.
🔗Lights()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗LoadImpl()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗Materials()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗OgreSceneManager()
|
virtual |
Get a pointer to the ogre scene manager.
- Returns
- Pointer to the ogre scene manager
🔗PostRender()
|
overridevirtual |
Reimplemented from BaseScene.
🔗PreRender()
|
overridevirtual |
Reimplemented from BaseScene.
🔗RootVisual()
|
overridevirtual |
🔗Sensors()
|
overrideprotectedvirtual |
Implements BaseScene.
🔗SetActiveGlobalIllumination()
|
overridevirtual |
Reimplemented from BaseScene.
🔗SetAmbientLight()
|
overridevirtual |
Implements BaseScene.
🔗SetBackgroundColor()
|
overridevirtual |
Reimplemented from BaseScene.
🔗SetCameraPassCountPerGpuFlush()
|
overridevirtual |
Reimplemented from BaseScene.
🔗SetLightsGiDirty()
void SetLightsGiDirty | ( | ) |
🔗SetShadowTextureSize()
|
virtual |
Reimplemented from BaseScene.
🔗SetSkyEnabled()
|
overridevirtual |
Reimplemented from BaseScene.
🔗SetTime()
|
overridevirtual |
Reimplemented from BaseScene.
🔗ShadowTextureSize()
|
overridevirtual |
Reimplemented from BaseScene.
🔗SkyEnabled()
|
overridevirtual |
Reimplemented from BaseScene.
🔗UpdateAllHeightmaps()
void UpdateAllHeightmaps | ( | Ogre::Camera * | _camera | ) |
🔗UpdateShadowNode()
|
protected |
Create a compositor shadow node with the same number of shadow textures as the number of shadow casting lights.
🔗Visuals()
|
overrideprotectedvirtual |
Implements BaseScene.
Member Data Documentation
🔗heightmaps
|
protected |
A list of ogre heightmaps.
🔗lights
|
protected |
A list of ogre lights.
🔗materials
|
protected |
A list of ogre materials.
🔗meshFactory
|
protected |
Mesh factory for generating ogre meshes.
🔗ogreSceneManager
|
protected |
Pointer to the ogre scene manager.
🔗rootVisual
|
protected |
Root visual in the scene.
🔗sensors
|
protected |
A list of ogre sensors, e.g. cameras.
🔗visuals
|
protected |
A list of ogre visuals.
The documentation for this class was generated from the following file: