libcvautomation  1.2
libcvautomation.h
Go to the documentation of this file.
00001 /*
00002  * =====================================================================================
00003  *
00004  *       Filename:  libcvautomation.h
00005  *
00006  *    Description:  Include wrapper for libcvautomation subsections
00007  *
00008  *        Created:  06/21/2012 12:20:43 PM
00009  *       Revision:  none
00010  *       Compiler:  gcc
00011  *
00012  *         Author:  Bradlee Speice (), bspeice.nc@gmail.com
00013  *   Organization:  
00014  *
00015  * =====================================================================================
00016  */
00017 #ifndef LIBCVAUTOMATION_H
00018 #define LIBCVAUTOMATION_H
00019 
00020 #define LIBCVAUTOMATION_VERSION "1.2"
00021 #define LIBCVAUTOMATION_BUGREPORT "bspeice@uncc.edu"
00022 
00023 /* C includes */
00024 #include <stdio.h>
00025 #include <string.h>
00026 
00027 /* OpenCV2 includes - some filenames are different
00028  * from the OpenCV1 counterparts */
00029 #include <opencv2/core/core_c.h>
00030 #include <opencv2/highgui/highgui_c.h>
00031 #include <opencv2/imgproc/imgproc_c.h>
00032 
00033 /* X11 includes */
00034 #include <X11/Xlib.h>
00035 #include <X11/Xutil.h>
00036 #include <X11/extensions/XTest.h>
00037 
00038 /* Define a basic structure to help us with using multiple-picture arguments
00039  * Yes, it's a hackish implementation, nobody said you had to use this one. */
00040 typedef struct {
00041     /* Use one or the other of fileName or cvaImage - cvaImage takes priority */
00042     IplImage *cvaImage;
00043     char *fileName;
00044 
00045     CvPoint resultPoint;
00046     int searchMethod;
00047     int tolerance;
00048 
00049 } cvautomationList;
00050 
00051 /* Define another basic structure for points */
00052 typedef struct {
00053     int x, y;
00054 } cvaPoint;
00055 
00056 /* Project component includes */
00057 /* The includes come here to make sure all function prototypes have access
00058  * to the cvautomationList struct */
00059 #include <libcvautomation/libcvautomation-opencv.h>
00060 #include <libcvautomation/libcvautomation-xlib.h>
00061 #include <libcvautomation/libcvautomation-xtest.h>
00062 
00063 #endif /* LIBCVAUTOMATION_H */
00064 /* Doxygen information */
 All Classes Files Functions Defines