omegalib  13.1
omegaToolkit::WandManipulator Class Reference

Implements a wand node manipulator. More...

#include <WandManipulator.h>

Public Member Functions

 WandManipulator ()
 
virtual void handleEvent (const Event &evt)
 
virtual void update (const UpdateContext &conext)
 
virtual void setup (const Setting &s)
 
virtual bool handleCommand (const String &cmd)
 
Event::Flags getMoveButtonFlag ()
 
void setMoveButtonFlag (Event::Flags value)
 
Event::Flags getRotateButtonFlag ()
 
void setRotateButtonFlag (Event::Flags value)
 
- Public Member Functions inherited from omega::Actor
 Actor (const String &name)
 
 Actor ()
 
void kill ()
 
void setSceneNode (SceneNode *node)
 
SceneNodegetSceneNode ()
 
virtual void handleEvent (const Event &evt)
 
virtual bool handleCommand (const String &cmd)
 
virtual void onUpdate (const UpdateContext &context)
 Callbacks These callbacks can be enabled / disabled using the corresponding callback filter functions. More...
 
virtual void onEvent (const Event &evt)
 
virtual bool onCommand (const String &cmd)
 
void setUpdateEnabled (bool value)
 Callback filter functions. More...
 
void setCommandsEnabled (bool value)
 
void setEventsEnabled (bool value)
 
bool isUpdateEnabled ()
 
bool areCommandsEnabled ()
 
bool areEventsEnabled ()
 
- Public Member Functions inherited from omega::EngineModule
 EngineModule (const String &name)
 
 EngineModule ()
 
virtual ~EngineModule ()
 
void requestOpenGLProfile (OpenGLProfile profile)
 This method can be used within an engine module ctor or initialization to test for module compatibility. More...
 
void enableSharedData ()
 
void disableSharedData ()
 
virtual void initialize ()
 
virtual void dispose ()
 
virtual void commitSharedData (SharedOStream &out)
 
virtual void updateSharedData (SharedIStream &in)
 
virtual void initializeRenderer (Renderer *)
 
void doInitialize (Engine *server)
 
void doDispose ()
 
virtual bool isInitialized ()
 
EnginegetEngine ()
 
Priority getPriority ()
 
void setPriority (Priority value)
 
const StringgetName ()
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Additional Inherited Members

- Public Types inherited from omega::EngineModule
enum  Priority {
  PriorityLowest = 0, PriorityLow = 1, PriorityNormal = 2, PriorityHigh = 3,
  PriorityHighest = 4
}
 
enum  OpenGLProfile { CoreProfile, CompatibilityProfile, UnspecifiedProfile }
 
- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 
- Protected Attributes inherited from omega::Actor
SceneNodemyNode
 
bool myUpdateEnabled
 
bool myEventsEnabled
 
bool myCommandsEnabled
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 

Detailed Description

Implements a wand node manipulator.

Uses the wand ray to pick and move objects. Assumes the wand has additional analog axes to control object rotation.

+ Inheritance diagram for omegaToolkit::WandManipulator:

Constructor & Destructor Documentation

omegaToolkit::WandManipulator::WandManipulator ( )
inline

Member Function Documentation

Event::Flags omegaToolkit::WandManipulator::getMoveButtonFlag ( )
inline
Event::Flags omegaToolkit::WandManipulator::getRotateButtonFlag ( )
inline
virtual bool omegaToolkit::WandManipulator::handleCommand ( const String &  cmd)
virtual
virtual void omegaToolkit::WandManipulator::handleEvent ( const Event &  evt)
virtual
void omegaToolkit::WandManipulator::setMoveButtonFlag ( Event::Flags  value)
inline
void omegaToolkit::WandManipulator::setRotateButtonFlag ( Event::Flags  value)
inline
virtual void omegaToolkit::WandManipulator::setup ( const Setting s)
virtual
virtual void omegaToolkit::WandManipulator::update ( const UpdateContext conext)
virtual

Reimplemented from omega::Actor.


The documentation for this class was generated from the following file: