Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shared_ptr definition for remainder of camera objects #1088

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions gtsam/geometry/Cal3Bundler.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ class GTSAM_EXPORT Cal3Bundler : public Cal3 {
public:
enum { dimension = 3 };

///< shared pointer to stereo calibration object
using shared_ptr = boost::shared_ptr<Cal3Bundler>;

/// @name Standard Constructors
/// @{

Expand Down
3 changes: 3 additions & 0 deletions gtsam/geometry/Cal3DS2.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ class GTSAM_EXPORT Cal3DS2 : public Cal3DS2_Base {
public:
enum { dimension = 9 };

///< shared pointer to stereo calibration object
using shared_ptr = boost::shared_ptr<Cal3DS2>;

/// @name Standard Constructors
/// @{

Expand Down
3 changes: 3 additions & 0 deletions gtsam/geometry/Cal3DS2_Base.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class GTSAM_EXPORT Cal3DS2_Base : public Cal3 {
public:
enum { dimension = 9 };

///< shared pointer to stereo calibration object
using shared_ptr = boost::shared_ptr<Cal3DS2_Base>;

/// @name Standard Constructors
/// @{

Expand Down
3 changes: 3 additions & 0 deletions gtsam/geometry/Cal3Unified.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ class GTSAM_EXPORT Cal3Unified : public Cal3DS2_Base {
public:
enum { dimension = 10 };

///< shared pointer to stereo calibration object
using shared_ptr = boost::shared_ptr<Cal3Unified>;

/// @name Standard Constructors
/// @{

Expand Down