00001 /*************************************************************** 00002 00003 Mini Grand Challenge 2010 00004 Pennsylvania State University - Robotics Club 00005 Learn more at www.psurobotics.org 00006 Protected by the GNU General Public License 00007 00008 This source file is developed and maintained by: 00009 + Matthew Jones mcj5026@psu.edu 00010 00011 File: ProjectionInterface.cpp/h 00012 Desc: This component takes in an image and writes out a 00013 projection matrix to a conf file. This conf file 00014 can be used for the rest of the run. 00015 00016 ***************************************************************/ 00017 00018 // Inclusion guard 00019 #ifndef __PROJECTIONTEST_H_ 00020 #define __PROJECTIONTEST_H_ 00021 00022 // Standard includes 00023 #include "Utilities.h" 00024 #include "BaseComponent.h" 00025 #include "Utilities_Vision.h" 00026 00028 class ProjectionTest : public BaseComponent 00029 { 00030 public: 00031 00033 ProjectionTest(); 00034 00036 ~ProjectionTest(); 00037 00039 int Update(); 00040 00041 private: 00042 00043 // OpenCV image structures 00044 IplImage* input; 00045 IplImage* output; 00046 00047 const char* window_name; 00048 }; 00049 00050 // Callback interface 00051 static ProjectionTest* __ProjectionTestHandle = NULL; 00052 00053 // End of inclusion guard 00054 #endif 00055
1.5.5