argos::CDynamics3DMultiBodyObjectModel::CLink Class Reference

#include <dynamics3d_multi_body_object_model.h>

Inheritance diagram for argos::CDynamics3DMultiBodyObjectModel::CLink:
Collaboration diagram for argos::CDynamics3DMultiBodyObjectModel::CLink:

Public Member Functions

 CLink (CDynamics3DMultiBodyObjectModel &c_model, UInt32 un_link_index, SAnchor &s_anchor, std::shared_ptr< btCollisionShape > &ptr_shape, const SData &s_data)
 
virtual ~CLink ()
 
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 ()
 
UInt32 GetIndex () const
 

Protected Attributes

CDynamics3DMultiBodyObjectModelm_cModel
 
UInt32 m_unLinkIndex
 
btMultiBodyLinkCollider m_cMultiBodyLink
 

Detailed Description

Definition at line 25 of file dynamics3d_multi_body_object_model.h.

Constructor & Destructor Documentation

argos::CDynamics3DMultiBodyObjectModel::CLink::CLink ( CDynamics3DMultiBodyObjectModel c_model,
UInt32  un_link_index,
SAnchor s_anchor,
std::shared_ptr< btCollisionShape > &  ptr_shape,
const SData &  s_data 
)

Definition at line 157 of file dynamics3d_multi_body_object_model.cpp.

virtual argos::CDynamics3DMultiBodyObjectModel::CLink::~CLink ( )
inlinevirtual

Definition at line 35 of file dynamics3d_multi_body_object_model.h.

Member Function Documentation

void argos::CDynamics3DMultiBodyObjectModel::CLink::AddToWorld ( btMultiBodyDynamicsWorld &  c_world)
virtual

Definition at line 188 of file dynamics3d_multi_body_object_model.cpp.

void argos::CDynamics3DMultiBodyObjectModel::CLink::ApplyForce ( const btVector3 &  c_force)
virtual
void argos::CDynamics3DMultiBodyObjectModel::CLink::ApplyForce ( const btVector3 &  c_force,
const btVector3 &  c_offset 
)
virtual
void argos::CDynamics3DMultiBodyObjectModel::CLink::ApplyTorque ( const btVector3 &  c_torque)
virtual
UInt32 argos::CDynamics3DMultiBodyObjectModel::CLink::GetIndex ( ) const

Definition at line 237 of file dynamics3d_multi_body_object_model.cpp.

btTransform & argos::CDynamics3DMultiBodyObjectModel::CLink::GetTransform ( )
virtual

Definition at line 230 of file dynamics3d_multi_body_object_model.cpp.

void argos::CDynamics3DMultiBodyObjectModel::CLink::RemoveFromWorld ( btMultiBodyDynamicsWorld &  c_world)
virtual

Definition at line 197 of file dynamics3d_multi_body_object_model.cpp.

void argos::CDynamics3DMultiBodyObjectModel::CLink::Reset ( )
virtual

Member Data Documentation

CDynamics3DMultiBodyObjectModel& argos::CDynamics3DMultiBodyObjectModel::CLink::m_cModel
protected

Definition at line 56 of file dynamics3d_multi_body_object_model.h.

btMultiBodyLinkCollider argos::CDynamics3DMultiBodyObjectModel::CLink::m_cMultiBodyLink
protected

Definition at line 58 of file dynamics3d_multi_body_object_model.h.

UInt32 argos::CDynamics3DMultiBodyObjectModel::CLink::m_unLinkIndex
protected

Definition at line 57 of file dynamics3d_multi_body_object_model.h.