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