17 #ifndef _GAZEBO_RENDERING_RENDERENGINE_HH_ 18 #define _GAZEBO_RENDERING_RENDERENGINE_HH_ 46 class RenderEnginePrivate;
93 public:
ScenePtr CreateScene(
const std::string &_name,
94 bool _enableVisualizations,
95 bool _isServer =
false);
99 public:
void RemoveScene(
const std::string &_name);
105 public:
ScenePtr GetScene(
const std::string &_name=
"");
111 public:
ScenePtr GetScene(
unsigned int _index);
115 public:
unsigned int SceneCount()
const;
120 public:
void AddResourcePath(
const std::string &_uri);
133 public: Ogre::Root *Root()
const;
137 public: std::vector<unsigned int> FSAALevels()
const;
139 #if OGRE_VERSION_MAJOR > 1 || OGRE_VERSION_MINOR >= 9 140 public: Ogre::OverlaySystem *OverlaySystem()
const;
148 private:
bool CreateContext();
151 private:
void LoadPlugins();
154 private:
void SetupResources();
157 private:
void SetupRenderSystem();
160 private:
void PreRender();
163 private:
void Render();
166 private:
void PostRender();
169 private:
void CheckSystemCapabilities();
186 private: std::unique_ptr<RenderEnginePrivate> dataPtr;
void * dummyDisplay
Pointer to the dummy display.Used for gui-less operation.
Definition: RenderEngine.hh:175
Forward declarations for the common classes.
Definition: Animation.hh:26
Adaptor to Ogre3d.
Definition: RenderEngine.hh:55
Singleton template class.
Definition: SingletonT.hh:33
rendering
Definition: RenderEngine.hh:31
void * dummyContext
GLX context used to render the scenes.Used for gui-less operation.
Definition: RenderEngine.hh:179
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:59
#define GZ_SINGLETON_DECLARE(visibility, n1, n2, singletonType)
Helper to declare typed SingletonT.
Definition: SingletonT.hh:61
uint64_t dummyWindowId
ID for a dummy window. Used for gui-less operation.
Definition: RenderEngine.hh:172