Skip to content

Commit

Permalink
Forward declaration of fisheye camera.
Browse files Browse the repository at this point in the history
Forward declaration of PinholeCal3Fisheye needed by Python wrapper.
  • Loading branch information
roderick-koehle authored Jul 8, 2021
1 parent 73d40a5 commit 55c1274
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gtsam/geometry/SimpleCamera.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <gtsam/geometry/Cal3Bundler.h>
#include <gtsam/geometry/Cal3DS2.h>
#include <gtsam/geometry/Cal3Unified.h>
#include <gtsam/geometry/Cal3Fisheye.h>
#include <gtsam/geometry/Cal3_S2.h>
#include <gtsam/geometry/PinholeCamera.h>

Expand All @@ -33,7 +34,8 @@ namespace gtsam {
using PinholeCameraCal3Bundler = gtsam::PinholeCamera<gtsam::Cal3Bundler>;
using PinholeCameraCal3DS2 = gtsam::PinholeCamera<gtsam::Cal3DS2>;
using PinholeCameraCal3Unified = gtsam::PinholeCamera<gtsam::Cal3Unified>;

using PinholeCameraCal3Fisheye = gtsam::PinholeCamera<gtsam::Cal3Fisheye>;

#ifdef GTSAM_ALLOW_DEPRECATED_SINCE_V41
/**
* @deprecated: SimpleCamera for backwards compatability with GTSAM 3.x
Expand Down

0 comments on commit 55c1274

Please sign in to comment.