GlobeEngine
AvalancheTrainingSimulationInputControl.h
Go to the documentation of this file.
1 
8 #ifndef GlobeEngine_AvalancheTrainingSimulationInputControl_h
9 #define GlobeEngine_AvalancheTrainingSimulationInputControl_h
10 
11 #include "OpenGL_Includes.h"
12 #include "InputControl.h"
13 #include <vmmlib/matrix.hpp>
14 
15 namespace geATS {
17  {
18  public:
21 
22  // GlobeEngine Input Control overrides
23  void mouseMoveWhilePressedEvent(int button, int x, int y);
24  void mouseButtonEvent(int button, int state, int x, int y);
25  void wheelEvent(float _input);
26  void moveToLocation( vmml::Vector2d _delta);
27  void keyPressEvent(unsigned char pKey);
28  void keyReleaseEvent(unsigned char pKey);
29  void mouseMoveStopEvent();
30  void mouseMoveEvent(int x, int y);
31 
32  private:
33  void setMoveCommand(int _camID, int _command);
34  void setCommand(int _camID, int _command, float _value);
35  };
36 }
37 #endif
AvalancheTrainingSimulationInputControl()
Definition: AvalancheTrainingSimulationInputControl.cpp:7
void wheelEvent(float _input)
Definition: AvalancheTrainingSimulationInputControl.cpp:14
void keyPressEvent(unsigned char pKey)
Definition: AvalancheTrainingSimulationInputControl.cpp:105
void mouseMoveWhilePressedEvent(int button, int x, int y)
Definition: AvalancheTrainingSimulationInputControl.cpp:29
Definition: AvalancheTrainingSimulationComposition.h:13
void mouseButtonEvent(int button, int state, int x, int y)
Definition: AvalancheTrainingSimulationInputControl.cpp:74
void mouseMoveEvent(int x, int y)
Definition: AvalancheTrainingSimulationInputControl.cpp:111
void keyReleaseEvent(unsigned char pKey)
Definition: AvalancheTrainingSimulationInputControl.cpp:107
void mouseMoveStopEvent()
Definition: AvalancheTrainingSimulationInputControl.cpp:109
Definition: InputControl.h:16
~AvalancheTrainingSimulationInputControl()
Definition: AvalancheTrainingSimulationInputControl.cpp:11
void moveToLocation(vmml::Vector2d _delta)
Definition: AvalancheTrainingSimulationInputControl.h:16