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 "2.0"
00021 #define LIBCVAUTOMATION_BUGREPORT "bspeice@uncc.edu"
00022 
00023 /* C includes */
00024 #include <stdio.h>
00025 #include <string.h>
00026 #include <unistd.h>
00027 #include <limits.h>
00028 
00029 /* Autoconf logic to select the correct OpenCV version */
00030 /* OpenCV includes */
00031 
00032 #include <opencv/cv.h>
00033 #include <opencv/highgui.h>
00034 
00035 /* X11 includes */
00036 #include <X11/Xlib.h>
00037 #include <X11/Xutil.h>
00038 #include <X11/extensions/XTest.h>
00039 
00040 /* Define another basic structure for points */
00041 typedef struct {
00042     int x, y;
00043 } cvaPoint;
00044 
00045 /* Define a basic structure to help us with using multiple-picture arguments
00046  * Yes, it's a hackish implementation, nobody said you had to use this one. */
00047 typedef struct {
00048     /* Use one or the other of fileName or cvaImage - cvaImage takes priority */
00049     IplImage *cvaImage;
00050     char *fileName;
00051 
00052     cvaPoint resultPoint;
00053     int searchMethod;
00054     int tolerance;
00055 
00056 } cvautomationList;
00057 
00058 /* Project component includes */
00059 /* The includes come here to make sure all function prototypes have access
00060  * to the cvautomationList struct */
00061 #include <libcvautomation/libcvautomation-opencv.h>
00062 #include <libcvautomation/libcvautomation-xlib.h>
00063 #include <libcvautomation/libcvautomation-xtest.h>
00064 
00065 #endif /* LIBCVAUTOMATION_H */
00066 /* Doxygen information */

Generated on Mon Oct 15 08:41:17 2012 for libcvautomation by  doxygen 1.4.7