Cutout Vis2012
TUWienVisualisierung2(SS2012)-AdaptiveCutaways
|
#include <Transform.h>
Public Member Functions | |
virtual glm::mat4 | propagate (const glm::mat4 &inhTransform, float inhScale, float *totalScale)=0 |
virtual void | update ()=0 |
Base class that allows for propagation of hierarchical transformations through the scene graph.
|
pure virtual |
Returns the model transformation which is calculated from the model transformation of this node's parent and the local transformation. Also calculated the scale separately.
inhTransform | parent transformation | |
inhScale | parent scale | |
[out] | totalScale | total scale of this node |
Implemented in SRTTransform, and IdentityTransform.
|
pure virtual |
Called before propagation. Calculates the local transform internally.
Implemented in SRTTransform, and IdentityTransform.