GlobeEngine
PointCloudExampleInputControl.h
Go to the documentation of this file.
1 
8 #ifndef GlobeEngine_PCExampleViewerInputControl_h
9 #define GlobeEngine_PCExampleViewerInputControl_h
10 
11 #include "OpenGL_Includes.h"
12 #include "InputControl.h"
13 #include <vmmlib/matrix.hpp>
14 
15 namespace gePointCloudExample {
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 mouseMoveWhilePressedEvent(int button, int x, int y)
Definition: PointCloudExampleViewerInputControl.cpp:25
void mouseButtonEvent(int button, int state, int x, int y)
Definition: PointCloudExampleViewerInputControl.cpp:67
PointCloudExampleInputControl()
Definition: PointCloudExampleViewerInputControl.cpp:6
void mouseMoveStopEvent()
Definition: PointCloudExampleViewerInputControl.cpp:111
void mouseMoveEvent(int x, int y)
Definition: PointCloudExampleViewerInputControl.cpp:113
Definition: PointCloudExampleComposition.h:13
void keyReleaseEvent(unsigned char pKey)
Definition: PointCloudExampleViewerInputControl.cpp:103
Definition: PointCloudExampleInputControl.h:16
void keyPressEvent(unsigned char pKey)
Definition: PointCloudExampleViewerInputControl.cpp:95
Definition: InputControl.h:16
~PointCloudExampleInputControl()
Definition: PointCloudExampleViewerInputControl.cpp:10
void wheelEvent(float _input)
Definition: PointCloudExampleViewerInputControl.cpp:13