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
10
namespace
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
22
namespace
argos
{
23
24
class
CQTOpenGLCylinder
{
25
26
public
:
27
28
CQTOpenGLCylinder
();
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
argos
The namespace containing all the ARGoS related code.
Definition:
ci_actuator.h:12
argos::CQTOpenGLCylinder
Definition:
qtopengl_cylinder.h:24
argos::CQTOpenGLCylinder::Draw
virtual void Draw(CCylinderEntity &c_entity)
Definition:
qtopengl_cylinder.cpp:87
argos::CCylinderEntity
Definition:
cylinder_entity.h:23
argos::CQTOpenGLCylinder::~CQTOpenGLCylinder
virtual ~CQTOpenGLCylinder()
Definition:
qtopengl_cylinder.cpp:50
argos::CQTOpenGLCylinder::DrawLEDs
void DrawLEDs(CCylinderEntity &c_entity)
Definition:
qtopengl_cylinder.cpp:57
argos::CQTOpenGLCylinder::CQTOpenGLCylinder
CQTOpenGLCylinder()
Definition:
qtopengl_cylinder.cpp:28
plugins
simulator
visualizations
qt-opengl
models
qtopengl_cylinder.h
Generated on Wed Aug 4 2021 00:15:55 for ARGoS by
1.8.17