class CAVERN_moveManipStrategy : public ManipStrategy

Movement manipulation strategy

Inheritance:


Public Methods

CAVERN_moveManipStrategy()
Default constructor.
CAVERN_moveManipStrategy( const int moveBttn )
Parameterized constructor specifying button for movement
virtual ~CAVERN_moveManipStrategy()
Destructor.
virtual void eval()
Manipulation strategy implementation for moment
void setButton( const int moveBttn )
Set the button for movement manipulation

Inherited from ManipStrategy:

Public Methods

inline void setDCS( pfNetDCS *aDCS )
inline void setParent( pfGroup *aParent )

Protected Fields

pfGroup* parent
pfNetDCS* dcs

Documentation

Movement manipulation strategy. Using a relative position and orientation scheme, this strategy implements a manipulation scheme behaving like the user has grabbed the target object. Movement and rotation are possible by moving the Wand through the environment. The object is not tethered in place.

CAVERN_moveManipStrategy()
Default constructor.

CAVERN_moveManipStrategy( const int moveBttn )
Parameterized constructor specifying button for movement. The user can specify a different button from the default.
Parameters:
moveBttn - button (1-16) to use for movement manipulation

virtual ~CAVERN_moveManipStrategy()
Destructor.

virtual void eval()
Manipulation strategy implementation for moment. The strategy checks the Wand during every Performer app traversal through the scene graph. If the user is pressing the specified button for movement manipulation, then the object will be moved relative to the position and orientation of the Wand.

void setButton( const int moveBttn )
Set the button for movement manipulation
Parameters:
moveBttn - button (1-16) to use for movement manipulation


This class has no child classes.
Author:
Chris Scharver, Electronic Visualization Laboratory

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de