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);
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;
void * dummyDisplay
Pointer to the dummy display.Used for gui-less operation.
Definition: RenderEngine.hh:180
Forward declarations for the common classes.
Definition: Animation.hh:33
Adaptor to Ogre3d.
Definition: RenderEngine.hh:52
#define GAZEBO_DEPRECATED(version)
Definition: CommonTypes.hh:48
Singleton template class.
Definition: SingletonT.hh:33
void * dummyContext
GLX context used to render the scenes.Used for gui-less operation.
Definition: RenderEngine.hh:184
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:80
Definition: JointMaker.hh:41
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
boost::shared_ptr< WindowManager > WindowManagerPtr
Definition: RenderTypes.hh:184
RenderPathType
The type of rendering path used by the rendering engine.
Definition: RenderEngine.hh:56
uint64_t dummyWindowId
ID for a dummy window. Used for gui-less operation.
Definition: RenderEngine.hh:177