vrecko
virtual reality framework
 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 
10  public:
13 
14  void processEvent(const std::string &input_name, void *value);
15 
16  void postInitialize(void);
17 
18  void update(void);
19 
20  protected:
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 
31  Ability *pAHMDHeadManipulator, *pAHeadManipulator, *pAManipulator;
32 };
33 
34 }
35 
36 //$Id: CentreObjectManipulator.h 1 2010-10-27 12:01:29Z xbezdeka $