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

#include <IdentityTransform.h>

Inheritance diagram for IdentityTransform:
Transform

Public Member Functions

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

Detailed Description

Transform that propagates the parent transform without change.

Member Function Documentation

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

Implements Transform.

void IdentityTransform::update ( )
virtual

Called before propagation. Calculates the local transform internally.

Implements Transform.


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