Forward declarations and comments

release/4.3a0
Kai Ni 2009-09-11 20:51:03 +00:00
parent 49e6e0c63f
commit bc7717d5ab
2 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,7 @@
* Author: dellaert * Author: dellaert
*/ */
#include "Point2.h"
#include "CalibratedCamera.h" #include "CalibratedCamera.h"
namespace gtsam { namespace gtsam {

View File

@ -8,12 +8,13 @@
#ifndef CalibratedCAMERA_H_ #ifndef CalibratedCAMERA_H_
#define CalibratedCAMERA_H_ #define CalibratedCAMERA_H_
#include "Point2.h"
#include "Pose2.h" #include "Pose2.h"
#include "Pose3.h" #include "Pose3.h"
namespace gtsam { namespace gtsam {
class Point2;
/** /**
* projects a 3-dimensional point in camera coordinates into the * projects a 3-dimensional point in camera coordinates into the
* camera and returns a 2-dimensional point, no calibration applied * camera and returns a 2-dimensional point, no calibration applied
@ -44,6 +45,8 @@ namespace gtsam {
/** /**
* Create a level camera at the given 2D pose and height * Create a level camera at the given 2D pose and height
* @param pose2 specifies the location and viewing direction
* (theta 0 = looking in direction of positive X axis)
*/ */
static CalibratedCamera level(const Pose2& pose2, double height); static CalibratedCamera level(const Pose2& pose2, double height);