add basic Python interface to .i file
parent
6b7b31a912
commit
e48704d785
|
|
@ -890,6 +890,28 @@ class PinholeCamera {
|
||||||
// enable pickling in python
|
// enable pickling in python
|
||||||
void pickle() const;
|
void pickle() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#include <gtsam/geometry/Similarity2.h>
|
||||||
|
class Similarity2 {
|
||||||
|
// Standard Constructors
|
||||||
|
Similarity2();
|
||||||
|
Similarity2(double s);
|
||||||
|
Similarity2(const gtsam::Rot2& R, const gtsam::Point2& t, double s);
|
||||||
|
Similarity2(const Matrix& R, const Vector& t, double s);
|
||||||
|
Similarity2(const Matrix& T);
|
||||||
|
|
||||||
|
gtsam::Point2 transformFrom(const gtsam::Point2& p) const;
|
||||||
|
gtsam::Pose2 transformFrom(const gtsam::Pose2& T);
|
||||||
|
|
||||||
|
static gtsam::Similarity2 Align(const gtsam::Point2Pairs& abPointPairs);
|
||||||
|
static gtsam::Similarity2 Align(const gtsam::Pose2Pairs& abPosePairs);
|
||||||
|
|
||||||
|
// Standard Interface
|
||||||
|
const Matrix matrix() const;
|
||||||
|
const gtsam::Rot2& rotation();
|
||||||
|
const gtsam::Point2& translation();
|
||||||
|
double scale() const;
|
||||||
|
};
|
||||||
|
|
||||||
#include <gtsam/geometry/Similarity3.h>
|
#include <gtsam/geometry/Similarity3.h>
|
||||||
class Similarity3 {
|
class Similarity3 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue