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

SIGEL_Visualisation::SIG_RobotVisualisation Class Reference

This class is used to visualize a SIG_Robot object. More...

#include <SIG_RobotVisualisation.h>

Inheritance diagram for SIGEL_Visualisation::SIG_RobotVisualisation:

SIGEL_Visualisation::SIG_Visualisation List of all members.

Public Methods

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

 ~SIG_RobotVisualisation ()
 The destructor of the SIG_RobotVisualisation. More...

void visualize ()
 This method finally initiates the calling of certain OpenGL rendering commands. More...


Private Attributes

SIG_RobotRenderer robotRenderer
 The SIG_RobotRenderer object that is responsible for the rendering of the robot. More...


Detailed Description

This class is used to visualize a SIG_Robot object.

It contains the appropriate data structures and methods to perform OpenGL commands that render a robot according to current view settings like eyepoint and lookpoint.

Definition at line 18 of file SIG_RobotVisualisation.h.


Constructor & Destructor Documentation

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

The constructor of the SIG_RobotVisualisation.

Does some OpenGL initialization stuff, reads the supplied SIG_Robot object and builds up data structures for rendering.

Parameters:
robot   The SIG_Robot object that should be rendered.

Definition at line 6 of file SIG_RobotVisualisation.cpp.

SIGEL_Visualisation::SIG_RobotVisualisation::~SIG_RobotVisualisation ( )
 

The destructor of the SIG_RobotVisualisation.

Does some OpenGL clean up.

Definition at line 40 of file SIG_RobotVisualisation.cpp.


Member Function Documentation

void SIGEL_Visualisation::SIG_RobotVisualisation::visualize ( ) [virtual]
 

This method finally initiates the calling of certain OpenGL rendering commands.

They refresh the active framebuffer of the current OpenGL context according to the current state of the attribute viewSettings.

Reimplemented from SIGEL_Visualisation::SIG_Visualisation.

Definition at line 43 of file SIG_RobotVisualisation.cpp.


Member Data Documentation

SIG_RobotRenderer SIGEL_Visualisation::SIG_RobotVisualisation::robotRenderer [private]
 

The SIG_RobotRenderer object that is responsible for the rendering of the robot.

While this SIG_RobotVisualisation object takes care of all OpenGL related things to be done (framebuffer initialization and setting of OpenGL state variables for example), the final rendering of the robot is done by the robotRenderer.

Definition at line 63 of file SIG_RobotVisualisation.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