ARGoS
3
A parallel, multi-engine simulator for swarm robotics
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
22
class
CPointMass3DCylinderModel
:
public
CPointMass3DModel
{
23
24
public
:
25
26
CPointMass3DCylinderModel
(
CPointMass3DEngine
& c_engine,
27
CCylinderEntity
& c_cylinder);
28
virtual
~CPointMass3DCylinderModel
() {}
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
argos::CPointMass3DCylinderModel::Step
virtual void Step()
Definition:
pointmass3d_cylinder_model.h:31
argos
The namespace containing all the ARGoS related code.
Definition:
ci_actuator.h:12
argos::CPointMass3DCylinderModel::UpdateFromEntityStatus
virtual void UpdateFromEntityStatus()
Updates the state of this model from the status of the associated entity.
Definition:
pointmass3d_cylinder_model.h:30
argos::CRay3
Definition:
ray3.h:19
argos::CPointMass3DCylinderModel::CalculateBoundingBox
virtual void CalculateBoundingBox()
Calculates the axis-aligned box that contains the entire physics model.
Definition:
pointmass3d_cylinder_model.cpp:24
argos::CPointMass3DModel
Definition:
pointmass3d_model.h:21
argos::CPointMass3DCylinderModel::~CPointMass3DCylinderModel
virtual ~CPointMass3DCylinderModel()
Definition:
pointmass3d_cylinder_model.h:28
argos::CPointMass3DCylinderModel
Definition:
pointmass3d_cylinder_model.h:22
argos::CPointMass3DCylinderModel::CheckIntersectionWithRay
virtual bool CheckIntersectionWithRay(Real &f_t_on_ray, const CRay3 &c_ray) const
Definition:
pointmass3d_cylinder_model.cpp:38
argos::CCylinderEntity
Definition:
cylinder_entity.h:23
argos::CPointMass3DCylinderModel::CPointMass3DCylinderModel
CPointMass3DCylinderModel(CPointMass3DEngine &c_engine, CCylinderEntity &c_cylinder)
Definition:
pointmass3d_cylinder_model.cpp:16
argos::CPointMass3DEngine
Definition:
pointmass3d_engine.h:22
Real
float Real
Collects all ARGoS code.
Definition:
datatypes.h:39
plugins
simulator
physics_engines
pointmass3d
pointmass3d_cylinder_model.h
Generated on Wed Aug 4 2021 00:15:55 for ARGoS by
1.8.17