Class describing a rigid Displacement or a 3D Frame position. More...
#include <Displacement.h>
Public Types | |
typedef internal::traits < Displacement >::Coefficients | Coefficients |
typedef _Scalar | Scalar |
Public Member Functions | |
Displacement () | |
Displacement (const Displacement &other) | |
template<typename Derived > | |
Displacement (const DisplacementBase< Derived > &other) | |
Displacement (const Array< Scalar, 7, 1 > &g) | |
template<typename Derived > | |
Displacement (const MatrixBase< Derived > &other) | |
EIGEN_STRONG_INLINE | Displacement (Scalar x, Scalar y, Scalar z, Scalar qw=(Scalar) 1.0, Scalar qx=(Scalar) 0.0, Scalar qy=(Scalar) 0.0, Scalar qz=(Scalar) 0.0) |
EIGEN_STRONG_INLINE | Displacement (const typename Base::Vector3 &v, const typename Base::Rotation3D &r) |
Coefficients & | get () |
const Coefficients & | get () const |
Protected Types | |
typedef DisplacementBase < Displacement< Scalar > > | Base |
Protected Attributes | |
Coefficients | m_coeffs |
Class describing a rigid Displacement or a 3D Frame position.
_Scalar | the type of the underlying array |
This class add some specific constructors
Definition at line 159 of file Displacement.h.
typedef DisplacementBase<Displacement<Scalar> > Displacement< _Scalar >::Base [protected] |
The inherited class
Reimplemented from DisplacementBase< Displacement< _Scalar > >.
Definition at line 165 of file Displacement.h.
typedef internal::traits<Displacement>::Coefficients Displacement< _Scalar >::Coefficients |
the stored coefficients
Reimplemented from LieGroupBase< Array< internal::traits< Displacement< _Scalar > >::Scalar, 7, 1 >, Displacement< _Scalar > >.
Definition at line 168 of file Displacement.h.
typedef _Scalar Displacement< _Scalar >::Scalar |
The coefficients type
Reimplemented from DisplacementBase< Displacement< _Scalar > >.
Definition at line 162 of file Displacement.h.
Displacement< _Scalar >::Displacement | ( | ) | [inline] |
Default constructor
Definition at line 173 of file Displacement.h.
Displacement< _Scalar >::Displacement | ( | const Displacement< _Scalar > & | other | ) | [inline] |
Copy constructor
Definition at line 175 of file Displacement.h.
Displacement< _Scalar >::Displacement | ( | const DisplacementBase< Derived > & | other | ) | [inline] |
Pseudo-copy constructor
Definition at line 179 of file Displacement.h.
Displacement< _Scalar >::Displacement | ( | const Array< Scalar, 7, 1 > & | g | ) | [inline] |
Copy constructor using the wrapped class
Definition at line 181 of file Displacement.h.
Displacement< _Scalar >::Displacement | ( | const MatrixBase< Derived > & | other | ) | [inline, explicit] |
Definition at line 183 of file Displacement.h.
EIGEN_STRONG_INLINE Displacement< _Scalar >::Displacement | ( | Scalar | x, |
Scalar | y, | ||
Scalar | z, | ||
Scalar | qw = (Scalar)1.0 , |
||
Scalar | qx = (Scalar)0.0 , |
||
Scalar | qy = (Scalar)0.0 , |
||
Scalar | qz = (Scalar)0.0 |
||
) | [inline] |
Constructs and initializes the displacement with first then
qw
(scalar part) while internally the coefficients are stored in the following order: [qx
, qy
, qz
, qw
x
y
z
] Definition at line 190 of file Displacement.h.
EIGEN_STRONG_INLINE Displacement< _Scalar >::Displacement | ( | const typename Base::Vector3 & | v, |
const typename Base::Rotation3D & | r | ||
) | [inline] |
Constructs a element of SE(3) from an element of SO(3) r
and R^3 v
Definition at line 203 of file Displacement.h.
Coefficients& Displacement< _Scalar >::get | ( | ) | [inline] |
Reimplemented from LieGroupBase< Array< internal::traits< Displacement< _Scalar > >::Scalar, 7, 1 >, Displacement< _Scalar > >.
Definition at line 209 of file Displacement.h.
const Coefficients& Displacement< _Scalar >::get | ( | ) | const [inline] |
Reimplemented from LieGroupBase< Array< internal::traits< Displacement< _Scalar > >::Scalar, 7, 1 >, Displacement< _Scalar > >.
Definition at line 211 of file Displacement.h.
Coefficients Displacement< _Scalar >::m_coeffs [protected] |
The wrapped coefficients
Definition at line 215 of file Displacement.h.