reverting SfmTrack to struct

release/4.3a0
Ayush Baid 2021-01-04 00:07:20 +05:30
parent e0cda60b9b
commit 2e8692105a
1 changed files with 78 additions and 79 deletions

View File

@ -217,8 +217,7 @@ typedef std::pair<size_t, Point2> SfmMeasurement;
typedef std::pair<size_t, size_t> SiftIndex; typedef std::pair<size_t, size_t> SiftIndex;
/// Define the structure for the 3D points /// Define the structure for the 3D points
class GTSAM_EXPORT SfmTrack { struct SfmTrack {
public:
SfmTrack(): p(0,0,0) {} SfmTrack(): p(0,0,0) {}
SfmTrack(const gtsam::Point3& pt) : p(pt) {} SfmTrack(const gtsam::Point3& pt) : p(pt) {}
Point3 p; ///< 3D position of the point Point3 p; ///< 3D position of the point