Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

Transformer Class Reference

The Transformer is an interface specifying how to compute the transformation Matrix from an initial mouse click (screen position) and final mouse click. More...

#include <Transformer.h>

Inheritance diagram for Transformer:

TransformerArcBall TransformerPan TransformerZoom List of all members.

Public Member Functions

virtual ~Transformer ()
 Virtual (emtpy) destructor defined to ensure that derived classes' destructors are invoked.

virtual void reshape (int width, int height)=0
 Update the Transformer screen dimensions.

virtual void start (float x, float y)=0
 Starts a transformation at the given screen coordinates.

virtual const Matrix end (float x, float y)=0
 Computes the Matrix representing the transformation from the initial screen coordinates (start) and the current screen coordinates.


Detailed Description

The Transformer is an interface specifying how to compute the transformation Matrix from an initial mouse click (screen position) and final mouse click.


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 23:40:58 2003 for Shadow by doxygen 1.3.2