vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Cube.h
Go to the documentation of this file.
1 #include <vrecko/Ability.h>
2 #include "DynamicScene.h"
3 
4 #include <osg/Vec3>
5 
6 using namespace vrecko;
7 
8 
9 namespace ode {
10 
11 class Cube: public Ability {
12  public:
13  Cube();
14  ~Cube() {};
15 
16  void postInitialize(void);
17  void update(void);
18 
19  bool loadXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *parametersNode);
20  XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *saveXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *);
21 
22  protected:
23  osg::Vec3 _size;
24  double _density;
25 
27 };
28 
29 }