scg3  0.6
KeyboardController.h
Go to the documentation of this file.
1 
9 /*
10  * Copyright 2014 Volker Ahlers
11  *
12  * Licensed under the Apache License, Version 2.0 (the "License");
13  * you may not use this file except in compliance with the License.
14  * You may obtain a copy of the License at
15  *
16  * http://www.apache.org/licenses/LICENSE-2.0
17  *
18  * Unless required by applicable law or agreed to in writing, software
19  * distributed under the License is distributed on an "AS IS" BASIS,
20  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21  * See the License for the specific language governing permissions and
22  * limitations under the License.
23  */
24 
25 #ifndef KEYBOARDCONTROLLER_H_
26 #define KEYBOARDCONTROLLER_H_
27 
28 #include "scg_glew.h"
29 #include "CameraController.h"
30 #include "scg_internals.h"
31 
32 namespace scg {
33 
34 
42 
43 public:
44 
49 
53  virtual ~KeyboardController();
54 
58  static KeyboardControllerSP create(CameraSP camera);
59 
65  virtual void checkInput(ViewState* viewState);
66 
67 };
68 
69 
70 } /* namespace scg */
71 
72 #endif /* KEYBOARDCONTROLLER_H_ */
Base class for all cameras (composite node, abstract).
Definition: Camera.h:51
virtual void checkInput(ViewState *viewState)
KeyboardController(CameraSP camera)
static KeyboardControllerSP create(CameraSP camera)
A camera controller using keyboard input.
Base class for all camera controllers, acting on a Camera node (abstract).
Local header file for GLEW library.
The view state of the application, managed by Viewer and accessible by Controller::checkInput() (or d...
Definition: ViewState.h:39
Base class for all camera controllers, acting on a Camera node (abstract).
Definition: Animation.h:28
Internal definitions required by most classes.