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 Types inherited from DisplacementBase< Displacement< _Scalar > > | |
typedef Base::BaseType | BaseType |
typedef Base::PlainObject | PlainObject |
typedef LieGroup< Quaternion< Scalar > > | Rotation3D |
typedef internal::traits< Displacement< _Scalar > >::Scalar | Scalar |
typedef Matrix< Scalar, 3, 1 > | Vector3 |
Public Types inherited from LieGroupBase< Array< internal::traits< Displacement< _Scalar > >::Scalar, 7, 1 >, Displacement< _Scalar > > | |
typedef Displacement< _Scalar >::AdjointMatrix | AdjointMatrix |
typedef Displacement< _Scalar >::Algebra | Algebra |
typedef Array< internal::traits< Displacement< _Scalar > >::Scalar, 7, 1 > | BaseType |
typedef Displacement< _Scalar >::CoAlgebra | CoAlgebra |
typedef Displacement< _Scalar >::Coefficients | Coefficients |
typedef internal::traits< Displacement< _Scalar > >::PlainObject | PlainObject |
typedef internal::traits< Displacement< _Scalar > >::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 |
Public Member Functions inherited from DisplacementBase< Displacement< _Scalar > > | |
internal::cast_return_type< Displacement< _Scalar >, Displacement< NewScalarType > >::type | cast () const |
Map< Rotation3D > | getRotation () |
const Map< const Rotation3D > | getRotation () const |
Map< Vector3 > | getTranslation () |
const Map< const Vector3 > | getTranslation () const |
EIGEN_STRONG_INLINE DisplacementBase & | operator= (const typename Base::PlainObject &g) |
Scalar | qw () const |
Scalar & | qw () |
Scalar | qx () const |
Scalar & | qx () |
Scalar | qy () const |
Scalar & | qy () |
Scalar | qz () const |
Scalar & | qz () |
void | setRandom () |
Matrix< Scalar, 4, 4 > | toHomogeneousMatrix () const |
Scalar | x () const |
Scalar & | x () |
Scalar | y () const |
Scalar & | y () |
Scalar | z () const |
Scalar & | z () |
Public Member Functions inherited from LieGroupBase< Array< internal::traits< Displacement< _Scalar > >::Scalar, 7, 1 >, Displacement< _Scalar > > | |
AdjointMatrix | adjoint (void) const |
Algebra | adjoint (const Algebra &) const |
CoAlgebra | adjointTr (const CoAlgebra &) const |
const Displacement< _Scalar > & | derived () const |
Displacement< _Scalar > & | derived () |
Coefficients & | get () |
const Coefficients & | get () const |
PlainObject | inverse () const |
Algebra | log (const Scalar precision=1e-6) const |
PlainObject | operator* (const LieGroupBase< Array< internal::traits< Displacement< _Scalar > >::Scalar, 7, 1 >, OtherDerived > &other) const |
LieGroupBase & | operator= (const LieGroupBase< Array< internal::traits< Displacement< _Scalar > >::Scalar, 7, 1 >, OtherDerived > &) |
Protected Types | |
typedef DisplacementBase< Displacement< Scalar > > | Base |
Protected Types inherited from DisplacementBase< Displacement< _Scalar > > | |
typedef LieGroupBase< Array< Scalar, 7, 1 >, Displacement< _Scalar > > | Base |
Protected Attributes | |
Coefficients | m_coeffs |
Additional Inherited Members | |
Static Public Member Functions inherited from LieGroupBase< Array< internal::traits< Displacement< _Scalar > >::Scalar, 7, 1 >, Displacement< _Scalar > > | |
static PlainObject | Identity () |
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.
|
protected |
The inherited class
Definition at line 165 of file Displacement.h.
typedef internal::traits<Displacement>::Coefficients Displacement< _Scalar >::Coefficients |
the stored coefficients
Definition at line 168 of file Displacement.h.
typedef _Scalar Displacement< _Scalar >::Scalar |
The coefficients type
Definition at line 162 of file Displacement.h.
|
inline |
Default constructor
Definition at line 173 of file Displacement.h.
|
inline |
Copy constructor
Definition at line 175 of file Displacement.h.
|
inline |
Pseudo-copy constructor
Definition at line 179 of file Displacement.h.
|
inline |
Copy constructor using the wrapped class
Definition at line 181 of file Displacement.h.
|
inlineexplicit |
Definition at line 183 of file Displacement.h.
|
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.
|
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.
|
inline |
Definition at line 209 of file Displacement.h.
|
inline |
Definition at line 211 of file Displacement.h.
|
protected |
The wrapped coefficients
Definition at line 215 of file Displacement.h.