14 #ifndef WEBCAMVIDEOOPENCV_H 15 #define WEBCAMVIDEOOPENCV_H 23 class WebcamVideoCursorOpenCV;
32 WebcamVideoOpenCV(
int camera_index);
42 static void init_type() {
43 WebcamVideo::init_type();
45 WebcamVideo::get_class_type());
48 return get_class_type();
50 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
55 friend class WebcamVideoCursorOpenCV;
56 friend void find_all_webcams_opencv();
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.
Allows you to open a webcam or other video capture device as a video stream.
A MovieVideo is actually any source that provides a sequence of video frames.
TypeHandle is the identifier used to differentiate C++ class types.