Home | Hierarchy | Members | Alphabetical | Related Pages |
#include <transformator.h>
Public Member Functions | |
TransformatorHierarchy () | |
void | push (const Transformator &t) |
void | pop () |
void | transform (const float *src, float *dst) const |
void | transformByInverseTranspose (const float *src, float *dst) const |
Friends | |
bool | operator== (const TransformatorHierarchy &th0, const TransformatorHierarchy &th1) |
bool | operator!= (const TransformatorHierarchy &th0, const TransformatorHierarchy &th1) |
bool | operator< (const TransformatorHierarchy &th0, const TransformatorHierarchy &th1) |
std::ostream & | operator<< (std::ostream &s, const wrl::TransformatorHierarchy &t) |
|
Create an empty hierarchy equivalent to identity transform. |
|
|
|
|
|
Apply the sequence of Transformator pushed in the hierarchy by applying it in reverse order, that is last pushed first. The src and dst vectors can be the same (temporary values are used). |
|
Apply the sequence of Transformator pushed in the hierarchy by applying it in reverse order, that is last pushed first. Inverse transpose are used. This function should be used when transforming normals. |
|
|
|
|
|
|
|
|
Generated on 24 Feb 2005 with version 1.3.9.1. |