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