vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
CentreObjectManipulator.h
Go to the documentation of this file.
1
#include <
vrecko/Ability.h
>
2
3
#include <osg/Timer>
4
5
using namespace
vrecko;
6
7
namespace
behindO {
8
9
class
CentreObjectManipulator
:
public
Ability
{
10
public
:
11
CentreObjectManipulator
();
12
~CentreObjectManipulator
() {};
13
14
void
processEvent(
const
std::string &input_name,
void
*value);
15
16
void
postInitialize(
void
);
17
18
void
update(
void
);
19
20
protected
:
21
EnvironmentObject
*
focus_area
;
22
EnvironmentObject
*focusing_marker, *
located_object
;
23
int
control
;
24
std::map<double, EnvironmentObject*>
score_map
;
25
// 1 - only ray, 2 - extent, ray
26
unsigned
int
version
;
27
osg::Timer
timer
;
28
osg::Timer_t
last_tick
;
29
30
EnvironmentObject
*
owner
;
31
Ability
*pAHMDHeadManipulator, *pAHeadManipulator, *
pAManipulator
;
32
};
33
34
}
35
36
//$Id: CentreObjectManipulator.h 1 2010-10-27 12:01:29Z xbezdeka $
include
vreckoAP
behindO
CentreObjectManipulator.h
Generated on Tue Feb 19 2013 10:23:42 for vrecko by
1.8.3.1