ARGoS 3
A parallel, multi-engine simulator for swarm robotics
qtopengl_box.h
Go to the documentation of this file.
1
7#ifndef QTOPENGL_BOX_H
8#define QTOPENGL_BOX_H
9
10namespace argos {
11 class CQTOpenGLBox;
12 class CBoxEntity;
13}
14
15#ifdef __APPLE__
16#include <gl.h>
17#else
18#include <GL/gl.h>
19#endif
20
21namespace argos {
22
24
25 public:
26
28
29 virtual ~CQTOpenGLBox();
30
31 virtual void DrawLEDs(CBoxEntity& c_entity);
32 virtual void Draw(const CBoxEntity& c_entity);
33
34 private:
35
36 void MakeBody();
37 void MakeLED();
38
39 private:
40
41 GLuint m_unBaseList;
42 GLuint m_unBodyList;
43 GLuint m_unLEDList;
44 GLuint m_unVertices;
45
46 };
47
48}
49
50#endif
The namespace containing all the ARGoS related code.
Definition ci_actuator.h:12
virtual void DrawLEDs(CBoxEntity &c_entity)
virtual void Draw(const CBoxEntity &c_entity)