argos::CDynamics3DSingleBodyObjectModel::CBody Class Reference

#include <dynamics3d_single_body_object_model.h>

Inheritance diagram for argos::CDynamics3DSingleBodyObjectModel::CBody:
Collaboration diagram for argos::CDynamics3DSingleBodyObjectModel::CBody:

Public Member Functions

 CBody (CDynamics3DModel &c_model, SAnchor &s_anchor, 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 ()
 

Protected Attributes

btRigidBody m_cRigidBody
 

Detailed Description

Definition at line 23 of file dynamics3d_single_body_object_model.h.

Constructor & Destructor Documentation

argos::CDynamics3DSingleBodyObjectModel::CBody::CBody ( CDynamics3DModel c_model,
SAnchor s_anchor,
std::shared_ptr< btCollisionShape > &  ptr_shape,
const SData &  s_data 
)

Definition at line 101 of file dynamics3d_single_body_object_model.cpp.

virtual argos::CDynamics3DSingleBodyObjectModel::CBody::~CBody ( )
inlinevirtual

Definition at line 32 of file dynamics3d_single_body_object_model.h.

Member Function Documentation

void argos::CDynamics3DSingleBodyObjectModel::CBody::AddToWorld ( btMultiBodyDynamicsWorld &  c_world)
virtual

Definition at line 111 of file dynamics3d_single_body_object_model.cpp.

void argos::CDynamics3DSingleBodyObjectModel::CBody::ApplyForce ( const btVector3 &  c_force)
virtual

Definition at line 125 of file dynamics3d_single_body_object_model.cpp.

void argos::CDynamics3DSingleBodyObjectModel::CBody::ApplyForce ( const btVector3 &  c_force,
const btVector3 &  c_offset 
)
virtual

Definition at line 132 of file dynamics3d_single_body_object_model.cpp.

void argos::CDynamics3DSingleBodyObjectModel::CBody::ApplyTorque ( const btVector3 &  c_torque)
virtual

Definition at line 140 of file dynamics3d_single_body_object_model.cpp.

btTransform & argos::CDynamics3DSingleBodyObjectModel::CBody::GetTransform ( )
virtual

Definition at line 147 of file dynamics3d_single_body_object_model.cpp.

void argos::CDynamics3DSingleBodyObjectModel::CBody::RemoveFromWorld ( btMultiBodyDynamicsWorld &  c_world)
virtual

Definition at line 118 of file dynamics3d_single_body_object_model.cpp.

void argos::CDynamics3DSingleBodyObjectModel::CBody::Reset ( )
virtual

Definition at line 83 of file dynamics3d_single_body_object_model.cpp.

Member Data Documentation

btRigidBody argos::CDynamics3DSingleBodyObjectModel::CBody::m_cRigidBody
protected

Definition at line 51 of file dynamics3d_single_body_object_model.h.