11 using namespace alvar;
    94                 Image(IplImage *_ipl, std::string _title, 
bool _visible, 
bool _release_at_exit)
    95                         :ipl(_ipl),title(_title),visible(_visible),release_at_exit(_release_at_exit) {}
   101         static void default_videocallback(IplImage *
image);
   105         void ShowVisibleImages();
   117         void SetVideoCallback(
void (*_videocallback)(IplImage *
image));
   127         void SetKeyCallback(
int (*_keycallback)(
int key));
   132         bool StartVideo(
Capture *_cap, 
const char *_wintitle=0);
   143         size_t SetImage(
const char *title, IplImage *ipl, 
bool release_at_exit=
false);
   148         IplImage *CreateImage(
const char *title, CvSize size, 
int depth, 
int channels);
   153         IplImage *CreateImageWithProto(
const char *title, IplImage *proto, 
int depth=0, 
int channels=0);
   157         IplImage *GetImage(
size_t index);
   161         size_t GetImageIndex(
const char *title);
   165         IplImage *GetImage(
const char *title);
   169         bool ToggleImageVisible(
size_t index, 
int flags=1);
 
Image structure to store the images internally. 
std::vector< Image > images
Vector of images stored internally. 
bool running
Boolean indicating are we still running. We exit from the WaitKeys when this is false. 
Image(IplImage *_ipl, std::string _title, bool _visible, bool _release_at_exit)
std::string wintitle
The window title for the video view. 
std::string filename
The filename if we are reading an AVI file. 
This file implements a capture factory with a plugin interface to allow for different capture backend...
Capture interface that plugins must implement. 
void videocallback(IplImage *image)
This file defines library export definitions, version numbers and build information. 
CvTestbed is a class for making quick OpenCV test applications 
void StopVideo()
Stop video.