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);
112 public:
unsigned int SceneCount()
const;
117 public:
void AddResourcePath(
const std::string &_uri);
130 public: Ogre::Root *Root()
const;
134 public: std::vector<unsigned int> FSAALevels()
const;
136 #if OGRE_VERSION_MAJOR > 1 || OGRE_VERSION_MINOR >= 9 137 public: Ogre::OverlaySystem *OverlaySystem()
const;
145 private:
bool CreateContext();
148 private:
void LoadPlugins();
151 private:
void SetupResources();
154 private:
void SetupRenderSystem();
157 private:
void PreRender();
160 private:
void Render();
163 private:
void PostRender();
166 private:
void CheckSystemCapabilities();
183 private: std::unique_ptr<RenderEnginePrivate> dataPtr;
void * dummyDisplay
Pointer to the dummy display.Used for gui-less operation.
Definition: RenderEngine.hh:172
Forward declarations for the common classes.
Definition: Animation.hh:26
Adaptor to Ogre3d.
Definition: RenderEngine.hh:52
Singleton template class.
Definition: SingletonT.hh:33
void * dummyContext
GLX context used to render the scenes.Used for gui-less operation.
Definition: RenderEngine.hh:176
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:82
Definition: JointMaker.hh:39
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:56
uint64_t dummyWindowId
ID for a dummy window. Used for gui-less operation.
Definition: RenderEngine.hh:169