|
Robotran C Documentation
|
Go to the documentation of this file.
7 #ifndef OGL_OFFSCREEN_VP_RENDERER
8 #define OGL_OFFSCREEN_VP_RENDERER
55 #endif // OGL_OFFSCREEN_VP_RENDERER
GLuint height
Definition: OglOffscreenVpRenderer.hh:45
Definition: MpegFrameCaptureOptions.hh:6
GLuint render_buf
Definition: OglOffscreenVpRenderer.hh:39
OglViewPointRenderer class.
GLenum format
format to store the pixels
Definition: OglViewPointRenderer.hh:44
virtual void Render()
Render the current viewpoint renderer.
Definition: OglOffscreenVpRenderer.cc:88
OglOffscreenVpRenderer(MbsWorld3D *w3d, MbsViewPoint *vp, GLenum format=GL_RGB, bool multisample_enable=false)
Definition: OglOffscreenVpRenderer.cc:15
virtual void GetImagePixels(unsigned char *image, int width, int height)
Copy the image data associated to this renderer in the given image buffer.
Definition: OglOffscreenVpRenderer.cc:120
virtual void Render()
Render the current viewpoint renderer.
Definition: OglViewPointRenderer.cc:36
GLuint width
Definition: OglOffscreenVpRenderer.hh:45
MbsViewPoint * viewpoint
Definition: OglOffscreenVpRenderer.hh:47
int multisample_nb
Definition: OglOffscreenVpRenderer.hh:43
OglOffscreenVpRenderer class.
GLuint multisample_frame_buf
Definition: OglOffscreenVpRenderer.hh:41
GLuint multisample_render_buf
Definition: OglOffscreenVpRenderer.hh:41
virtual int GetWidth()
Definition: OglViewPointRenderer.cc:55
implementation of a MbsViewPointRenderer using OpenGL to render directly to the screen
Definition: OglViewPointRenderer.hh:24
virtual MbsViewPoint * GetViewpoint()
Definition: OglOffscreenVpRenderer.cc:83
GLuint frame_buf
Definition: OglOffscreenVpRenderer.hh:39
bool multisample_enable
Definition: OglOffscreenVpRenderer.hh:42
~OglOffscreenVpRenderer()
Definition: OglOffscreenVpRenderer.cc:78
GLuint depth_buf
Definition: OglOffscreenVpRenderer.hh:39
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
implementation of a MbsViewPointRenderer using OpenGL to render offscreen. It re-uses code of OglView...
Definition: OglOffscreenVpRenderer.hh:23