#include <Manipulatables.h>
Public Member Functions | |
RotateAxis (Rotatable &rotatable) | |
void | Construct (const Matrix4 &device2manip, const float x, const float y) |
void | Transform (const Matrix4 &manip2object, const Matrix4 &device2manip, const float x, const float y) |
Converts current position to a normalised vector orthogonal to axis. | |
void | SetAxis (const Vector3 &axis) |
Private Attributes | |
Vector3 | m_axis |
Vector3 | m_start |
Rotatable & | m_rotatable |
Definition at line 64 of file Manipulatables.h.
RotateAxis::RotateAxis | ( | Rotatable & | rotatable | ) | [inline] |
Definition at line 70 of file Manipulatables.h.
void RotateAxis::Construct | ( | const Matrix4 & | device2manip, | |
const float | x, | |||
const float | y | |||
) | [virtual] |
Implements Manipulatable.
void RotateAxis::SetAxis | ( | const Vector3 & | axis | ) | [inline] |
Definition at line 79 of file Manipulatables.h.
References m_axis.
void RotateAxis::Transform | ( | const Matrix4 & | manip2object, | |
const Matrix4 & | device2manip, | |||
const float | x, | |||
const float | y | |||
) | [virtual] |
Converts current position to a normalised vector orthogonal to axis.
Implements Manipulatable.
Vector3 RotateAxis::m_axis [private] |
Definition at line 66 of file Manipulatables.h.
Referenced by SetAxis().
Rotatable& RotateAxis::m_rotatable [private] |
Definition at line 68 of file Manipulatables.h.
Vector3 RotateAxis::m_start [private] |
Definition at line 67 of file Manipulatables.h.