Go to the documentation of this file.
17 #ifndef GZ_RENDERING_OGRE_OGRESCENE_HH_
18 #define GZ_RENDERING_OGRE_OGRESCENE_HH_
23 #include "gz/rendering/ogre/Export.hh"
37 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
46 public:
virtual void Fini()
override;
50 public:
virtual VisualPtr RootVisual()
const override;
52 public:
virtual math::Color AmbientLight()
const override;
54 public:
virtual void SetAmbientLight(
const math::Color &_color)
override;
56 public:
virtual void SetBackgroundColor(
60 public:
virtual void SetGradientBackgroundColor(
64 public:
virtual void RemoveGradientBackgroundColor()
override;
66 public:
virtual void PreRender()
override;
68 public:
virtual void Clear()
override;
70 public:
virtual void Destroy()
override;
72 public:
virtual Ogre::SceneManager *OgreSceneManager()
const;
74 protected:
virtual bool LoadImpl()
override;
76 protected:
virtual bool InitImpl()
override;
79 unsigned int _id,
const std::string &_name)
override;
82 protected:
virtual COMVisualPtr CreateCOMVisualImpl(
unsigned int _id,
87 unsigned int _id,
const std::string &_name)
override;
90 protected:
virtual JointVisualPtr CreateJointVisualImpl(
unsigned int _id,
93 protected:
virtual LightVisualPtr CreateLightVisualImpl(
unsigned int _id,
96 protected:
virtual PointLightPtr CreatePointLightImpl(
unsigned int _id,
99 protected:
virtual SpotLightPtr CreateSpotLightImpl(
unsigned int _id,
102 protected:
virtual CameraPtr CreateCameraImpl(
unsigned int _id,
107 const unsigned int _id,
112 const unsigned int _id,
115 protected:
virtual GpuRaysPtr CreateGpuRaysImpl(
116 const unsigned int _id,
119 protected:
virtual VisualPtr CreateVisualImpl(
unsigned int _id,
122 protected:
virtual ArrowVisualPtr CreateArrowVisualImpl(
unsigned int _id,
125 protected:
virtual AxisVisualPtr CreateAxisVisualImpl(
unsigned int _id,
129 protected:
virtual GizmoVisualPtr CreateGizmoVisualImpl(
unsigned int _id,
132 protected:
virtual GeometryPtr CreateBoxImpl(
unsigned int _id,
135 protected:
virtual GeometryPtr CreateConeImpl(
unsigned int _id,
138 protected:
virtual GeometryPtr CreateCylinderImpl(
unsigned int _id,
141 protected:
virtual GeometryPtr CreatePlaneImpl(
unsigned int _id,
144 protected:
virtual GeometryPtr CreateSphereImpl(
unsigned int _id,
147 protected:
virtual MeshPtr CreateMeshImpl(
unsigned int _id,
150 protected:
virtual MeshPtr CreateMeshImpl(
162 protected:
virtual CapsulePtr CreateCapsuleImpl(
unsigned int _id,
165 protected:
virtual GridPtr CreateGridImpl(
170 protected:
virtual MarkerPtr CreateMarkerImpl(
175 protected:
virtual LidarVisualPtr CreateLidarVisualImpl(
unsigned int _id,
179 protected:
virtual WireBoxPtr CreateWireBoxImpl(
unsigned int _id,
183 protected:
virtual TextPtr CreateTextImpl(
unsigned int _id,
186 protected:
virtual MaterialPtr CreateMaterialImpl(
unsigned int _id,
190 unsigned int _id,
const std::string &_name)
override;
194 unsigned int _id,
const std::string &_name)
override;
197 unsigned int _id,
const std::string &_name)
override;
201 unsigned int _id,
const std::string &_name)
override;
216 public:
void ClearMaterialsCache(
const std::string &_name);
218 private:
void CreateContext();
220 private:
void CreateRootVisual();
222 private:
void CreateMeshFactory();
224 private:
void CreateStores();
OgreVisualPtr rootVisual
Definition: gz/rendering/ogre/OgreScene.hh:228
Definition: gz/rendering/ogre/OgreCamera.hh:27
Definition: gz/rendering/ogre/OgreScene.hh:39
Describes how a Heightmap should be loaded.
Definition: gz/rendering/HeightmapDescriptor.hh:146
Describes how a Mesh should be loaded.
Definition: gz/rendering/MeshDescriptor.hh:44
Ogre::Root * ogreRoot
Definition: gz/rendering/ogre/OgreScene.hh:240
OgreMaterialMapPtr materials
Definition: gz/rendering/ogre/OgreScene.hh:238
OgreSensorStorePtr sensors
Definition: gz/rendering/ogre/OgreScene.hh:234
Definition: gz/rendering/ogre/OgreRenderEngine.hh:68
Definition: gz/rendering/base/BaseScene.hh:37
Ogre::SceneManager * ogreSceneManager
Definition: gz/rendering/ogre/OgreScene.hh:242
An abstract interface to a concrete render-engine. A RenderEngine is responsible for initializing a r...
Definition: gz/rendering/RenderEngine.hh:36
OgreVisualStorePtr visuals
Definition: gz/rendering/ogre/OgreScene.hh:236
OgreMeshFactoryPtr meshFactory
Definition: gz/rendering/ogre/OgreScene.hh:230
OgreLightStorePtr lights
Definition: gz/rendering/ogre/OgreScene.hh:232