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();
50 public:
virtual VisualPtr RootVisual()
const;
54 public:
virtual void SetAmbientLight(
const math::Color &_color);
56 public:
virtual void SetBackgroundColor(
const math::Color &_color);
59 public:
virtual void SetGradientBackgroundColor(
63 public:
virtual void RemoveGradientBackgroundColor();
65 public:
virtual void PreRender();
67 public:
virtual void Clear();
69 public:
virtual void Destroy();
71 public:
virtual Ogre::SceneManager *OgreSceneManager()
const;
73 protected:
virtual bool LoadImpl();
75 protected:
virtual bool InitImpl();
80 protected:
virtual PointLightPtr CreatePointLightImpl(
unsigned int _id,
83 protected:
virtual SpotLightPtr CreateSpotLightImpl(
unsigned int _id,
86 protected:
virtual CameraPtr CreateCameraImpl(
unsigned int _id,
91 const unsigned int _id,
96 const unsigned int _id,
99 protected:
virtual GpuRaysPtr CreateGpuRaysImpl(
100 const unsigned int _id,
103 protected:
virtual VisualPtr CreateVisualImpl(
unsigned int _id,
106 protected:
virtual ArrowVisualPtr CreateArrowVisualImpl(
unsigned int _id,
109 protected:
virtual AxisVisualPtr CreateAxisVisualImpl(
unsigned int _id,
113 protected:
virtual GizmoVisualPtr CreateGizmoVisualImpl(
unsigned int _id,
116 protected:
virtual GeometryPtr CreateBoxImpl(
unsigned int _id,
119 protected:
virtual GeometryPtr CreateConeImpl(
unsigned int _id,
122 protected:
virtual GeometryPtr CreateCylinderImpl(
unsigned int _id,
125 protected:
virtual GeometryPtr CreatePlaneImpl(
unsigned int _id,
128 protected:
virtual GeometryPtr CreateSphereImpl(
unsigned int _id,
131 protected:
virtual MeshPtr CreateMeshImpl(
unsigned int _id,
134 protected:
virtual MeshPtr CreateMeshImpl(
unsigned int _id,
138 protected:
virtual GridPtr CreateGridImpl(
unsigned int _id,
142 protected:
virtual MarkerPtr CreateMarkerImpl(
unsigned int _id,
146 protected:
virtual TextPtr CreateTextImpl(
unsigned int _id,
149 protected:
virtual MaterialPtr CreateMaterialImpl(
unsigned int _id,
173 private:
void CreateContext();
175 private:
void CreateRootVisual();
177 private:
void CreateMeshFactory();
179 private:
void CreateStores();
OgreVisualPtr rootVisual
Definition: gz/rendering/ogre/OgreScene.hh:183
Definition: gz/rendering/ogre/OgreCamera.hh:27
Definition: gz/rendering/ogre/OgreScene.hh:39
Describes how a Mesh should be loaded.
Definition: gz/rendering/MeshDescriptor.hh:44
Ogre::Root * ogreRoot
Definition: gz/rendering/ogre/OgreScene.hh:195
OgreMaterialMapPtr materials
Definition: gz/rendering/ogre/OgreScene.hh:193
OgreSensorStorePtr sensors
Definition: gz/rendering/ogre/OgreScene.hh:189
Definition: gz/rendering/ogre/OgreRenderEngine.hh:68
Definition: gz/rendering/base/BaseScene.hh:37
Ogre::SceneManager * ogreSceneManager
Definition: gz/rendering/ogre/OgreScene.hh:197
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:191
OgreMeshFactoryPtr meshFactory
Definition: gz/rendering/ogre/OgreScene.hh:185
OgreLightStorePtr lights
Definition: gz/rendering/ogre/OgreScene.hh:187