14 #include <gtsam_unstable/dllexport.h> 27 static const size_t dimension = 4;
55 void print(
const std::string&
s =
"")
const;
64 double x()
const {
return T_.
x(); }
65 double y()
const {
return T_.
y(); }
66 double z()
const {
return z_; }
69 Point2 translation2()
const;
70 Point3 translation()
const;
71 Rot2 rotation2()
const;
81 inline static size_t Dim() {
return dimension; }
84 inline size_t dim()
const {
return dimension; }
105 boost::optional<Matrix&> H1=boost::none,
106 boost::optional<Matrix&> H2=boost::none)
const;
116 boost::optional<Matrix&> H1=boost::none,
117 boost::optional<Matrix&> H2=boost::none)
const;
134 friend class boost::serialization::access;
135 template<
class Archive>
137 ar & BOOST_SERIALIZATION_NVP(T_);
138 ar & BOOST_SERIALIZATION_NVP(z_);
void print(const Matrix &A, const string &s, ostream &stream)
Both ManifoldTraits and Testable.
size_t dim() const
Dimensionality of tangent space = 4 DOF.
Rot3_ rotation(const Pose3_ &pose)
Pose3Upright()
Default constructor initializes at origin.
Pose2_ Expmap(const Vector3_ &xi)
double theta() const
get theta
static const Pose3 pose(Rot3(Vector3(1,-1,-1).asDiagonal()), Point3(0, 0, 0.5))
void serialize(Archive &ar, const unsigned int)
Pose3Upright operator*(const Pose3Upright &T) const
compose syntactic sugar
Array< double, 1, 3 > e(1./3., 0.5, 2.)
static Pose3Upright identity()
identity for group operation
static size_t Dim()
Dimensionality of tangent space = 4 DOF - used to autodetect sizes.
Pose3Upright(const Pose3Upright &x)
Copy constructor.
Expression< T > compose(const Expression< T > &t1, const Expression< T > &t2)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Expression< T > between(const Expression< T > &t1, const Expression< T > &t2)
EIGEN_DEVICE_FUNC const InverseReturnType inverse() const