00001 /**************************************************************** 00002 * 00003 * Copyright (c) 2010 00004 * 00005 * Fraunhofer Institute for Manufacturing Engineering 00006 * and Automation (IPA) 00007 * 00008 * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00009 * 00010 * Project name: care-o-bot 00011 * ROS stack name: cob3_driver 00012 * ROS package name: cob_camera_sensors 00013 * Description: Defines for camera sensors. 00014 * 00015 * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00016 * 00017 * Author: Jan Fischer, email:jan.fischer@ipa.fhg.de 00018 * Supervised by: Jan Fischer, email:jan.fischer@ipa.fhg.de 00019 * 00020 * Date of creation: Sept 2008 00021 * ToDo: 00022 * 00023 * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00024 * 00025 * Redistribution and use in source and binary forms, with or without 00026 * modification, are permitted provided that the following conditions are met: 00027 * 00028 * * Redistributions of source code must retain the above copyright 00029 * notice, this list of conditions and the following disclaimer. 00030 * * Redistributions in binary form must reproduce the above copyright 00031 * notice, this list of conditions and the following disclaimer in the 00032 * documentation and/or other materials provided with the distribution. 00033 * * Neither the name of the Fraunhofer Institute for Manufacturing 00034 * Engineering and Automation (IPA) nor the names of its 00035 * contributors may be used to endorse or promote products derived from 00036 * this software without specific prior written permission. 00037 * 00038 * This program is free software: you can redistribute it and/or modify 00039 * it under the terms of the GNU Lesser General Public License LGPL as 00040 * published by the Free Software Foundation, either version 3 of the 00041 * License, or (at your option) any later version. 00042 * 00043 * This program is distributed in the hope that it will be useful, 00044 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00045 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00046 * GNU Lesser General Public License LGPL for more details. 00047 * 00048 * You should have received a copy of the GNU Lesser General Public 00049 * License LGPL along with this program. 00050 * If not, see <http://www.gnu.org/licenses/>. 00051 * 00052 ****************************************************************/ 00053 00054 00059 00060 #ifndef __IPA_CAMERASENSORDEFINES_H__ 00061 #define __IPA_CAMERASENSORDEFINES_H__ 00062 00063 #include "opencv2/opencv.hpp" 00064 00065 #include <boost/shared_ptr.hpp> 00066 #include <boost/progress.hpp> 00067 #include <boost/timer.hpp> 00068 00069 #include <string> 00070 #include <iostream> 00071 #include <iomanip> 00072 #include <limits.h> 00073 #include <vector> 00074 00075 namespace ipa_CameraSensors { 00076 00077 #if defined _MSC_VER && _MSC_VER >= 1200 00078 // disable warnings related to inline functions 00079 #pragma warning( disable: 4251 4275) 00080 #endif 00081 00083 #ifdef __LINUX__ 00084 #define __DLL_LIBCAMERASENSORS__ 00085 #define APIENTRY 00086 #else 00087 #ifdef __LIBCAMERASENSORS_EXPORT__ 00088 #define __DLL_LIBCAMERASENSORS__ __declspec(dllexport) 00089 #else 00090 #define __DLL_LIBCAMERASENSORS__ __declspec(dllimport) 00091 #endif 00092 #endif 00093 00094 } // namespace ipa_CameraSensors 00095 00096 #endif // __IPA_CAMERASENSORDEFINES_H__