argos::CQTOpenGLEPuck Class Reference

#include <qtopengl_epuck.h>

Public Member Functions

 CQTOpenGLEPuck ()
 
virtual ~CQTOpenGLEPuck ()
 
virtual void Draw (CEPuckEntity &c_entity)
 

Protected Member Functions

void SetGreenPlasticMaterial ()
 Sets a green plastic material. More...
 
void SetRedPlasticMaterial ()
 Sets a red plastic material. More...
 
void SetCircuitBoardMaterial ()
 Sets a circuit board material. More...
 
void SetLEDMaterial (GLfloat f_red, GLfloat f_green, GLfloat f_blue)
 Sets a colored LED material. More...
 
void RenderWheel ()
 Renders a wheel. More...
 
void RenderChassis ()
 Renders the chassis. More...
 
void RenderBody ()
 Renders the body. More...
 
void RenderLED ()
 A single LED of the ring. More...
 

Detailed Description

Definition at line 23 of file qtopengl_epuck.h.

Constructor & Destructor Documentation

◆ CQTOpenGLEPuck()

argos::CQTOpenGLEPuck::CQTOpenGLEPuck ( )

Definition at line 44 of file qtopengl_epuck.cpp.

◆ ~CQTOpenGLEPuck()

argos::CQTOpenGLEPuck::~CQTOpenGLEPuck ( )
virtual

Definition at line 80 of file qtopengl_epuck.cpp.

Member Function Documentation

◆ Draw()

void argos::CQTOpenGLEPuck::Draw ( CEPuckEntity c_entity)
virtual

Definition at line 87 of file qtopengl_epuck.cpp.

◆ RenderBody()

void argos::CQTOpenGLEPuck::RenderBody ( )
protected

Renders the body.

Definition at line 262 of file qtopengl_epuck.cpp.

◆ RenderChassis()

void argos::CQTOpenGLEPuck::RenderChassis ( )
protected

Renders the chassis.

Definition at line 223 of file qtopengl_epuck.cpp.

◆ RenderLED()

void argos::CQTOpenGLEPuck::RenderLED ( )
protected

A single LED of the ring.

Definition at line 309 of file qtopengl_epuck.cpp.

◆ RenderWheel()

void argos::CQTOpenGLEPuck::RenderWheel ( )
protected

Renders a wheel.

Definition at line 176 of file qtopengl_epuck.cpp.

◆ SetCircuitBoardMaterial()

void argos::CQTOpenGLEPuck::SetCircuitBoardMaterial ( )
protected

Sets a circuit board material.

Definition at line 146 of file qtopengl_epuck.cpp.

◆ SetGreenPlasticMaterial()

void argos::CQTOpenGLEPuck::SetGreenPlasticMaterial ( )
protected

Sets a green plastic material.

Definition at line 118 of file qtopengl_epuck.cpp.

◆ SetLEDMaterial()

void argos::CQTOpenGLEPuck::SetLEDMaterial ( GLfloat  f_red,
GLfloat  f_green,
GLfloat  f_blue 
)
protected

Sets a colored LED material.

Definition at line 160 of file qtopengl_epuck.cpp.

◆ SetRedPlasticMaterial()

void argos::CQTOpenGLEPuck::SetRedPlasticMaterial ( )
protected

Sets a red plastic material.

Definition at line 132 of file qtopengl_epuck.cpp.