Cutout Vis2012
TUWienVisualisierung2(SS2012)-AdaptiveCutaways
 All Classes Namespaces Functions Pages
Public Member Functions | List of all members
Transform Class Referenceabstract

#include <Transform.h>

Inheritance diagram for Transform:
IdentityTransform SRTTransform

Public Member Functions

virtual glm::mat4 propagate (const glm::mat4 &inhTransform, float inhScale, float *totalScale)=0
 
virtual void update ()=0
 

Detailed Description

Base class that allows for propagation of hierarchical transformations through the scene graph.

Member Function Documentation

virtual glm::mat4 Transform::propagate ( const glm::mat4 &  inhTransform,
float  inhScale,
float *  totalScale 
)
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.

Parameters
inhTransformparent transformation
inhScaleparent scale
[out]totalScaletotal scale of this node
Returns
model transformation of this node

Implemented in SRTTransform, and IdentityTransform.

virtual void Transform::update ( )
pure virtual

Called before propagation. Calculates the local transform internally.

Implemented in SRTTransform, and IdentityTransform.


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