vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ObjectInfo.h
Go to the documentation of this file.
1 #ifndef OBJECTINFO_H
2 #define OBJECTINFO_H
3 
4 #include <vrecko/Ability.h>
5 #include <osg/Group>
6 
7 
8 using namespace vrecko;
9 
10 
11 namespace APObjectUtils
12 {
13  class ObjectInfo: public Ability
14  {
15  public:
16  ObjectInfo();
17  virtual ~ObjectInfo();
18 
19  virtual void preInitialize();
20  virtual void update();
21 
22  protected:
24  std::string strPositionEvent, strOrientationEvent;
25 
26  DECLARE_OUTPUT(Position, MessageVec3);
27  DECLARE_OUTPUT(Orientation, MessageQuat);
28  };
29 }
30 
31 #endif