17 #ifndef _GAZEBO_RENDERING_RENDERENGINE_HH_ 18 #define _GAZEBO_RENDERING_RENDERENGINE_HH_ 44 class RenderEnginePrivate;
91 public:
ScenePtr CreateScene(
const std::string &_name,
92 bool _enableVisualizations,
93 bool _isServer =
false);
97 public:
void RemoveScene(
const std::string &_name);
103 public:
ScenePtr GetScene(
const std::string &_name=
"");
109 public:
ScenePtr GetScene(
unsigned int _index);
118 public:
unsigned int SceneCount() const;
123 public:
void AddResourcePath(const
std::
string &_uri);
136 public:
Ogre::Root *Root() const;
140 public:
std::vector<
unsigned int> FSAALevels() const;
142 #if OGRE_VERSION_MAJOR > 1 || OGRE_VERSION_MINOR >= 9 143 public: Ogre::OverlaySystem *GetOverlaySystem() const
153 public:
Ogre::OverlaySystem *OverlaySystem() const;
158 private:
bool CreateContext();
161 private:
void LoadPlugins();
164 private:
void SetupResources();
167 private:
void SetupRenderSystem();
170 private:
void PreRender();
173 private:
void Render();
176 private:
void PostRender();
179 private:
void CheckSystemCapabilities();
196 private: std::unique_ptr<RenderEnginePrivate> dataPtr;
void * dummyDisplay
Pointer to the dummy display.Used for gui-less operation.
Definition: RenderEngine.hh:185
Forward declarations for the common classes.
Definition: Animation.hh:33
Adaptor to Ogre3d.
Definition: RenderEngine.hh:53
#define GAZEBO_DEPRECATED(version)
Definition: CommonTypes.hh:50
Singleton template class.
Definition: SingletonT.hh:33
void * dummyContext
GLX context used to render the scenes.Used for gui-less operation.
Definition: RenderEngine.hh:189
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:82
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:186
RenderPathType
The type of rendering path used by the rendering engine.
Definition: RenderEngine.hh:57
uint64_t dummyWindowId
ID for a dummy window. Used for gui-less operation.
Definition: RenderEngine.hh:182