7 #ifndef DYNAMICS3D_SINGLE_BODY_OBJECT_MODEL_H
8 #define DYNAMICS3D_SINGLE_BODY_OBJECT_MODEL_H
11 class CDynamics3DSingleBodyObjectModel;
14 #include <argos3/plugins/simulator/physics_engines/dynamics3d/dynamics3d_model.h>
17 #pragma clang diagnostic push
18 #pragma clang diagnostic ignored "-Wreorder"
20 #pragma GCC diagnostic push
21 #pragma GCC diagnostic ignored "-Wreorder"
24 #include <argos3/plugins/simulator/physics_engines/dynamics3d/bullet/BulletDynamics/Dynamics/btRigidBody.h>
27 #pragma clang diagnostic pop
29 #pragma GCC diagnostic pop
44 const std::shared_ptr<btCollisionShape>& ptr_shape,
51 virtual void AddToWorld(btMultiBodyDynamicsWorld& c_world);
55 virtual void ApplyForce(
const btVector3& c_force);
57 virtual void ApplyForce(
const btVector3& c_force,
58 const btVector3& c_offset);
60 virtual void ApplyTorque(
const btVector3& c_torque);
84 virtual void AddToWorld(btMultiBodyDynamicsWorld& c_world);
The namespace containing all the ARGoS related code.
Basic class for an entity that contains other entities.
An anchor related to the body of an entity.
virtual void CalculateBoundingBox()
Calculates the axis-aligned box that contains the entire physics model.
virtual ~CDynamics3DSingleBodyObjectModel()
virtual void AddToWorld(btMultiBodyDynamicsWorld &c_world)
virtual void MoveTo(const CVector3 &c_position, const CQuaternion &c_orientation)
CDynamics3DSingleBodyObjectModel(CDynamics3DEngine &c_engine, CComposableEntity &c_entity)
virtual void RemoveFromWorld(btMultiBodyDynamicsWorld &c_world)
virtual void AddToWorld(btMultiBodyDynamicsWorld &c_world)
virtual btTransform & GetTransform()
virtual void RemoveFromWorld(btMultiBodyDynamicsWorld &c_world)
virtual void ApplyTorque(const btVector3 &c_torque)
virtual void ApplyForce(const btVector3 &c_force)
CBody(CDynamics3DModel &c_model, SAnchor *ps_anchor, const std::shared_ptr< btCollisionShape > &ptr_shape, const SData &s_data)