GlobeEngine
MeshExampleInputControl.h
Go to the documentation of this file.
1 
8 #ifndef GlobeEngine_MeshExampleViewerInputControl_h
9 #define GlobeEngine_MeshExampleViewerInputControl_h
10 
11 #include "OpenGL_Includes.h"
12 #include "InputControl.h"
13 #include <vmmlib/matrix.hpp>
14 
15 namespace geMeshExample {
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
void keyReleaseEvent(unsigned char pKey)
Definition: MeshExampleViewerInputControl.cpp:102
~MeshExampleInputControl()
Definition: MeshExampleViewerInputControl.cpp:10
void keyPressEvent(unsigned char pKey)
Definition: MeshExampleViewerInputControl.cpp:95
void mouseButtonEvent(int button, int state, int x, int y)
Definition: MeshExampleViewerInputControl.cpp:67
void moveToLocation(vmml::Vector2d _delta)
Definition: MeshExampleInputControl.h:16
Definition: MeshExampleComposition.h:14
void wheelEvent(float _input)
Definition: MeshExampleViewerInputControl.cpp:13
void mouseMoveWhilePressedEvent(int button, int x, int y)
Definition: MeshExampleViewerInputControl.cpp:25
void mouseMoveStopEvent()
Definition: MeshExampleViewerInputControl.cpp:109
MeshExampleInputControl()
Definition: MeshExampleViewerInputControl.cpp:6
void mouseMoveEvent(int x, int y)
Definition: MeshExampleViewerInputControl.cpp:111
Definition: InputControl.h:16