GlobeEngine
Main Page
Namespaces
Classes
Files
File List
File Members
TextureExampleViewerInputControl.h
Go to the documentation of this file.
1
8
#ifndef GlobeEngine_TextureExampleViewerInputControl_h
9
#define GlobeEngine_TextureExampleViewerInputControl_h
10
11
#include "OpenGL_Includes.h"
12
#include "
InputControl.h
"
13
#include <vmmlib/matrix.hpp>
14
15
namespace
geTextureExample
{
16
17
class
TextureExampleViewerInputControl
:
public
ge::InputControl
18
{
19
public
:
20
TextureExampleViewerInputControl
();
21
~TextureExampleViewerInputControl
();
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
InputControl.h
geTextureExample::TextureExampleViewerInputControl::mouseButtonEvent
void mouseButtonEvent(int button, int state, int x, int y)
Definition:
TextureExampleViewerInputControl.cpp:68
geTextureExample::TextureExampleViewerInputControl::~TextureExampleViewerInputControl
~TextureExampleViewerInputControl()
Definition:
TextureExampleViewerInputControl.cpp:11
geTextureExample::TextureExampleViewerInputControl::moveToLocation
void moveToLocation(vmml::Vector2d _delta)
geTextureExample::TextureExampleViewerInputControl::mouseMoveWhilePressedEvent
void mouseMoveWhilePressedEvent(int button, int x, int y)
Definition:
TextureExampleViewerInputControl.cpp:26
geTextureExample::TextureExampleViewerInputControl::mouseMoveStopEvent
void mouseMoveStopEvent()
Definition:
TextureExampleViewerInputControl.cpp:107
geTextureExample::TextureExampleViewerInputControl::wheelEvent
void wheelEvent(float _input)
Definition:
TextureExampleViewerInputControl.cpp:14
geTextureExample
Definition:
TextureExampleComposition.h:14
geTextureExample::TextureExampleViewerInputControl
Definition:
TextureExampleViewerInputControl.h:17
geTextureExample::TextureExampleViewerInputControl::keyReleaseEvent
void keyReleaseEvent(unsigned char pKey)
Definition:
TextureExampleViewerInputControl.cpp:105
geTextureExample::TextureExampleViewerInputControl::mouseMoveEvent
void mouseMoveEvent(int x, int y)
Definition:
TextureExampleViewerInputControl.cpp:109
geTextureExample::TextureExampleViewerInputControl::TextureExampleViewerInputControl
TextureExampleViewerInputControl()
Definition:
TextureExampleViewerInputControl.cpp:7
geTextureExample::TextureExampleViewerInputControl::keyPressEvent
void keyPressEvent(unsigned char pKey)
Definition:
TextureExampleViewerInputControl.cpp:96
ge::InputControl
Definition:
InputControl.h:16
src
textureExample
include
TextureExampleViewerInputControl.h
Generated on Wed Aug 9 2017 14:47:06 for GlobeEngine by
1.8.9