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

SIGEL_Visualisation::SIG_EnvironmentVisualisation Class Reference

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

#include <SIG_EnvironmentVisualisation.h>

Inheritance diagram for SIGEL_Visualisation::SIG_EnvironmentVisualisation:

SIGEL_Visualisation::SIG_Visualisation List of all members.

Public Methods

 SIG_EnvironmentVisualisation (SIGEL_Environment::SIG_Environment const &environment)
 The constructor of the SIG_EnvironmentVisualisation. More...

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

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


Private Attributes

SIG_EnvironmentRenderer environmentRenderer
 The SIG_EnvironmentRenderer object that is responsible for the rendering of the environment. More...


Detailed Description

This class is used to visualize a SIG_Environment object.

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

Definition at line 18 of file SIG_EnvironmentVisualisation.h.


Constructor & Destructor Documentation

SIGEL_Visualisation::SIG_EnvironmentVisualisation::SIG_EnvironmentVisualisation ( SIGEL_Environment::SIG_Environment const & environment )
 

The constructor of the SIG_EnvironmentVisualisation.

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

Parameters:
environment   The SIG_Environment object that should be rendered.

Definition at line 6 of file SIG_EnvironmentVisualisation.cpp.

SIGEL_Visualisation::SIG_EnvironmentVisualisation::~SIG_EnvironmentVisualisation ( )
 

The destructor of the SIG_EnvironmentVisualisation.

Does some OpenGL clean up.

Definition at line 10 of file SIG_EnvironmentVisualisation.cpp.


Member Function Documentation

void SIGEL_Visualisation::SIG_EnvironmentVisualisation::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 13 of file SIG_EnvironmentVisualisation.cpp.


Member Data Documentation

SIG_EnvironmentRenderer SIGEL_Visualisation::SIG_EnvironmentVisualisation::environmentRenderer [private]
 

The SIG_EnvironmentRenderer object that is responsible for the rendering of the environment.

While this SIG_EnvironmentVisualisation 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 environment is done by the environmentRenderer.

Definition at line 63 of file SIG_EnvironmentVisualisation.h.


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