Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Class Members

Examiner Class Reference
[Scene Graph]

#include <lvt/Examiner.h>

Inheritance diagram for Examiner:

Inheritance graph
[legend]
List of all members.

Detailed Description

Translates mouse movement into a rotation.

An Examiner is a mouse interface to a rotation. When attached to a window via Wnd::SetInputHandler, an Examiner will translate horizontal mouse movement into a rotation about the local Y-axis, and vertical mouse movement into a rotation about the local X-axis. This can be thought of as moving the camera in an altitude-azimuth orientation with respect to the subgraph following the Examiner.


Public Member Functions

virtual bool OnLButtonDown (class Wnd *w, int x, int y)
 The left mouse button has been pressed.
virtual bool OnLButtonUp (class Wnd *w, int x, int y)
 The left mouse button has been released.
virtual bool OnMouseMove (class Wnd *w, int x, int y)
 The mouse has been moved.
void Render ()
 Renders the object.


Member Function Documentation

virtual bool OnLButtonDown class Wnd w,
int  x,
int  y
[virtual]
 

The left mouse button has been pressed.

Reimplemented from InputHandler.

virtual bool OnLButtonUp class Wnd w,
int  x,
int  y
[virtual]
 

The left mouse button has been released.

Reimplemented from InputHandler.

virtual bool OnMouseMove class Wnd w,
int  x,
int  y
[virtual]
 

The mouse has been moved.

Reimplemented from InputHandler.

void Render  )  [virtual]
 

Renders the object.

Draws the object and/or modifies the OpenGL state appropriately.

Implements Node.


Generated on Thu Feb 17 09:45:47 2005 for liblvt by  doxygen 1.4.1