|
Biorbd
|
Holder of all the path modifiers of a muscle. More...
#include <PathModifiers.h>
Public Member Functions | |
| PathModifiers () | |
| Construct path changers. More... | |
| biorbd::muscles::PathModifiers | DeepCopy () const |
| Deep copy of path changers. More... | |
| void | DeepCopy (const biorbd::muscles::PathModifiers &other) |
| Deep copy of path changers from another path changers. More... | |
| void | addPathChanger (biorbd::utils::Vector3d &object) |
| Add a wrapping or a via point to the set of path modifiers. More... | |
| unsigned int | nbWraps () const |
| Return the total number of wrapping objects in the set. More... | |
| unsigned int | nbVia () const |
| Return the total number of via points in the set. More... | |
| unsigned int | nbObjects () const |
| Return the total number of path modifier objects in the set. More... | |
| biorbd::utils::Vector3d & | object (unsigned int idx) |
| Return the object at a specific index in the set. More... | |
| const biorbd::utils::Vector3d & | object (unsigned int idx) const |
| Return the object at a specific index in the set. More... | |
Protected Attributes | |
| std::shared_ptr< std::vector< biorbd::utils::Vector3d > > | m_obj |
| set of objects | |
| std::shared_ptr< unsigned int > | m_nbWraps |
| Number of wrapping object in the set. | |
| std::shared_ptr< unsigned int > | m_nbVia |
| Number of via points in the set. | |
| std::shared_ptr< unsigned int > | m_totalObjects |
| Number of total objects in the set. | |
Holder of all the path modifiers of a muscle.
Definition at line 17 of file PathModifiers.h.
| biorbd::muscles::PathModifiers::PathModifiers | ( | ) |
Construct path changers.
Definition at line 10 of file PathModifiers.cpp.
| void biorbd::muscles::PathModifiers::addPathChanger | ( | biorbd::utils::Vector3d & | object | ) |
Add a wrapping or a via point to the set of path modifiers.
| object | The wrapping or via point to add |
Definition at line 37 of file PathModifiers.cpp.
| biorbd::muscles::PathModifiers biorbd::muscles::PathModifiers::DeepCopy | ( | ) | const |
Deep copy of path changers.
Definition at line 19 of file PathModifiers.cpp.
| void biorbd::muscles::PathModifiers::DeepCopy | ( | const biorbd::muscles::PathModifiers & | other | ) |
Deep copy of path changers from another path changers.
| other | THe path changers to copy |
Definition at line 26 of file PathModifiers.cpp.
| unsigned int biorbd::muscles::PathModifiers::nbObjects | ( | ) | const |
Return the total number of path modifier objects in the set.
Definition at line 70 of file PathModifiers.cpp.
| unsigned int biorbd::muscles::PathModifiers::nbVia | ( | ) | const |
Return the total number of via points in the set.
Definition at line 65 of file PathModifiers.cpp.
| unsigned int biorbd::muscles::PathModifiers::nbWraps | ( | ) | const |
Return the total number of wrapping objects in the set.
Definition at line 61 of file PathModifiers.cpp.
| biorbd::utils::Vector3d & biorbd::muscles::PathModifiers::object | ( | unsigned int | idx | ) |
Return the object at a specific index in the set.
| idx | Index of the object |
Definition at line 75 of file PathModifiers.cpp.
| const biorbd::utils::Vector3d & biorbd::muscles::PathModifiers::object | ( | unsigned int | idx | ) | const |
Return the object at a specific index in the set.
| idx | Index of the object |
Definition at line 82 of file PathModifiers.cpp.
1.8.18