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

vrvis::TranslateAction Class Reference

Default Action to translate the scene. More...

#include <DefaultActions.hpp>

Inheritance diagram for vrvis::TranslateAction:

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

Public Member Functions

 TranslateAction (void)
 Constructor.
 ~TranslateAction (void)
 Destructor.
void execute (const gadget::Digital::State cButtonState)
 If button is down, translate the scene according to wand movement.

Detailed Description

Part of the "DefaultActionSet". When its button is held down, this Action translates the drawing origin according to concurrent wand movement.
See also:
Adding Actions


Constructor & Destructor Documentation

TranslateAction::TranslateAction void   ) 
 

Basic constructor.

TranslateAction::~TranslateAction void   ) 
 

Destructor.


Member Function Documentation

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

Saves the current wand and draw origin positions on TOGGLE_ON, and translates the scene if ON.

Parameters:
[in] cButtonState Button state of the connected digital device.
See also:
DigitalAction::execute()

Implements vrvis::DigitalAction.


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