Biorbd
Release_1.13.0
Toggle main menu visibility
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
9
namespace
BIORBD_NAMESPACE {
10
namespace
utils {
11
class
Vector3d
;
12
class
Matrix3d
;
13
class
RotoTrans
;
14
18
#ifdef SWIG
19
class
BIORBD_API
SpatialTransform
20
#else
21
class BIORBD_API
SpatialTransform
22
:
public
RigidBodyDynamics::Math::SpatialTransform
23
#endif
24
{
25
public
:
29
SpatialTransform
();
30
35
SpatialTransform
(
const
SpatialTransform
& other);
36
42
SpatialTransform
(
const
Matrix3d
&
rotation
,
const
Vector3d
&
translation
);
43
48
SpatialTransform
(
const
RotoTrans
&
rototrans
);
49
50
#ifndef SWIG
55
SpatialTransform
(
const
RigidBodyDynamics::Math::SpatialTransform& other);
56
61
void
operator=
(
const
SpatialTransform
& other);
62
#endif
63
68
utils::RotoTrans
rototrans
()
const
;
69
74
utils::Matrix3d
rotation
()
const
;
75
80
utils::Vector3d
translation
()
const
;
81
};
82
83
}
// namespace utils
84
}
// namespace BIORBD_NAMESPACE
85
86
#endif
// BIORBD_UTILS_SPATIAL_TRANSFORM_H
BIORBD_NAMESPACE::utils::Matrix3d
A wrapper for the Eigen::MatrixXd.
Definition
Matrix3d.h:21
BIORBD_NAMESPACE::utils::RotoTrans
Homogenous matrix to describe translations and rotations simultaneously.
Definition
RotoTrans.h:33
BIORBD_NAMESPACE::utils::SpatialTransform
Wrapper of the SpatialTransform (rotation and translation).
Definition
SpatialTransform.h:24
BIORBD_NAMESPACE::utils::SpatialTransform::rotation
utils::Matrix3d rotation() const
Return the rotation part of the transform.
Definition
SpatialTransform.cpp:40
BIORBD_NAMESPACE::utils::SpatialTransform::operator=
void operator=(const SpatialTransform &other)
operator= For submatrices
Definition
SpatialTransform.cpp:32
BIORBD_NAMESPACE::utils::SpatialTransform::rototrans
utils::RotoTrans rototrans() const
Return the transformation matrix, i.e. the rototrans matrix.
Definition
SpatialTransform.cpp:36
BIORBD_NAMESPACE::utils::SpatialTransform::SpatialTransform
SpatialTransform()
Construct SpatialTransform.
Definition
SpatialTransform.cpp:12
BIORBD_NAMESPACE::utils::SpatialTransform::translation
utils::Vector3d translation() const
Return the translation part of the transform.
Definition
SpatialTransform.cpp:44
BIORBD_NAMESPACE::utils::Vector3d
Wrapper around Eigen Vector3d and attach it to a parent.
Definition
Vector3d.h:27
include
Utils
SpatialTransform.h
Generated by
1.18.0