qtopengl_miniquadrotor.h
Go to the documentation of this file.
1 
7 #ifndef QTOPENGL_MINI_QUADROTOR_H
8 #define QTOPENGL_MINI_QUADROTOR_H
9 
10 namespace argos {
11  class CQTOpenGLMiniQuadrotor;
12  class CMiniQuadrotorEntity;
13 }
14 
15 
16 #ifdef __APPLE__
17 #include <gl.h>
18 #else
19 #include <GL/gl.h>
20 #endif
21 
22 namespace argos {
23 
25 
26  public:
27 
29 
30  virtual ~CQTOpenGLMiniQuadrotor();
31 
32  virtual void Draw(CMiniQuadrotorEntity& c_entity);
33 
34  protected:
35 
37  void SetBodyMaterial();
38 
40  void SetBoardMaterial();
41 
43  void SetBladeMaterial();
44 
46  void MakeBody();
47 
49  void MakeBoard();
50 
52  void MakeArm();
53 
55  void MakePropeller();
56 
57  private:
58 
60  GLuint m_unVertices;
61 
63  GLuint m_unLists;
64 
65  };
66 
67 }
68 
69 #endif
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
void MakePropeller()
One of the four propellers.
virtual void Draw(CMiniQuadrotorEntity &c_entity)
void SetBoardMaterial()
Sets the board material.
void MakeArm()
On of the two trasversal arms to which propellers are attached.
void SetBladeMaterial()
Sets the blade material.
void SetBodyMaterial()
Sets the body material.