pointmass3d_box_model.h
Go to the documentation of this file.
1 
7 #ifndef POINTMASS3D_BOX_H
8 #define POINTMASS3D_BOX_H
9 
10 namespace argos {
11  class CPointMass3DEngine;
12  class CPointMass3DBoxModel;
13  class CQuadRotorEntity;
14 }
15 
16 #include <argos3/plugins/simulator/physics_engines/pointmass3d/pointmass3d_model.h>
17 #include <argos3/plugins/simulator/entities/quadrotor_entity.h>
18 #include <argos3/plugins/simulator/entities/box_entity.h>
19 
20 namespace argos {
21 
23 
24  public:
25 
27  CBoxEntity& c_box);
28  virtual ~CPointMass3DBoxModel() {}
29 
30  virtual void UpdateFromEntityStatus() {}
31  virtual void Step() {}
32  virtual void UpdateEntityStatus() {}
33 
34  virtual void CalculateBoundingBox();
35 
36  virtual bool CheckIntersectionWithRay(Real& f_t_on_ray,
37  const CRay3& c_ray) const;
38 
39  private:
40 
41  CBoxEntity& m_cBoxEntity;
42  };
43 
44 }
45 
46 #endif
float Real
Collects all ARGoS code.
Definition: datatypes.h:39
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
virtual void UpdateFromEntityStatus()
Updates the state of this model from the status of the associated entity.
CPointMass3DBoxModel(CPointMass3DEngine &c_engine, CBoxEntity &c_box)
virtual bool CheckIntersectionWithRay(Real &f_t_on_ray, const CRay3 &c_ray) const
virtual void UpdateEntityStatus()
Updates the status of the associated entity.
virtual void CalculateBoundingBox()
Calculates the axis-aligned box that contains the entire physics model.