|
ARGoS 3
A parallel, multi-engine simulator for swarm robotics
|
#include <dynamics2d_box_model.h>
Inheritance diagram for argos::CDynamics2DBoxModel:Public Member Functions | |
| CDynamics2DBoxModel (CDynamics2DEngine &c_engine, CBoxEntity &c_entity) | |
| virtual | ~CDynamics2DBoxModel () |
| void | Resize (const CVector3 &c_size) |
Public Member Functions inherited from argos::CDynamics2DStretchableObjectModel | |
| CDynamics2DStretchableObjectModel (CDynamics2DEngine &c_engine, CComposableEntity &c_entity) | |
| virtual | ~CDynamics2DStretchableObjectModel () |
| virtual void | MoveTo (const CVector3 &c_position, const CQuaternion &c_orientation) |
| virtual void | Reset () |
| virtual void | UpdateFromEntityStatus () |
| Updates the state of this model from the status of the associated entity. | |
| Real | GetMass () const |
| void | SetMass (Real f_mass) |
| CDynamics2DGrippable * | GetGrippable () |
| void | SetGrippable (CDynamics2DGrippable *pc_grippable) |
| void | SetLinearFriction (Real f_max_bias, Real f_max_force) |
| Sets the linear friction of this object. | |
| void | SetAngularFriction (Real f_max_bias, Real f_max_force) |
| Sets the angular friction of this object. | |
Public Member Functions inherited from argos::CDynamics2DSingleBodyObjectModel | |
| CDynamics2DSingleBodyObjectModel (CDynamics2DEngine &c_engine, CComposableEntity &c_entity) | |
| Class constructor. | |
| virtual | ~CDynamics2DSingleBodyObjectModel () |
| Class destructor. | |
| CComposableEntity & | GetComposableEntity () |
| Returns the associated composable entity as a non-const reference. | |
| const CComposableEntity & | GetComposableEntity () const |
| Returns the associated composable entity as a const reference. | |
| cpBody * | GetBody () |
| Returns the body as non-const pointer. | |
| const cpBody * | GetBody () const |
| Returns the body as const pointer. | |
| virtual void | CalculateBoundingBox () |
| Calculates the axis-aligned box that contains the entire physics model. | |
| virtual void | UpdateEntityStatus () |
| Updates the status of the associated entity. | |
| virtual bool | IsCollidingWithSomething () const |
Returns true if this model is colliding with another model. | |
| virtual void | SetBody (cpBody *pt_body, Real f_height) |
| Sets the body and registers the default origin anchor method. | |
| void | UpdateOriginAnchor (SAnchor &s_anchor) |
| Updates the origin anchor associated to the embodied entity. | |
Public Member Functions inherited from argos::CDynamics2DModel | |
| CDynamics2DModel (CDynamics2DEngine &c_engine, CEmbodiedEntity &c_entity) | |
| virtual | ~CDynamics2DModel () |
| CDynamics2DEngine & | GetDynamics2DEngine () |
| Returns the dynamics 2D engine state. | |
| const CDynamics2DEngine & | GetDynamics2DEngine () const |
| Returns the dynamics 2D engine state as a const reference. | |
Public Member Functions inherited from argos::CPhysicsModel | |
| CPhysicsModel (CPhysicsEngine &c_engine, CEmbodiedEntity &c_entity) | |
| virtual | ~CPhysicsModel () |
| CPhysicsEngine & | GetEngine () |
| Returns the physics engine associated to this physics model. | |
| CEmbodiedEntity & | GetEmbodiedEntity () |
| Returns the embodied entity associated to this physics model. | |
| const CEmbodiedEntity & | GetEmbodiedEntity () const |
| Returns the embodied entity associated to this physics model. | |
| virtual void | UpdatePhysics () |
| Performs extra work just before the physics update takes place. | |
| const SBoundingBox & | GetBoundingBox () const |
| Returns an axis-aligned box that contains the physics model. | |
| virtual void | CalculateAnchors () |
| Calculates the anchors associated to this model. | |
| SBoundingBox & | GetBoundingBox () |
| Returns an axis-aligned box that contains the physics model. | |
| template<typename MODEL > | |
| void | RegisterAnchorMethod (const SAnchor &s_anchor, void(MODEL::*pt_method)(SAnchor &)) |
| Registers an anchor method. | |
Public Member Functions inherited from argos::CPhysicsBoxModel | |
Additional Inherited Members | |
Public Types inherited from argos::CDynamics2DModel | |
| typedef std::map< std::string, CDynamics2DModel * > | TMap |
Public Types inherited from argos::CPhysicsModel | |
| typedef std::map< std::string, CPhysicsModel * > | TMap |
| typedef std::vector< CPhysicsModel * > | TVector |
Definition at line 22 of file dynamics2d_box_model.h.
| argos::CDynamics2DBoxModel::CDynamics2DBoxModel | ( | CDynamics2DEngine & | c_engine, |
| CBoxEntity & | c_entity ) |
Definition at line 16 of file dynamics2d_box_model.cpp.
|
inlinevirtual |
Definition at line 28 of file dynamics2d_box_model.h.
|
virtual |
Implements argos::CPhysicsBoxModel.
Definition at line 94 of file dynamics2d_box_model.cpp.