|
|
Supperclass for everything that is in space an can be translated and transformed.
| Transformatable ()
| Transformatable |
Create untransformated Transformatable.
| Transformatable (Vector3 loc)
| Transformatable |
| Transformatable (const Transformatable &t)
| Transformatable |
Copy constructor.
| ~Transformatable ()
| ~Transformatable |
[virtual]
| Transformatable& operator= (const Transformatable&)
| operator= |
[private]
| Vector3 getTranslation ()
| getTranslation |
[const]
Returns: translation vector
| const Matrix* getTransformationMatrix ()
| getTransformationMatrix |
[const]
Returns: pointer to transformation matrix
| const Matrix* getInverseMatrix ()
| getInverseMatrix |
[const]
Returns: pointer to inverse transformation matrix
| void translate (const Vector3 &v)
| translate |
[virtual]
Translate by vector.
| void scale (Vector3 v)
| scale |
[virtual]
Scale by x,y,z factor from vector.
| void rotate (const Vector3 &v)
| rotate |
[virtual]
Rotate around x,y,z axe.
Parameters:
| v | vector holding the rotation angles in degrees |
| void applyOrthogonalMatrix (const Matrix &m)
| applyOrthogonalMatrix |
[virtual]
Transform by orthogonal matrix.
| void transform (const Transformatable& t)
| transform |
[virtual]
Transform the same way as given Transformatable.
| void transformInverse (const Transformatable& t)
| transformInverse |
[virtual]
Transform inverse as given Transformatble.
| void transformPointIn (Vector3 &p)
| transformPointIn |
[const]
Transform point into local space.
| void transformNormalIn (Vector3 &p)
| transformNormalIn |
[const]
Transform normal vector into local space.
| void transformNormalOut (Vector3 &p)
| transformNormalOut |
[const]
Transform normal vector from local space to outer space.
| void transformRayIn (Ray &r)
| transformRayIn |
[const]
Transform ray into local space.
| Vector3 translation | translation |
[protected]
| Matrix* transformation | transformation |
[protected]
| Matrix* inverse | inverse |
[protected]