scene::Transformation Class Reference

This is the Transformation class. More...

#include <Transformation.h>

Inheritance diagram for scene::Transformation:

Inheritance graph
[legend]
Collaboration diagram for scene::Transformation:

Collaboration graph
[legend]

List of all members.

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::Vector3fgetTranslation ()
void getRotation (float &rotateAngle, math::Vector3f &rotate)
const math::Vector3fgetTarget ()
const math::Vector3fgetScale ()
const char * toString ()

Protected Attributes

math::Vector3f _translate
math::Vector3f _target
math::Vector3f _rotate
float _rotateAngle
math::Vector3f _scale


Detailed Description

This is the Transformation class.

Constructor & Destructor Documentation

scene::Transformation::Transformation (  ) 

Constructor

virtual scene::Transformation::~Transformation (  )  [inline, virtual]

Destructor


Member Function Documentation

void scene::Transformation::setTranslation ( const math::Vector3f translate  ) 

Set the translation

Parameters:
translate The translation value

void scene::Transformation::setTarget ( const math::Vector3f target  ) 

Set the target

Parameters:
target The target value

void scene::Transformation::setRotation ( float  rotateAngle,
const math::Vector3f rotate 
)

Set the rotation

Parameters:
rotateAngle The rotate angle
rotate The rotate

void scene::Transformation::setScale ( math::Vector3f   ) 

Set the scale

Parameters:
scale The scale

const math::Vector3f& scene::Transformation::getTranslation (  ) 

Get the translation

Returns:
The translation

void scene::Transformation::getRotation ( float &  rotateAngle,
math::Vector3f rotate 
)

Get the rotation

Parameters:
rotateAngle Return the rotate angle
rotate Return the rotate

const math::Vector3f& scene::Transformation::getTarget (  ) 

Get target

Returns:
The scale

const math::Vector3f& scene::Transformation::getScale (  ) 

Get scale

Returns:
The scale

const char* scene::Transformation::toString (  )  [inline, virtual]

See also:
Object::toString()

Implements Object.

Reimplemented in scene::Camera, scene::Light, and scene::Mesh.


Member Data Documentation

The translation value

The target value

The rotation

The rotate angle

The scale


The documentation for this class was generated from the following file:

Generated on Mon Mar 3 10:53:10 2008 for Aika by  doxygen 1.5.5