Biorbd Release_1.13.0
Loading...
Searching...
No Matches
SpatialTransform.h
1#ifndef BIORBD_UTILS_SPATIAL_TRANSFORM_H
2#define BIORBD_UTILS_SPATIAL_TRANSFORM_H
3
4#include "biorbdConfig.h"
5
6#include "Utils/Scalar.h"
7#include "rbdl/rbdl_math.h"
8
9namespace BIORBD_NAMESPACE {
10namespace utils {
11class Vector3d;
12class Matrix3d;
13class RotoTrans;
14
18#ifdef SWIG
19class BIORBD_API SpatialTransform
20#else
21class BIORBD_API SpatialTransform
22 : public RigidBodyDynamics::Math::SpatialTransform
23#endif
24{
25 public:
30
36
43
49
50#ifndef SWIG
55 SpatialTransform(const RigidBodyDynamics::Math::SpatialTransform& other);
56
61 void operator=(const SpatialTransform& other);
62#endif
63
69
75
81};
82
83} // namespace utils
84} // namespace BIORBD_NAMESPACE
85
86#endif // BIORBD_UTILS_SPATIAL_TRANSFORM_H
A wrapper for the Eigen::MatrixXd.
Definition Matrix3d.h:21
Homogenous matrix to describe translations and rotations simultaneously.
Definition RotoTrans.h:33
Wrapper of the SpatialTransform (rotation and translation).
utils::Matrix3d rotation() const
Return the rotation part of the transform.
void operator=(const SpatialTransform &other)
operator= For submatrices
utils::RotoTrans rototrans() const
Return the transformation matrix, i.e. the rototrans matrix.
SpatialTransform()
Construct SpatialTransform.
utils::Vector3d translation() const
Return the translation part of the transform.
Wrapper around Eigen Vector3d and attach it to a parent.
Definition Vector3d.h:27