ARGoS
Large-scale robot simulations
home
about
download
documentation
examples
user manual
dev manual
API
forum
publications
plugins
simulator
visualizations
qt-opengl
qtopengl_light.h
Go to the documentation of this file.
1
7
#ifndef QTOPENGL_LIGHT_H
8
#define QTOPENGL_LIGHT_H
9
10
namespace
argos
{
11
class
CQTOpenGLLight;
12
class
CLightEntity;
13
}
14
15
#ifdef __APPLE__
16
#include <gl.h>
17
#else
18
#include <GL/gl.h>
19
#endif
20
21
namespace
argos
{
22
23
class
CQTOpenGLLight
{
24
25
public
:
26
27
CQTOpenGLLight
();
28
29
virtual
~CQTOpenGLLight
();
30
31
virtual
void
Draw
(
CLightEntity
& c_entity);
32
33
private
:
34
35
GLuint m_unList;
36
GLuint m_unVertexes;
37
GLfloat m_fRadius;
38
39
};
40
41
}
42
43
#endif
argos
The namespace containing all the ARGoS related code.
Definition:
ci_actuator.h:12
argos::CLightEntity
Definition:
light_entity.h:20
argos::CQTOpenGLLight
Definition:
qtopengl_light.h:23
argos::CQTOpenGLLight::Draw
virtual void Draw(CLightEntity &c_entity)
Definition:
qtopengl_light.cpp:72
argos::CQTOpenGLLight::~CQTOpenGLLight
virtual ~CQTOpenGLLight()
Definition:
qtopengl_light.cpp:65
argos::CQTOpenGLLight::CQTOpenGLLight
CQTOpenGLLight()
Definition:
qtopengl_light.cpp:17