qtopengl_footbot.h
Go to the documentation of this file.
1 
7 #ifndef QTOPENGL_FOOTBOT_H
8 #define QTOPENGL_FOOTBOT_H
9 
10 namespace argos {
11  class CQTOpenGLFootBot;
12  class CFootBotEntity;
13 }
14 
15 #ifdef __APPLE__
16 #include <gl.h>
17 #else
18 #include <GL/gl.h>
19 #endif
20 
21 namespace argos {
22 
24 
25  public:
26 
28 
29  virtual ~CQTOpenGLFootBot();
30 
31  virtual void Draw(CFootBotEntity& c_entity);
32 
33  protected:
34 
39  void MakeWheel();
40 
44  void SetBlackTireMaterial();
48  void SetLEDMaterial(GLfloat f_red, GLfloat f_green, GLfloat f_blue);
49 
51  void RenderWheel();
53  void RenderTrack();
55  void RenderBase();
57  void RenderGrippableSlice();
61  void RenderGripperClaw();
63  void RenderRAB();
67  void RenderDistanceScanner();
69  void RenderIMX();
71  void RenderBeacon();
73  void RenderCamera();
74 
75  private:
76 
78  GLuint m_unLists;
79 
81  GLuint m_unBasicWheelList;
82 
84  GLuint m_unWheelList;
86  GLuint m_unTrackList;
88  GLuint m_unBaseList;
90  GLuint m_unGrippableSliceList;
92  GLuint m_unGripperMechanicsList;
94  GLuint m_unGripperClawList;
96  GLuint m_unRABList;
98  GLuint m_unDistanceScannerSensorList;
100  GLuint m_unDistanceScannerList;
102  GLuint m_unIMXList;
104  GLuint m_unBeaconList;
106  GLuint m_unCameraList;
107 
110  GLuint m_unVertices;
111 
112  /* Angle gap between two leds */
113  GLfloat m_fLEDAngleSlice;
114 
115  };
116 
117 }
118 
119 #endif
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
void RenderCamera()
Renders the camera.
void SetLEDMaterial(GLfloat f_red, GLfloat f_green, GLfloat f_blue)
Sets a colored LED material.
void RenderIMX()
Renders the iMX module.
void SetCircuitBoardMaterial()
Sets a circuit board material.
void RenderTrack()
Renders the tracks.
void RenderDistanceScannerSensor()
Renders a single sensor of the distance scanner.
void RenderRAB()
Renders the RAB module.
void RenderGripperClaw()
Renders the gripper.
void RenderGripperMechanics()
Renders the gripper.
void MakeWheel()
Renders a materialless wheel.
void RenderBase()
Renders the base (apart from the wheels)
void SetWhitePlasticMaterial()
Sets a white plastic material.
virtual void Draw(CFootBotEntity &c_entity)
void RenderGrippableSlice()
Renders a slice of the gripper module (LEDs)
void RenderDistanceScanner()
Renders the distance scanner.
void SetBlackTireMaterial()
Sets a black tire material.
void RenderWheel()
Renders the wheels.
void RenderBeacon()
Renders the beacon.