Warning: include(php/utility.php): Failed to open stream: No such file or directory in /home/argos/argos3/doc/api/embedded/a03578.php on line 2

Warning: include(): Failed opening 'php/utility.php' for inclusion (include_path='.:/usr/lib64/php') in /home/argos/argos3/doc/api/embedded/a03578.php on line 2
The ARGoS Website

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 *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 ()
 

Protected Attributes

btRigidBody m_cRigidBody
 

Detailed Description

Definition at line 23 of file dynamics3d_single_body_object_model.h.

Constructor & Destructor Documentation

◆ CBody()

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.

◆ ~CBody()

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

Definition at line 32 of file dynamics3d_single_body_object_model.h.

Member Function Documentation

◆ AddToWorld()

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

Definition at line 110 of file dynamics3d_single_body_object_model.cpp.

◆ ApplyForce() [1/2]

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

Definition at line 124 of file dynamics3d_single_body_object_model.cpp.

◆ ApplyForce() [2/2]

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

Definition at line 131 of file dynamics3d_single_body_object_model.cpp.

◆ ApplyTorque()

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

Definition at line 139 of file dynamics3d_single_body_object_model.cpp.

◆ GetTransform()

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

Definition at line 146 of file dynamics3d_single_body_object_model.cpp.

◆ RemoveFromWorld()

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

Definition at line 117 of file dynamics3d_single_body_object_model.cpp.

◆ Reset()

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

Definition at line 82 of file dynamics3d_single_body_object_model.cpp.

Member Data Documentation

◆ m_cRigidBody

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

Definition at line 51 of file dynamics3d_single_body_object_model.h.