OmniCallback.hh

Go to the documentation of this file.
00001 /*
00002  *  Copyright (C) Massimo Cora' 2006 <maxcvs@email.it>
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU Library General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017  */
00018 
00019 
00020 
00021 #ifndef __OMNI_CALLBACK_HH__
00022 #define __OMNI_CALLBACK_HH__
00023 
00024 
00025 #include <cv.h>
00026 #include <highgui.h>
00027 
00037 void omnistuff_create_image_context( char* window_id, void* callback_data );
00038 
00047 void omnistuff_image_do_action( IplImage* image,                
00048                                                            int track_id,                        
00049                                                            char* window_id,             
00050                                                            void* callback_data          
00051                                                            );   
00052 
00053 
00059 void omnistuff_destroy_image_context( char* window_id, void* callback_data );
00060 
00062 typedef void (on_create_image_context_cb)( char*, void* );
00063 
00065 typedef void (on_image_do_action_cb)( IplImage*, int, char*, void* );
00066 
00068 typedef void (on_destroy_image_context_cb)( char*, void* );
00069 
00070 
00071 
00072 #endif
00073 
00074 
00075 
00076 

Generated on Tue Dec 26 10:32:38 2006 for Omnimeeting by  doxygen 1.4.7