Fawkes API  Fawkes Development Version
calibration.h
1 
2 /***************************************************************************
3  * calibration.h - Abstract class defining a camera calibration matrix K
4  * for a finite camera
5  *
6  * Created: Thu May 08 13:24:00 2008
7  * Copyright 2008 Christof Rath <c.rath@student.tugraz.at>
8  *
9  ****************************************************************************/
10 
11 /* This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version. A runtime exception applies to
15  * this software (see LICENSE.GPL_WRE file mentioned below for details).
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU Library General Public License for more details.
21  *
22  * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
23  */
24 
25 #ifndef __FIREVISION_CALIBRATION_H__
26 #define __FIREVISION_CALIBRATION_H__
27 
28 #include <geometry/matrix.h>
29 
30 namespace firevision {
31 #if 0 /* just to make Emacs auto-indent happy */
32 }
33 #endif
34 
36 {
37  public:
38  Calibration(const Calibration& cal);
39  Calibration(const fawkes::Matrix& k);
40  virtual ~Calibration();
41 
42  Matrix K() const;
43 
44  protected:
45  Calibration();
46 
47  Calibration& K(const fawkes::Matrix& k);
48 };
49 
50 } // end namespace firevision
51 
52 #endif // __FIREVISION_CALIBRATION_H__
Calibration()
Hidden default constructor.
Definition: calibration.cpp:43
A general matrix class.
Definition: matrix.h:33
A Calibration matrix for a finite camera.
Definition: calibration.h:35
virtual ~Calibration()
Destructor.
Definition: calibration.cpp:66
Matrix K() const
Calibration getter.
Definition: calibration.cpp:74
Matrix(unsigned int num_rows=0, unsigned int num_cols=0, float *data=0, bool manage_own_memory=true)
Constructor.
Definition: matrix.cpp:102