Robotran C Documentation
mbs_common
mbs_realtime
open_gl
renderer
MbsViewPointRenderer.hh
Go to the documentation of this file.
1
7
#ifndef MBS_VIEWPOINT_RENDERER
8
#define MBS_VIEWPOINT_RENDERER
9
10
11
namespace
OpenGLMbs
{
12
17
class
MbsViewPointRenderer
18
{
19
public
:
20
22
virtual
void
Render
() = 0;
23
26
virtual
void
GetImagePixels
(
unsigned
char
* image,
int
width,
int
height) = 0;
27
28
virtual
int
GetWidth
() = 0;
29
virtual
int
GetHeight
() = 0;
30
31
};
// class MbsViewPointRenderer
32
33
34
}
// namespace OpenGLMbs
35
36
37
#endif // MBS_VIEWPOINT_RENDERER
38
OpenGLMbs::MbsViewPointRenderer::GetImagePixels
virtual void GetImagePixels(unsigned char *image, int width, int height)=0
Copy the image data associated to this renderer in the given image buffer.
OpenGLMbs
Definition:
MpegFrameCaptureOptions.hh:6
OpenGLMbs::MbsViewPointRenderer::GetWidth
virtual int GetWidth()=0
OpenGLMbs::MbsViewPointRenderer::GetHeight
virtual int GetHeight()=0
OpenGLMbs::MbsViewPointRenderer
abstract class for specifying code to render the 3D scene to an image from a specific viepoint.
Definition:
MbsViewPointRenderer.hh:17
OpenGLMbs::MbsViewPointRenderer::Render
virtual void Render()=0
Render the current viewpoint renderer.
Generated on Fri Mar 10 2023 09:22:54 for Robotran C Documentation by
1.8.17