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();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A MovieVideo is actually any source that provides a sequence of video frames.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.