#include <Manipulatables.h>
Public Member Functions | |
TranslateAxis (Translatable &translatable) | |
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) |
void | SetAxis (const Vector3 &axis) |
Private Attributes | |
Vector3 | m_start |
Vector3 | m_axis |
Translatable & | m_translatable |
Definition at line 85 of file Manipulatables.h.
TranslateAxis::TranslateAxis | ( | Translatable & | translatable | ) | [inline] |
Definition at line 91 of file Manipulatables.h.
void TranslateAxis::Construct | ( | const Matrix4 & | device2manip, | |
const float | x, | |||
const float | y | |||
) | [virtual] |
Implements Manipulatable.
void TranslateAxis::SetAxis | ( | const Vector3 & | axis | ) | [inline] |
Definition at line 98 of file Manipulatables.h.
References m_axis.
void TranslateAxis::Transform | ( | const Matrix4 & | manip2object, | |
const Matrix4 & | device2manip, | |||
const float | x, | |||
const float | y | |||
) | [virtual] |
Implements Manipulatable.
Vector3 TranslateAxis::m_axis [private] |
Definition at line 88 of file Manipulatables.h.
Referenced by SetAxis().
Vector3 TranslateAxis::m_start [private] |
Definition at line 87 of file Manipulatables.h.
Translatable& TranslateAxis::m_translatable [private] |
Definition at line 89 of file Manipulatables.h.