Class RenderSystem

Class Documentation

class RenderSystem

Public Types

typedef unsigned long WindowIDType

Public Functions

RVIZ_RENDERING_PUBLIC Ogre::RenderWindow * makeRenderWindow (WindowIDType window_id, unsigned int width, unsigned int height, double pixel_ratio=1.0)
Ogre::Root *getOgreRoot()
RVIZ_RENDERING_PUBLIC ~RenderSystem()
void Destroy()
void prepareOverlays(Ogre::SceneManager *scene_manager)
int getGlVersion()

return OpenGl Version as integer, e.g. 320 for OpenGl 3.20

RVIZ_RENDERING_PUBLIC int getGlslVersion ()

return GLSL Version as integer, e.g. 150 for GLSL 1.50

bool isStereoSupported()

True if we can render stereo on this device.

Public Static Functions

static RVIZ_RENDERING_PUBLIC RenderSystem * get ()
static void disableAntiAliasing()

Disables the use of Anti Aliasing.

static void forceGlVersion(int version)

Force to use the provided OpenGL version on startup.

static void forceNoStereo()

Disable stereo rendering even if supported in HW.