Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

vrvis::ZoomOutAction Class Reference

Default Action that zooms out of the scene. More...

#include <DefaultActions.hpp>

Inheritance diagram for vrvis::ZoomOutAction:

vrvis::ZoomAction vrvis::DigitalAction vrvis::Action List of all members.

Public Member Functions

 ZoomOutAction (void)
 Constructor.
 ~ZoomOutAction (void)
 Destructor.
void execute (const gadget::Digital::State cButtonState)
 Changes the current zoom factor and scales Input's scale matrix.

Detailed Description

Part of the "DefaultActionSet". While its button is held down, the scene is increasingly scaled down.
See also:
ZoomInAction


Constructor & Destructor Documentation

ZoomOutAction::ZoomOutAction void   ) 
 

Constructs a ZoomOutAction object.

ZoomOutAction::~ZoomOutAction void   ) 
 

Destructor.


Member Function Documentation

void ZoomOutAction::execute const gadget::Digital::State  cButtonState  )  [virtual]
 

If the button state is ON, the scene is scaled down. On TOGGLE_OFF, a message with the current zoom factor is sent to stdout.

Parameters:
[in] cButtonState Button state of the connected digital device.

Implements vrvis::ZoomAction.


The documentation for this class was generated from the following files:
Generated on Tue Sep 21 07:31:11 2004 for VRVis by doxygen 1.3.8