00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
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