Biorbd Release_1.13.0
Loading...
Searching...
No Matches
BIORBD_NAMESPACE::utils::SpatialTransform Class Reference

Wrapper of the SpatialTransform (rotation and translation). More...

#include <SpatialTransform.h>

Inheritance diagram for BIORBD_NAMESPACE::utils::SpatialTransform:

Public Member Functions

 SpatialTransform ()
 Construct SpatialTransform.
 SpatialTransform (const SpatialTransform &other)
 Construct SpatialTransform from other SpatialTransform.
 SpatialTransform (const Matrix3d &rotation, const Vector3d &translation)
 Construct SpatialTransform from rotation and translation.
 SpatialTransform (const RotoTrans &rototrans)
 Construct SpatialTransform from a rototranslation matrix.
 SpatialTransform (const RigidBodyDynamics::Math::SpatialTransform &other)
 Construct SpatialTransform from other SpatialTransform.
void operator= (const SpatialTransform &other)
 operator= For submatrices
utils::RotoTrans rototrans () const
 Return the transformation matrix, i.e. the rototrans matrix.
utils::Matrix3d rotation () const
 Return the rotation part of the transform.
utils::Vector3d translation () const
 Return the translation part of the transform.

Detailed Description

Wrapper of the SpatialTransform (rotation and translation).

Definition at line 21 of file SpatialTransform.h.

Constructor & Destructor Documentation

◆ SpatialTransform() [1/5]

utils::SpatialTransform::SpatialTransform ( )

Construct SpatialTransform.

Definition at line 12 of file SpatialTransform.cpp.

◆ SpatialTransform() [2/5]

utils::SpatialTransform::SpatialTransform ( const SpatialTransform & other)

Construct SpatialTransform from other SpatialTransform.

Parameters
otherThe SpatialTransform to copy

Definition at line 15 of file SpatialTransform.cpp.

◆ SpatialTransform() [3/5]

utils::SpatialTransform::SpatialTransform ( const Matrix3d & rotation,
const Vector3d & translation )

Construct SpatialTransform from rotation and translation.

Parameters
translationThe translation part of the transformation
rotationThe rotation part of the transformation

Definition at line 18 of file SpatialTransform.cpp.

◆ SpatialTransform() [4/5]

utils::SpatialTransform::SpatialTransform ( const RotoTrans & rototrans)

Construct SpatialTransform from a rototranslation matrix.

Parameters
rototransThe transformation matrix to construct from

Definition at line 23 of file SpatialTransform.cpp.

◆ SpatialTransform() [5/5]

utils::SpatialTransform::SpatialTransform ( const RigidBodyDynamics::Math::SpatialTransform & other)

Construct SpatialTransform from other SpatialTransform.

Parameters
otherThe SpatialTransform to copy

Definition at line 28 of file SpatialTransform.cpp.

Member Function Documentation

◆ operator=()

void utils::SpatialTransform::operator= ( const SpatialTransform & other)

operator= For submatrices

Parameters
otherThe SpatialTransform to copy

Definition at line 32 of file SpatialTransform.cpp.

◆ rotation()

utils::Matrix3d utils::SpatialTransform::rotation ( ) const

Return the rotation part of the transform.

Returns
The rotation matrix

Definition at line 40 of file SpatialTransform.cpp.

◆ rototrans()

utils::RotoTrans utils::SpatialTransform::rototrans ( ) const

Return the transformation matrix, i.e. the rototrans matrix.

Returns
The rototrans matrix

Definition at line 36 of file SpatialTransform.cpp.

◆ translation()

utils::Vector3d utils::SpatialTransform::translation ( ) const

Return the translation part of the transform.

Returns
The translation vector

Definition at line 44 of file SpatialTransform.cpp.


The documentation for this class was generated from the following files: