|
Biorbd Release_1.13.0
|
Hold a set of RotoTransNodes. More...
#include <RotoTransNodes.h>
Public Member Functions | |
| RotoTransNodes () | |
| Construct RT set. | |
| RotoTransNodes (const RotoTransNodes &other) | |
| Construct RTs set from another set. | |
| virtual | ~RotoTransNodes () |
| Destroy the class properly. | |
| RotoTransNodes | DeepCopy () const |
| Deep copy of the RTs data. | |
| void | DeepCopy (const RotoTransNodes &other) |
| Deep copy the RTs data. | |
| void | addRT () |
| Add a new RT to the set. | |
| virtual void | addRT (const utils::RotoTransNode &RotoTrans) |
| Add a new RT to the set. | |
| size_t | nbRTs () const |
| Return the number of RTs in the set. | |
| size_t | size () const |
| Return the number of RTs in the set. | |
| std::vector< utils::String > | RTsNames () |
| Return the names of the RTs. | |
| const std::vector< utils::RotoTransNode > & | RTs () const |
| Return all the RTs in the local reference of the segment. | |
| std::vector< utils::RotoTransNode > | RTs (const utils::String &segmentName) |
| Return all the RTs of a segment. | |
| const utils::RotoTransNode & | RT (size_t idx) |
| Return the RTs of a specified index. | |
| std::vector< utils::RotoTransNode > | RTs (const GeneralizedCoordinates &Q, bool updateKin=true) |
| Compute and return all the RTs at the position given by Q. | |
| utils::RotoTransNode | RT (const GeneralizedCoordinates &Q, size_t idx, bool updateKin=true) |
| Compute and return the RT of index idx at the position given by Q. | |
| std::vector< utils::RotoTransNode > | segmentRTs (const GeneralizedCoordinates &Q, size_t idx, bool updateKin=true) |
| Return all the RTs on a specified segment. | |
| std::vector< utils::Matrix > | RTsJacobian (const GeneralizedCoordinates &Q, bool updateKin=true) |
| Return the jacobian of the RTs. | |
| virtual void | clear () |
| Return to an internal state similar to initial declaration. | |
Protected Attributes | |
| std::shared_ptr< std::vector< utils::RotoTransNode > > | m_RTs |
| All the RTs. | |
Hold a set of RotoTransNodes.
Definition at line 22 of file RotoTransNodes.h.
| rigidbody::RotoTransNodes::RotoTransNodes | ( | ) |
Construct RT set.
Definition at line 18 of file RotoTransNodes.cpp.
| rigidbody::RotoTransNodes::RotoTransNodes | ( | const RotoTransNodes & | other | ) |
Construct RTs set from another set.
| other | The other RTs set |
Definition at line 23 of file RotoTransNodes.cpp.
|
virtual |
Destroy the class properly.
Definition at line 28 of file RotoTransNodes.cpp.
| void rigidbody::RotoTransNodes::addRT | ( | ) |
Add a new RT to the set.
Definition at line 44 of file RotoTransNodes.cpp.
|
virtual |
Add a new RT to the set.
| RotoTrans | The RotaTrans of the RT |
Definition at line 49 of file RotoTransNodes.cpp.
|
virtual |
Return to an internal state similar to initial declaration.
Definition at line 159 of file RotoTransNodes.cpp.
| rigidbody::RotoTransNodes rigidbody::RotoTransNodes::DeepCopy | ( | ) | const |
Deep copy of the RTs data.
Definition at line 30 of file RotoTransNodes.cpp.
| void rigidbody::RotoTransNodes::DeepCopy | ( | const RotoTransNodes & | other | ) |
Deep copy the RTs data.
| other | The RT data to copy |
Definition at line 36 of file RotoTransNodes.cpp.
| size_t rigidbody::RotoTransNodes::nbRTs | ( | ) | const |
Return the number of RTs in the set.
Definition at line 53 of file RotoTransNodes.cpp.
| utils::RotoTransNode rigidbody::RotoTransNodes::RT | ( | const GeneralizedCoordinates & | Q, |
| size_t | idx, | ||
| bool | updateKin = true ) |
Compute and return the RT of index idx at the position given by Q.
| Q | The generalized coordinates |
| idx | The index of the RT in the set |
| updateKin | If the model should be updated |
Definition at line 92 of file RotoTransNodes.cpp.
| const utils::RotoTransNode & rigidbody::RotoTransNodes::RT | ( | size_t | idx | ) |
Return the RTs of a specified index.
| idx | The index of the RT in the set |
Definition at line 74 of file RotoTransNodes.cpp.
| const std::vector< utils::RotoTransNode > & rigidbody::RotoTransNodes::RTs | ( | ) | const |
Return all the RTs in the local reference of the segment.
Definition at line 58 of file RotoTransNodes.cpp.
| std::vector< utils::RotoTransNode > rigidbody::RotoTransNodes::RTs | ( | const GeneralizedCoordinates & | Q, |
| bool | updateKin = true ) |
Compute and return all the RTs at the position given by Q.
| Q | The generalized coordinates |
| updateKin | If the model should be updated |
Definition at line 79 of file RotoTransNodes.cpp.
| std::vector< utils::RotoTransNode > rigidbody::RotoTransNodes::RTs | ( | const utils::String & | segmentName | ) |
Return all the RTs of a segment.
| segmentName | The name of the segment to return the RTs |
Definition at line 63 of file RotoTransNodes.cpp.
| std::vector< utils::Matrix > rigidbody::RotoTransNodes::RTsJacobian | ( | const GeneralizedCoordinates & | Q, |
| bool | updateKin = true ) |
Return the jacobian of the RTs.
| Q | The generalized coordinates |
| updateKin | If the model should be updated |
Definition at line 125 of file RotoTransNodes.cpp.
| std::vector< utils::String > rigidbody::RotoTransNodes::RTsNames | ( | ) |
Return the names of the RTs.
Definition at line 150 of file RotoTransNodes.cpp.
| std::vector< utils::RotoTransNode > rigidbody::RotoTransNodes::segmentRTs | ( | const GeneralizedCoordinates & | Q, |
| size_t | idx, | ||
| bool | updateKin = true ) |
Return all the RTs on a specified segment.
| Q | The generalized coordinates |
| idx | The index of the segment |
| updateKin | If the model should be updated |
Definition at line 103 of file RotoTransNodes.cpp.
| size_t rigidbody::RotoTransNodes::size | ( | ) | const |
Return the number of RTs in the set.
Definition at line 55 of file RotoTransNodes.cpp.
|
protected |
All the RTs.
Definition at line 148 of file RotoTransNodes.h.