| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/dof.h>

Public Member Functions | |
| DOF (const Vector &dof=Vector(0.0, 0.0, 1.0)) | |
| Constructs a DOF transform by its direction. | |
| void | setDof (const Vector &dof) |
| Sets the direction the z-axis should be transformed to. | |
| Vector | getDof () const |
| Returns the direction the z-axis is transformed to. | |
| virtual const Matrix & | matrix (Engine *engine=NULL) const |
| The matrix that corresponds to this transformation. | |
| VRS_TYPEINFO (DOF, Transform) | |
| VRS_SERIALIZABLE (DOF) | |
Static Public Member Functions | |
| static Matrix | transformation (const Vector &dof) |
Constructs a DOF transform by its direction.
| void VRS::DOF::setDof | ( | const Vector & | dof | ) |
Sets the direction the z-axis should be transformed to.
The length of the given vector must not be zero.
| Vector VRS::DOF::getDof | ( | ) | const [inline] |
Returns the direction the z-axis is transformed to.
| VRS::DOF::VRS_SERIALIZABLE | ( | DOF | ) |