Robotran C Documentation
mbs_common
mbs_realtime
open_gl
frame_capture
FrameCapture.hh
Go to the documentation of this file.
1
7
#ifdef FRAME_CAPTURE
8
9
#ifndef _FRAME_CAPTURE_HH_
10
#define _FRAME_CAPTURE_HH_
11
12
#include <GL/gl.h>
13
14
namespace
OpenGLMbs
{
15
16
//forward declaration
17
class
MbsViewPointRenderer;
18
26
class
MbsFrameCapture
27
{
28
public
:
29
MbsFrameCapture(MbsViewPointRenderer* vp_renderer);
30
~MbsFrameCapture();
31
32
virtual
void
Capture();
33
virtual
void
ProcessScreenShot() = 0;
34
35
protected
:
36
MbsViewPointRenderer* vp_renderer;
37
GLubyte *pixels;
38
int
width, height;
39
40
private
:
41
GLubyte* init_pixels(
int
width,
int
height);
42
};
43
44
}
//namespace OpenGLMbs
45
46
#endif //_FRAME_CAPTURE_HH_
47
48
#endif
OpenGLMbs
Definition:
MpegFrameCaptureOptions.hh:6
MbsViewPointRenderer.hh
MbsViewPointRenderer class.
PpmFrameCapture.hh
Generated on Fri Mar 10 2023 09:22:54 for Robotran C Documentation by
1.8.17