TranslateAxis Class Reference

#include <Manipulatables.h>

Inheritance diagram for TranslateAxis:
Inheritance graph
[legend]
Collaboration diagram for TranslateAxis:
Collaboration graph
[legend]

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
Translatablem_translatable

Detailed Description

Definition at line 85 of file Manipulatables.h.


Constructor & Destructor Documentation

TranslateAxis::TranslateAxis ( Translatable translatable  )  [inline]

Definition at line 91 of file Manipulatables.h.


Member Function Documentation

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.


Field Documentation

Definition at line 88 of file Manipulatables.h.

Referenced by SetAxis().

Definition at line 87 of file Manipulatables.h.

Definition at line 89 of file Manipulatables.h.


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

Generated by  doxygen 1.6.2