Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

SIGEL_Visualisation::SIG_RobotRenderer Class Reference

This classes task is the rendering of SIG_Robot objects. More...

#include <SIG_RobotRenderer.h>

Inheritance diagram for SIGEL_Visualisation::SIG_RobotRenderer:

SIGEL_Visualisation::SIG_Renderer List of all members.

Public Methods

 SIG_RobotRenderer (SIGEL_Robot::SIG_Robot const &robot)
 The constructor of the SIG_RobotRenderer. More...

 ~SIG_RobotRenderer ()
 The destructor of the SIG_EnvironmentRenderer. More...

void render ()
 Calls the inherited method renderSceneObjects and eventually does additional rendering like drawing link identifiers onto the particular links. More...

QString exportToPovray ()
QString createPovrayDeclarations ()
void setPointsVisible ( bool visible )

Private Methods

void buildDisplayLists ()
 Reads the robot attribute and uses its properties like geometry of objects to build display lists. More...


Private Attributes

SIGEL_Robot::SIG_Robot const& robot
 The SIG_Robot object that should be rendered by this SIG_RobotRenderer. More...


Detailed Description

This classes task is the rendering of SIG_Robot objects.

Definition at line 13 of file SIG_RobotRenderer.h.


Constructor & Destructor Documentation

SIGEL_Visualisation::SIG_RobotRenderer::SIG_RobotRenderer ( SIGEL_Robot::SIG_Robot const & robot )
 

The constructor of the SIG_RobotRenderer.

It reads the supplied SIG_Robot, fills the inherited QVector sceneObjects and calls the method buildDisplayLists.

Parameters:
environment   The environment that should be rendered.

Definition at line 9 of file SIG_RobotRenderer.cpp.

SIGEL_Visualisation::SIG_RobotRenderer::~SIG_RobotRenderer ( )
 

The destructor of the SIG_EnvironmentRenderer.

It cleans up the OpenGL stuff like the display lists.

Definition at line 37 of file SIG_RobotRenderer.cpp.


Member Function Documentation

void SIGEL_Visualisation::SIG_RobotRenderer::buildDisplayLists ( ) [private, virtual]
 

Reads the robot attribute and uses its properties like geometry of objects to build display lists.

Reimplemented from SIGEL_Visualisation::SIG_Renderer.

Definition at line 40 of file SIG_RobotRenderer.cpp.

QString SIGEL_Visualisation::SIG_RobotRenderer::createPovrayDeclarations ( ) [virtual]
 

Reimplemented from SIGEL_Visualisation::SIG_Renderer.

Definition at line 190 of file SIG_RobotRenderer.cpp.

QString SIGEL_Visualisation::SIG_RobotRenderer::exportToPovray ( ) [virtual]
 

Reimplemented from SIGEL_Visualisation::SIG_Renderer.

Definition at line 185 of file SIG_RobotRenderer.cpp.

void SIGEL_Visualisation::SIG_RobotRenderer::render ( ) [virtual]
 

Calls the inherited method renderSceneObjects and eventually does additional rendering like drawing link identifiers onto the particular links.

Precondition:
The display lists are builded.

Reimplemented from SIGEL_Visualisation::SIG_Renderer.

Definition at line 154 of file SIG_RobotRenderer.cpp.

void SIGEL_Visualisation::SIG_RobotRenderer::setPointsVisible ( bool visible )
 

Definition at line 320 of file SIG_RobotRenderer.cpp.


Member Data Documentation

SIGEL_Robot::SIG_Robot const & SIGEL_Visualisation::SIG_RobotRenderer::robot [private]
 

The SIG_Robot object that should be rendered by this SIG_RobotRenderer.

Definition at line 61 of file SIG_RobotRenderer.h.


The documentation for this class was generated from the following files:
Generated at Mon Sep 3 01:32:55 2001 for PG 368 - SIGEL by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000