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

vrvis::ZoomInAction Class Reference

Default Action that zooms into the scene. More...

#include <DefaultActions.hpp>

Inheritance diagram for vrvis::ZoomInAction:

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

Public Member Functions

 ZoomInAction (void)
 Constructor.
 ~ZoomInAction (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 up.
See also:
ZoomOutAction


Constructor & Destructor Documentation

ZoomInAction::ZoomInAction void   ) 
 

Constructs a ZoomInAction object.

ZoomInAction::~ZoomInAction void   ) 
 

Destructor.


Member Function Documentation

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

If the button state is ON, the scene is scaled up. 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:10 2004 for VRVis by doxygen 1.3.8