version 3.3

VRS::CollapseTransformsOperator Class Reference

Collapse single transformations into aggregated ones. More...

#include <vrs/sg/collapsetransformsoperator.h>

Inheritance diagram for VRS::CollapseTransformsOperator:

VRS::SceneGraphOperator VRS::Visitor< T > VRS::Visitor< T > VRS::VisitorBase VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

virtual void optimizeScene (SO< SceneNode > &scene)
 Optimize the provided scene.
virtual VisitorBase::VisitMode visit (SceneThing *thing, bool push)
 Track parent scene things and handle transformation levels.
virtual VisitorBase::VisitMode visit (RenderObj *renderObj, bool push)
 Collect transformations and place before render objects.


Detailed Description

Collapse single transformations into aggregated ones.

Author:
Victor Saar The CollapseTransformsOperator collects single transformations and places an aggregated transformation in front of render objects. The operator preserves Billboard transformations and can be used with LODNode scene nodes. The result of the operation are optimized and thus faster transformations.

Member Function Documentation

virtual void VRS::CollapseTransformsOperator::optimizeScene ( SO< SceneNode > &  scene  )  [virtual]

Optimize the provided scene.

Implements VRS::SceneGraphOperator.

virtual VisitorBase::VisitMode VRS::CollapseTransformsOperator::visit ( SceneThing thing,
bool  push 
) [virtual]

Track parent scene things and handle transformation levels.

virtual VisitorBase::VisitMode VRS::CollapseTransformsOperator::visit ( RenderObj renderObj,
bool  push 
) [virtual]

Collect transformations and place before render objects.


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

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