18 #include "movieVideo.h" 30 static int get_num_options();
32 MAKE_SEQ(get_options, get_num_options, get_option);
34 INLINE
int get_size_x()
const;
35 INLINE
int get_size_y()
const;
36 INLINE
double get_fps()
const;
37 INLINE
const string &get_pixel_format()
const;
41 INLINE
void output(ostream &out)
const;
44 static void find_all_webcams();
58 static void init_type() {
59 MovieVideo::init_type();
60 register_type(_type_handle,
"WebcamVideo",
61 MovieVideo::get_class_type());
64 return get_class_type();
66 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
72 INLINE ostream &operator << (ostream &out,
const WebcamVideo &n);
74 #include "webcamVideo.I" void output(ostream &out) const
Outputs the Namable.
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.
A MovieVideo is actually any source that provides a sequence of video frames.
TypeHandle is the identifier used to differentiate C++ class types.