pointmass3d_cylinder_model.h
Go to the documentation of this file.
1 
7 #ifndef POINTMASS3D_CYLINDER_H
8 #define POINTMASS3D_CYLINDER_H
9 
10 namespace argos {
11  class CPointMass3DEngine;
12  class CPointMass3DCylinderModel;
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/cylinder_entity.h>
19 
20 namespace argos {
21 
23 
24  public:
25 
27  CCylinderEntity& c_cylinder);
29 
30  virtual void UpdateFromEntityStatus() {}
31  virtual void Step() {}
32 
33  virtual void CalculateBoundingBox();
34 
35  virtual bool CheckIntersectionWithRay(Real& f_t_on_ray,
36  const CRay3& c_ray) const;
37 
38  private:
39 
40  CCylinderEntity& m_cCylinderEntity;
41  };
42 
43 }
44 
45 #endif
float Real
Collects all ARGoS code.
Definition: datatypes.h:39
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
CPointMass3DCylinderModel(CPointMass3DEngine &c_engine, CCylinderEntity &c_cylinder)
virtual bool CheckIntersectionWithRay(Real &f_t_on_ray, const CRay3 &c_ray) const
virtual void CalculateBoundingBox()
Calculates the axis-aligned box that contains the entire physics model.
virtual void UpdateFromEntityStatus()
Updates the state of this model from the status of the associated entity.