VisComponentGL Class Reference

#include <VisComponentGL.h>

List of all members.

Protected Member Functions

virtual void preRender ()
virtual void postRender ()


Detailed Description

This class extends the VisComponent class by adding OpenGL code for the pre- and post-rendering functions. This code is responsible for applying the linear transformations (scale, rotation, and translation, in this order) associated with the component state. This is done for performance optimization, since otherwise every drawing strategy of the component would need to query its state values, apply the transformations, and clean up the modelview matrix.

Author:
Fabricio Anastacio - fabriciocfa@yahoo.com
Since:
September 24, 2007


Member Function Documentation

void VisComponentGL::preRender (  )  [inline, protected, virtual]

Executes the subclass specified code before rendering this component.

virtual void VisComponentGL::postRender (  )  [inline, protected, virtual]

Executes the subclass specified code after rendering this component.


The documentation for this class was generated from the following files:
Generated on Fri Dec 21 17:46:10 2007 for LargeDisplayFrameworkToolkit by  doxygen 1.5.2