Biorbd
Release_1.13.0
Toggle main menu visibility
Loading...
Searching...
No Matches
BiorbdModel.h
1
#ifndef BIORBD_MODEL_H
2
#define BIORBD_MODEL_H
3
4
#include "biorbdConfig.h"
5
6
#include "RigidBody/Contacts.h"
7
#include "RigidBody/IMUs.h"
8
#include "RigidBody/Joints.h"
9
#include "RigidBody/Markers.h"
10
#include "RigidBody/RotoTransNodes.h"
11
#include "RigidBody/SoftContacts.h"
12
#include "Utils/Path.h"
13
#ifdef MODULE_ACTUATORS
14
#include "InternalForces/Actuators/Actuators.h"
15
#endif
16
#ifdef MODULE_MUSCLES
17
#include "InternalForces/Muscles/Muscles.h"
18
#endif
19
#ifdef MODULE_PASSIVE_TORQUES
20
#include "InternalForces/PassiveTorques/PassiveTorques.h"
21
#endif
22
#ifdef MODULE_LIGAMENTS
23
#include "InternalForces/Ligaments/Ligaments.h"
24
#endif
25
64
69
BIORBD_NAMESPACE::utils::String
getVersion();
70
71
namespace
BIORBD_NAMESPACE {
72
namespace
rigidbody {
73
class
ExternalForceSet
;
74
}
75
79
class
BIORBD_API
Model
:
public
rigidbody::Joints
,
80
public
rigidbody::Markers
,
81
public
rigidbody::IMUs
,
82
public
rigidbody::RotoTransNodes
,
83
public
rigidbody::Contacts
84
#ifdef MODULE_ACTUATORS
85
,
86
public
internal_forces::actuator::Actuators
87
#endif
88
#ifdef MODULE_MUSCLES
89
,
90
public
internal_forces::muscles::Muscles
91
#endif
92
#ifdef MODULE_PASSIVE_TORQUES
93
,
94
public
internal_forces::passive_torques::PassiveTorques
95
#endif
96
#ifdef MODULE_LIGAMENTS
97
,
98
public
internal_forces::ligaments::Ligaments
99
#endif
100
,
101
public
rigidbody::SoftContacts
{
102
public
:
106
Model
();
107
112
Model
(
const
utils::Path
&
path
);
113
120
rigidbody::ExternalForceSet
externalForceSet
(
121
bool
useLinearForces =
true
,
122
bool
useSoftContacts =
true
);
123
124
private
:
125
std::shared_ptr<utils::Path> m_path;
126
127
public
:
133
utils::Path
path
()
const
;
134
};
135
136
}
// namespace BIORBD_NAMESPACE
137
138
#endif
// BIORBD_MODEL_H
BIORBD_NAMESPACE::Model::externalForceSet
rigidbody::ExternalForceSet externalForceSet(bool useLinearForces=true, bool useSoftContacts=true)
Get an external forces set designed for the current model.
Definition
BiorbdModel.cpp:27
BIORBD_NAMESPACE::Model::path
utils::Path path() const
Returns the path of .bioMod file used to load the model. If no file was used, it remains empty.
Definition
BiorbdModel.cpp:25
BIORBD_NAMESPACE::Model::Model
Model()
Construct an empty model that can be manually filled.
Definition
BiorbdModel.cpp:18
BIORBD_NAMESPACE::internal_forces::actuator::Actuators
Class holder for a set of actuators.
Definition
Actuators.h:28
BIORBD_NAMESPACE::internal_forces::ligaments::Ligaments
Ligament holder.
Definition
Ligaments.h:31
BIORBD_NAMESPACE::internal_forces::muscles::Muscles
Muscle group holder.
Definition
Muscles.h:34
BIORBD_NAMESPACE::internal_forces::passive_torques::PassiveTorques
Class holder for a set of passive torques.
Definition
PassiveTorques.h:28
BIORBD_NAMESPACE::rigidbody::Contacts
Class Contacts.
Definition
Contacts.h:38
BIORBD_NAMESPACE::rigidbody::ExternalForceSet
An External force set that can apply forces to the model while computing the dynamics.
Definition
ExternalForceSet.h:31
BIORBD_NAMESPACE::rigidbody::IMUs
Hold a set of IMUs.
Definition
IMUs.h:22
BIORBD_NAMESPACE::rigidbody::Joints
This is the core of the musculoskeletal model in biorbd.
Definition
Joints.h:48
BIORBD_NAMESPACE::rigidbody::Markers
Holder for the marker set.
Definition
Markers.h:26
BIORBD_NAMESPACE::rigidbody::RotoTransNodes
Hold a set of RotoTransNodes.
Definition
RotoTransNodes.h:22
BIORBD_NAMESPACE::rigidbody::SoftContacts
Holder for the biorbd contact set.
Definition
SoftContacts.h:25
BIORBD_NAMESPACE::utils::Path
Collection of methods to manipulate path.
Definition
Path.h:16
BIORBD_NAMESPACE::utils::String
Wrapper around the std::string class with augmented functionality.
Definition
String.h:18
include
BiorbdModel.h
Generated by
1.18.0