RotateAxis Class Reference

#include <Manipulatables.h>

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

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
Rotatablem_rotatable

Detailed Description

Definition at line 64 of file Manipulatables.h.


Constructor & Destructor Documentation

RotateAxis::RotateAxis ( Rotatable rotatable  )  [inline]

Definition at line 70 of file Manipulatables.h.


Member Function Documentation

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.


Field Documentation

Definition at line 66 of file Manipulatables.h.

Referenced by SetAxis().

Definition at line 68 of file Manipulatables.h.

Definition at line 67 of file Manipulatables.h.


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

Generated by  doxygen 1.6.2