|
Biorbd Release_1.13.0
|
Wrapper around Eigen Vector3d and attach it to a parent. More...
#include <Vector3d.h>
Public Member Functions | |
| Vector3d () | |
| Construct 3D vector. | |
| Vector3d (const Scalar &x, const Scalar &y, const Scalar &z) | |
| Construct 3D vector. | |
| Vector3d (const Scalar &x, const Scalar &y, const Scalar &z, const String &name, const String &parentName) | |
| Construct a 3D vector. | |
| Vector3d (const Vector3d vec, const String &name, const String &parentName) | |
| Construct a 3D vector. | |
| Vector3d (const RigidBodyDynamics::Math::Vector3d &other) | |
| Construct a 3D vector from a Casadi 3D vector (drop the trailling 1). | |
| Vector3d (const RigidBodyDynamics::Math::VectorNd &other) | |
| Construct a 3D vector from a Casadi ND vector (drop the trailling 1). | |
| Vector3d (const RigidBodyDynamics::Math::Vector4d &other) | |
| Construct a 3D vector from an eigen 4D vector (drop the trailling 1). | |
| Vector3d | DeepCopy () const |
| Deep copy of a 3D vector. | |
| void | DeepCopy (const Vector3d &other) |
| Deep copy of a 3D vector into another 3D vector. | |
| Vector3d | applyRT (const RotoTrans &rt) const |
| Apply a RotoTrans to the 3D vector. | |
| void | applyRT (const RotoTrans &rt) |
| Apply a RotoTrans to the 3D vector. | |
| void | setPosition (const Vector3d &v) |
| Set a new position. | |
| Public Member Functions inherited from BIORBD_NAMESPACE::utils::Node | |
| Node () | |
| Construct Node. | |
| Node (const Node &other) | |
| Construct Node from another node. | |
| Node (const String &name) | |
| Construct Node. | |
| Node (const String &name, const String &parentName) | |
| Construct Node. | |
| virtual | ~Node () |
| Destroy class properly. | |
| void | DeepCopy (const Node &other) |
| Deep copy of the node in another node. | |
| void | setName (const String &name) |
| Set the name of the node. | |
| const String & | name () const |
| Return the name of the node. | |
| const String & | parent () const |
| Return the parent name of the node. | |
| void | setParent (const String &name) |
| Set the parent name of the node. | |
| NODE_TYPE | typeOfNode () const |
| Return the type of node. | |
Protected Member Functions | |
| void | setType () |
| Set the type Vector3d. | |
Additional Inherited Members | |
| Protected Attributes inherited from BIORBD_NAMESPACE::utils::Node | |
| std::shared_ptr< String > | m_name |
| The name of the node. | |
| std::shared_ptr< String > | m_parentName |
| The parent name of the node. | |
| std::shared_ptr< NODE_TYPE > | m_typeOfNode |
| The type of the node. | |
Wrapper around Eigen Vector3d and attach it to a parent.
Definition at line 24 of file Vector3d.h.
| utils::Vector3d::Vector3d | ( | ) |
Construct 3D vector.
Definition at line 9 of file Vector3d.cpp.
| utils::Vector3d::Vector3d | ( | const Scalar & | x, |
| const Scalar & | y, | ||
| const Scalar & | z ) |
Construct 3D vector.
| x | X-Component of the vector |
| y | Y-Component of the vector |
| z | Z-Component of the vector |
Definition at line 16 of file Vector3d.cpp.
| utils::Vector3d::Vector3d | ( | const Scalar & | x, |
| const Scalar & | y, | ||
| const Scalar & | z, | ||
| const String & | name, | ||
| const String & | parentName ) |
Construct a 3D vector.
| x | X-Component of the vector |
| y | Y-Component of the vector |
| z | Z-Component of the vector |
| name | Name of the vector |
| parentName | Name of the parent segment |
Definition at line 24 of file Vector3d.cpp.
Construct a 3D vector.
| vec | The vector to copy |
| name | Name of the vector |
| parentName | Name of the parent segment |
Definition at line 35 of file Vector3d.cpp.
| utils::Vector3d::Vector3d | ( | const RigidBodyDynamics::Math::Vector3d & | other | ) |
Construct a 3D vector from a Casadi 3D vector (drop the trailling 1).
| other | The Casadi 3D vector |
Definition at line 41 of file Vector3d.cpp.
| utils::Vector3d::Vector3d | ( | const RigidBodyDynamics::Math::VectorNd & | other | ) |
Construct a 3D vector from a Casadi ND vector (drop the trailling 1).
| other | The Casadi ND vector |
Definition at line 47 of file Vector3d.cpp.
| utils::Vector3d::Vector3d | ( | const RigidBodyDynamics::Math::Vector4d & | other | ) |
Construct a 3D vector from an eigen 4D vector (drop the trailling 1).
| other | The Eigen 4D vector |
Definition at line 53 of file Vector3d.cpp.
| void utils::Vector3d::applyRT | ( | const RotoTrans & | rt | ) |
Apply a RotoTrans to the 3D vector.
| rt | RotoTrans to apply |
Definition at line 86 of file Vector3d.cpp.
| utils::Vector3d utils::Vector3d::applyRT | ( | const RotoTrans & | rt | ) | const |
Apply a RotoTrans to the 3D vector.
| rt | RotoTrans to apply |
Definition at line 79 of file Vector3d.cpp.
| utils::Vector3d utils::Vector3d::DeepCopy | ( | ) | const |
Deep copy of a 3D vector.
Definition at line 68 of file Vector3d.cpp.
| void utils::Vector3d::DeepCopy | ( | const Vector3d & | other | ) |
Deep copy of a 3D vector into another 3D vector.
| other | The 3D vector to copy |
Definition at line 74 of file Vector3d.cpp.
| void utils::Vector3d::setPosition | ( | const Vector3d & | v | ) |
|
protectedvirtual |
Set the type Vector3d.
Implements BIORBD_NAMESPACE::utils::Node.
Definition at line 103 of file Vector3d.cpp.