|
Robotran C Documentation
|
Go to the documentation of this file.
7 #ifndef OGL_VIEWPOINT_RENDERER
8 #define OGL_VIEWPOINT_RENDERER
35 virtual void GetImagePixels(
unsigned char* image,
int width,
int height);
52 #endif // OGL_VIEWPOINT_RENDERER
Definition: MpegFrameCaptureOptions.hh:6
virtual MbsViewPoint * GetViewpoint()
Definition: OglViewPointRenderer.cc:32
OglViewPointRenderer class.
GLenum format
format to store the pixels
Definition: OglViewPointRenderer.hh:44
MbsViewPointRenderer class.
virtual void Render()
Render the current viewpoint renderer.
Definition: OglViewPointRenderer.cc:36
abstract class for specifying code to render the 3D scene to an image from a specific viepoint.
Definition: MbsViewPointRenderer.hh:17
MbsWorld3D * world_3d
3D world
Definition: OglViewPointRenderer.hh:43
OglViewPointRenderer(MbsWorld3D *w3d, GLenum format=GL_RGB)
Definition: OglViewPointRenderer.cc:13
~OglViewPointRenderer()
Definition: OglViewPointRenderer.cc:28
virtual int GetWidth()
Definition: OglViewPointRenderer.cc:55
implementation of a MbsViewPointRenderer using OpenGL to render directly to the screen
Definition: OglViewPointRenderer.hh:24
virtual int GetHeight()
Definition: OglViewPointRenderer.cc:59
virtual void GetImagePixels(unsigned char *image, int width, int height)
Copy the image data associated to this renderer in the given image buffer.
Definition: OglViewPointRenderer.cc:51