Skip to content

Commit 66f5703

Browse files
committed
More SmartProjectionFactor code out of headers
1 parent ed5378e commit 66f5703

File tree

6 files changed

+539
-347
lines changed

6 files changed

+539
-347
lines changed

gtsam/slam/SmartProjectionFactor.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,12 @@ namespace gtsam {
4242
*/
4343
template<class CAMERA>
4444
class SmartProjectionFactor: public SmartFactorBase<CAMERA> {
45-
46-
public:
47-
48-
private:
45+
private:
4946
typedef SmartFactorBase<CAMERA> Base;
5047
typedef SmartProjectionFactor<CAMERA> This;
5148
typedef SmartProjectionFactor<CAMERA> SmartProjectionCameraFactor;
5249

53-
protected:
54-
50+
protected:
5551
/// @name Parameters
5652
/// @{
5753
SmartProjectionParams params_;

gtsam/slam/SmartProjectionPoseFactor.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,10 @@ class SmartProjectionPoseFactor
4949
typedef SmartProjectionFactor<Camera> Base;
5050
typedef SmartProjectionPoseFactor<CALIBRATION> This;
5151

52-
protected:
53-
52+
protected:
5453
std::shared_ptr<CALIBRATION> K_; ///< calibration object (one for all cameras)
5554

56-
public:
57-
55+
public:
5856
/// shorthand for a smart pointer to a factor
5957
typedef std::shared_ptr<This> shared_ptr;
6058

0 commit comments

Comments
 (0)