version 3.3

VRS::MainTechniqueGL Class Reference

#include <vrs/opengl/maintechniquegl.h>

Inheritance diagram for VRS::MainTechniqueGL:

VRS::TechniqueGL VRS::Technique VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 MainTechniqueGL ()
virtual void start (Engine *)
virtual void stop (Engine *)
virtual bool preparePass (Engine *)
virtual void finishPass (Engine *)
virtual bool prepareEval (Engine *, const Shape *)
 Returns true, so shapes may be rendered.
virtual void finishEval (Engine *, const Shape *)
 Empty implementation.
 VRS_TYPEINFO (MainTechniqueGL, TechniqueGL)


Constructor & Destructor Documentation

VRS::MainTechniqueGL::MainTechniqueGL (  ) 

Main rendering passes for OpenGL. Contains actually two passes: CLEARBUFFER for clearing the background if no BackgroundGL technique is in the scene graph, and MAIN, where the scene graph is traversed and shapes are rendered.


Member Function Documentation

virtual void VRS::MainTechniqueGL::start ( Engine  )  [virtual]

Starts a technique. For all techniques in the scene graph, this method is called at the end of the pretraversal. The default behaviour is to add all passes in the pass array to the current TechniqueProcessor. If this is expected, subclasses should call "Technique::class()".

Reimplemented from VRS::Technique.

virtual void VRS::MainTechniqueGL::stop ( Engine  )  [virtual]

Stops a technique. For all techniques in the scene graph, this method is called in the method "stop()" of the TechniqueProcessor.

Reimplemented from VRS::Technique.

virtual bool VRS::MainTechniqueGL::preparePass ( Engine  )  [virtual]

CLEARBUFFER: if necessary, the framebuffer is cleared.
MAIN: returns true.

Implements VRS::Technique.

virtual void VRS::MainTechniqueGL::finishPass ( Engine  )  [virtual]

For an active technique, this method is invoked after the traversal of the scene graph. The changes made in "preparePass()" should be undone here

Implements VRS::Technique.

virtual bool VRS::MainTechniqueGL::prepareEval ( Engine ,
const Shape  
) [virtual]

Returns true, so shapes may be rendered.

Implements VRS::Technique.

virtual void VRS::MainTechniqueGL::finishEval ( Engine ,
const Shape  
) [virtual]

Empty implementation.

Implements VRS::Technique.

VRS::MainTechniqueGL::VRS_TYPEINFO ( MainTechniqueGL  ,
TechniqueGL   
)


The documentation for this class was generated from the following file:

Generated on Mon May 21 06:00:21 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact