Fawkes API Fawkes Development Version
|
00001 00002 /*************************************************************************** 00003 * calibration.h - Abstract class defining a camera calibration matrix K 00004 * for a finite camera 00005 * 00006 * Created: Thu May 08 13:24:00 2008 00007 * Copyright 2008 Christof Rath <c.rath@student.tugraz.at> 00008 * 00009 ****************************************************************************/ 00010 00011 /* This program is free software; you can redistribute it and/or modify 00012 * it under the terms of the GNU General Public License as published by 00013 * the Free Software Foundation; either version 2 of the License, or 00014 * (at your option) any later version. A runtime exception applies to 00015 * this software (see LICENSE.GPL_WRE file mentioned below for details). 00016 * 00017 * This program is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU Library General Public License for more details. 00021 * 00022 * Read the full text in the LICENSE.GPL_WRE file in the doc directory. 00023 */ 00024 00025 #ifndef __FIREVISION_CALIBRATION_H__ 00026 #define __FIREVISION_CALIBRATION_H__ 00027 00028 #include <geometry/matrix.h> 00029 00030 namespace firevision { 00031 #if 0 /* just to make Emacs auto-indent happy */ 00032 } 00033 #endif 00034 00035 class Calibration: public fawkes::Matrix 00036 { 00037 public: 00038 Calibration(const Calibration& cal); 00039 Calibration(const fawkes::Matrix& k); 00040 virtual ~Calibration(); 00041 00042 Matrix K() const; 00043 00044 protected: 00045 Calibration(); 00046 00047 Calibration& K(const fawkes::Matrix& k); 00048 }; 00049 00050 } // end namespace firevision 00051 00052 #endif // __FIREVISION_CALIBRATION_H__