Main Page | Class Hierarchy | Class List | File List | Class Members

Transformatable Class Reference

#include <transformatable.h>

Inheritance diagram for Transformatable:

TransparentTransformatable LightSource Material3D Media3D Object3D Pigment3D Texture3D PointLight Media3DMultiple Media3DSingle Box Cylinder Isosurface ObjectContainer Plane Sphere CameraPerspective Pigment3DConstant Pigment3DMapped List of all members.

Public Member Functions

virtual void translate (const Vector3 &v)=0
virtual void scale (const Vector3 &v)=0
virtual void rotateDeg (const Vector3 &v)=0
virtual void rotateRad (const Vector3 &v)=0
virtual void applyOrthogonalMatrix (const Matrix &M)=0
virtual void applyMatrix (const Matrix &M)=0
void axisRotate (const Vector3 &axis, DBL a)

Detailed Description

Describes the interface for everything that is in space and can be translated and transformed.
Author:
Micha Riser


Member Function Documentation

virtual void Transformatable::applyMatrix const Matrix M  )  [pure virtual]
 

Transform by non-singular matrix.

Parameters:
M matrix for which matrix L exists with M*L = I

Implemented in Object3D, and TransparentTransformatable.

virtual void Transformatable::applyOrthogonalMatrix const Matrix M  )  [pure virtual]
 

Transform by orthogonal matrix.

Parameters:
M matrix for which M * M^T = I holds

Implemented in Object3D, Pigment3DConstant, and TransparentTransformatable.

void Transformatable::axisRotate const Vector3 axis,
DBL  a
 

Rotate around given axis by given angle in radians

Parameters:
axis rotation axis
a angle in radians

virtual void Transformatable::rotateDeg const Vector3 v  )  [pure virtual]
 

Rotate around x,y and z axis.

Parameters:
v vector holding the rotation angles in degrees

Implemented in Box, Object3D, Sphere, and TransparentTransformatable.

virtual void Transformatable::rotateRad const Vector3 v  )  [pure virtual]
 

Rotate around x,y and z axis.

Parameters:
v vector holding the rotation angles in radians

Implemented in Box, Object3D, Sphere, and TransparentTransformatable.

virtual void Transformatable::scale const Vector3 v  )  [pure virtual]
 

Scale by x,y,z factor from vector.

Implemented in Box, Object3D, Pigment3DConstant, Sphere, and TransparentTransformatable.

virtual void Transformatable::translate const Vector3 v  )  [pure virtual]
 

Translate by vector.

Implemented in Box, Object3D, Pigment3DConstant, and TransparentTransformatable.


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 12:16:07 2005 for raytracer.kdevelop by doxygen 1.3.8