PowerUI.TransformationStack Class Reference

Detailed Description

Represents a stack of transformations (e.g. scale, translate, rotate). PowerUI.Renderman.Transformations The renderman maintains a stack of transformations. The frame on the top of the stack is applied to each element being renderered as a post process.

Public Member Functions

void Push (Transformation transform)
 Add a transformation to the top of the stack. More...
 
void Pop ()
 Removes a transformation from the top of the stack. More...
 
void Clear ()
 Clears all transformations from the stack. More...
 

Public Attributes

Transformation Last
 The last element on the stack - it's at the top. More...
 
Transformation First
 The first element on the stack - it's at the bottom. More...
 

Member Function Documentation

void PowerUI.TransformationStack.Clear ( )
inline

Clears all transformations from the stack.

void PowerUI.TransformationStack.Pop ( )
inline

Removes a transformation from the top of the stack.

void PowerUI.TransformationStack.Push ( Transformation  transform)
inline

Add a transformation to the top of the stack.

Parameters
transformThe transformation to add.

Member Data Documentation

Transformation PowerUI.TransformationStack.First

The first element on the stack - it's at the bottom.

Transformation PowerUI.TransformationStack.Last

The last element on the stack - it's at the top.