#include <Transformation.h>
Public Member Functions | |
Transformation () | |
virtual | ~Transformation () |
void | setTranslation (const math::Vector3f &translate) |
void | setTarget (const math::Vector3f &target) |
void | setRotation (float rotateAngle, const math::Vector3f &rotate) |
void | setScale (math::Vector3f) |
const math::Vector3f & | getTranslation () |
void | getRotation (float &rotateAngle, math::Vector3f &rotate) |
const math::Vector3f & | getTarget () |
const math::Vector3f & | getScale () |
const char * | toString () |
Protected Attributes | |
math::Vector3f | _translate |
math::Vector3f | _target |
math::Vector3f | _rotate |
float | _rotateAngle |
math::Vector3f | _scale |
scene::Transformation::Transformation | ( | ) |
Constructor
virtual scene::Transformation::~Transformation | ( | ) | [inline, virtual] |
Destructor
void scene::Transformation::setTranslation | ( | const math::Vector3f & | translate | ) |
Set the translation
translate | The translation value |
void scene::Transformation::setTarget | ( | const math::Vector3f & | target | ) |
Set the target
target | The target value |
void scene::Transformation::setRotation | ( | float | rotateAngle, | |
const math::Vector3f & | rotate | |||
) |
Set the rotation
rotateAngle | The rotate angle | |
rotate | The rotate |
void scene::Transformation::setScale | ( | math::Vector3f | ) |
Set the scale
scale | The scale |
const math::Vector3f& scene::Transformation::getTranslation | ( | ) |
Get the translation
void scene::Transformation::getRotation | ( | float & | rotateAngle, | |
math::Vector3f & | rotate | |||
) |
Get the rotation
rotateAngle | Return the rotate angle | |
rotate | Return the rotate |
const math::Vector3f& scene::Transformation::getTarget | ( | ) |
Get target
const math::Vector3f& scene::Transformation::getScale | ( | ) |
Get scale
const char* scene::Transformation::toString | ( | ) | [inline, virtual] |
Implements Object.
Reimplemented in scene::Camera, scene::Light, and scene::Mesh.
math::Vector3f scene::Transformation::_translate [protected] |
The translation value
math::Vector3f scene::Transformation::_target [protected] |
The target value
math::Vector3f scene::Transformation::_rotate [protected] |
The rotation
float scene::Transformation::_rotateAngle [protected] |
The rotate angle
math::Vector3f scene::Transformation::_scale [protected] |
The scale