17 #ifndef _GAZEBO_RENDERING_RENDERENGINE_HH_
18 #define _GAZEBO_RENDERING_RENDERENGINE_HH_
43 class RenderEnginePrivate;
90 public:
ScenePtr CreateScene(
const std::string &_name,
91 bool _enableVisualizations,
92 bool _isServer =
false);
96 public:
void RemoveScene(
const std::string &_name);
102 public:
ScenePtr GetScene(
const std::string &_name=
"");
108 public:
ScenePtr GetScene(
unsigned int _index);
117 public:
unsigned int SceneCount() const;
122 public:
void AddResourcePath(const std::
string &_uri);
127 public: RenderPathType GetRenderPathType() const;
135 public: Ogre::Root *Root() const;
137 #if OGRE_VERSION_MAJOR > 1 || OGRE_VERSION_MINOR >= 9
138 public: Ogre::OverlaySystem *GetOverlaySystem() const
148 public: Ogre::OverlaySystem *OverlaySystem() const;
153 private:
bool CreateContext();
156 private:
void LoadPlugins();
159 private:
void SetupResources();
162 private:
void SetupRenderSystem();
165 private:
void PreRender();
168 private:
void Render();
171 private:
void PostRender();
174 private:
void CheckSystemCapabilities();
191 private: std::unique_ptr<RenderEnginePrivate> dataPtr;
Adaptor to Ogre3d.
Definition: RenderEngine.hh:52
#define GAZEBO_DEPRECATED(version)
Definition: CommonTypes.hh:48
Singleton template class.
Definition: SingletonT.hh:33
RenderPathType
The type of rendering path used by the rendering engine.
Definition: RenderEngine.hh:56
#define GZ_RENDERING_VISIBLE
Definition: system.hh:209
void * dummyDisplay
Pointer to the dummy display.Used for gui-less operation.
Definition: RenderEngine.hh:180
void * dummyContext
GLX context used to render the scenes.Used for gui-less operation.
Definition: RenderEngine.hh:184
boost::shared_ptr< WindowManager > WindowManagerPtr
Definition: RenderTypes.hh:184
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:80
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
uint64_t dummyWindowId
ID for a dummy window. Used for gui-less operation.
Definition: RenderEngine.hh:177