Skip to content

Commit 55c1274

Browse files
Forward declaration of fisheye camera.
Forward declaration of PinholeCal3Fisheye needed by Python wrapper.
1 parent 73d40a5 commit 55c1274

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gtsam/geometry/SimpleCamera.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <gtsam/geometry/Cal3Bundler.h>
2323
#include <gtsam/geometry/Cal3DS2.h>
2424
#include <gtsam/geometry/Cal3Unified.h>
25+
#include <gtsam/geometry/Cal3Fisheye.h>
2526
#include <gtsam/geometry/Cal3_S2.h>
2627
#include <gtsam/geometry/PinholeCamera.h>
2728

@@ -33,7 +34,8 @@ namespace gtsam {
3334
using PinholeCameraCal3Bundler = gtsam::PinholeCamera<gtsam::Cal3Bundler>;
3435
using PinholeCameraCal3DS2 = gtsam::PinholeCamera<gtsam::Cal3DS2>;
3536
using PinholeCameraCal3Unified = gtsam::PinholeCamera<gtsam::Cal3Unified>;
36-
37+
using PinholeCameraCal3Fisheye = gtsam::PinholeCamera<gtsam::Cal3Fisheye>;
38+
3739
#ifdef GTSAM_ALLOW_DEPRECATED_SINCE_V41
3840
/**
3941
* @deprecated: SimpleCamera for backwards compatability with GTSAM 3.x

0 commit comments

Comments
 (0)