14 #ifndef WEBCAMVIDEOCURSOROPENCV_H
15 #define WEBCAMVIDEOCURSOROPENCV_H
24 class WebcamVideoOpenCV;
32 WebcamVideoCursorOpenCV(WebcamVideoOpenCV *src);
33 virtual ~WebcamVideoCursorOpenCV();
34 virtual PT(
Buffer) fetch_buffer();
37 bool get_frame_data(
const unsigned char *&r,
38 const unsigned char *&g,
39 const unsigned char *&b,
40 int &x_pitch,
int &y_pitch);
48 static void init_type() {
49 MovieVideoCursor::init_type();
51 MovieVideoCursor::get_class_type());
54 return get_class_type();
56 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}