#include <dynamics3d_single_body_object_model.h>
Public Member Functions | |
CBody (CDynamics3DModel &c_model, SAnchor *ps_anchor, const std::shared_ptr< btCollisionShape > &ptr_shape, const SData &s_data) | |
virtual | ~CBody () |
virtual void | Reset () |
virtual void | AddToWorld (btMultiBodyDynamicsWorld &c_world) |
virtual void | RemoveFromWorld (btMultiBodyDynamicsWorld &c_world) |
virtual void | ApplyForce (const btVector3 &c_force) |
virtual void | ApplyForce (const btVector3 &c_force, const btVector3 &c_offset) |
virtual void | ApplyTorque (const btVector3 &c_torque) |
virtual btTransform & | GetTransform () |
Public Member Functions inherited from argos::CDynamics3DModel::CAbstractBody | |
CAbstractBody (CDynamics3DModel &c_model, SAnchor *ps_anchor, const std::shared_ptr< btCollisionShape > &ptr_shape, const SData &s_data) | |
virtual | ~CAbstractBody () |
CDynamics3DModel & | GetModel () |
SAnchor & | GetAnchor () |
btCollisionShape & | GetShape () |
const SData & | GetData () const |
void | UpdateAnchor () |
Protected Attributes | |
btRigidBody | m_cRigidBody |
Protected Attributes inherited from argos::CDynamics3DModel::CAbstractBody | |
CDynamics3DModel & | m_cModel |
SAnchor * | m_psAnchor |
std::shared_ptr< btCollisionShape > | m_ptrShape |
SData | m_sData |
Additional Inherited Members | |
Public Types inherited from argos::CDynamics3DModel::CAbstractBody | |
using | TVector = std::vector< std::shared_ptr< CAbstractBody > > |
using | TVectorIterator = std::vector< std::shared_ptr< CAbstractBody > >::iterator |
Definition at line 38 of file dynamics3d_single_body_object_model.h.
argos::CDynamics3DSingleBodyObjectModel::CBody::CBody | ( | CDynamics3DModel & | c_model, |
SAnchor * | ps_anchor, | ||
const std::shared_ptr< btCollisionShape > & | ptr_shape, | ||
const SData & | s_data | ||
) |
Definition at line 100 of file dynamics3d_single_body_object_model.cpp.
|
inlinevirtual |
Definition at line 47 of file dynamics3d_single_body_object_model.h.
|
virtual |
Implements argos::CDynamics3DModel::CAbstractBody.
Definition at line 110 of file dynamics3d_single_body_object_model.cpp.
|
virtual |
Implements argos::CDynamics3DModel::CAbstractBody.
Definition at line 124 of file dynamics3d_single_body_object_model.cpp.
|
virtual |
Implements argos::CDynamics3DModel::CAbstractBody.
Definition at line 131 of file dynamics3d_single_body_object_model.cpp.
|
virtual |
Implements argos::CDynamics3DModel::CAbstractBody.
Definition at line 139 of file dynamics3d_single_body_object_model.cpp.
|
virtual |
Implements argos::CDynamics3DModel::CAbstractBody.
Definition at line 146 of file dynamics3d_single_body_object_model.cpp.
|
virtual |
Implements argos::CDynamics3DModel::CAbstractBody.
Definition at line 117 of file dynamics3d_single_body_object_model.cpp.
|
virtual |
Implements argos::CDynamics3DModel::CAbstractBody.
Definition at line 82 of file dynamics3d_single_body_object_model.cpp.
|
protected |
Definition at line 66 of file dynamics3d_single_body_object_model.h.