Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

sgluSphericalTransform Class Template Reference

#include <sgluSphericalTransform.hpp>

Inheritance diagram for sgluSphericalTransform::

sglSphericalTransform sglTransform sglGroup sglNode sglObject List of all members.

Public Methods

 sgluSphericalTransform ()
virtual ~sgluSphericalTransform ()
virtual void reset ()
void setTranslationScale (T scale)
getTranslationScale () const
void setRotationScale (T scale)
getRotationScale () const
virtual void update (sgluMouse *mouse)

Protected Attributes

bool m_first_time
int m_last_button
sglVec2<int> m_last_pos
sglVec2<int> m_delta

Detailed Description

template<class T> class sgluSphericalTransform

Helper class that connects the motion of the GLUT mouse to the different DOFs of the sglSphericalTransform node.

Definition at line 41 of file sgluSphericalTransform.hpp.

Constructor & Destructor Documentation

template<class T>
sgluSphericalTransform<T>::sgluSphericalTransform<T> ( ) [inline]

default constructor.

Definition at line 45 of file sgluSphericalTransform.hpp.

template<class T>
sgluSphericalTransform<T>::~sgluSphericalTransform<T> ( ) [inline, virtual]

virtual destructor.

Definition at line 56 of file sgluSphericalTransform.hpp.

Member Function Documentation

template<class T>
void sgluSphericalTransform<T>::reset ( ) [inline, virtual]

Reset to the initial state.

Reimplemented from sglSphericalTransform.

Definition at line 59 of file sgluSphericalTransform.hpp.

The documentation for this class was generated from the following file:
Generated at Mon Jul 1 18:00:10 2002 for SGL by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001