implementation of a MbsViewPointRenderer using OpenGL to render directly to the screen More...
#include <OglViewPointRenderer.hh>
Public Member Functions | |
OglViewPointRenderer (MbsWorld3D *w3d, GLenum format=GL_RGB) | |
~OglViewPointRenderer () | |
virtual void | Render () |
Render the current viewpoint renderer. More... | |
virtual void | GetImagePixels (unsigned char *image, int width, int height) |
Copy the image data associated to this renderer in the given image buffer. More... | |
virtual MbsViewPoint * | GetViewpoint () |
virtual int | GetWidth () |
virtual int | GetHeight () |
Protected Attributes | |
MbsWorld3D * | world_3d |
3D world More... | |
GLenum | format |
format to store the pixels More... | |
implementation of a MbsViewPointRenderer using OpenGL to render directly to the screen
OglViewPointRenderer | ( | MbsWorld3D * | w3d, |
GLenum | format = GL_RGB |
||
) |
~OglViewPointRenderer | ( | ) |
|
virtual |
Implements MbsViewPointRenderer.
|
virtual |
Copy the image data associated to this renderer in the given image buffer.
Implements MbsViewPointRenderer.
Reimplemented in OglOffscreenVpRenderer.
|
virtual |
Reimplemented in OglOffscreenVpRenderer.
|
virtual |
Implements MbsViewPointRenderer.
|
virtual |
Render the current viewpoint renderer.
Implements MbsViewPointRenderer.
Reimplemented in OglOffscreenVpRenderer.
|
protected |
format to store the pixels
|
protected |
3D world