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
CompositeObject.h
Go to the documentation of this file.
1
#include <
vrecko/Ability.h
>
2
#include "
DynamicScene.h
"
3
4
using namespace
vrecko;
5
6
7
namespace
ode {
8
9
class
CompositeObject
:
public
Ability
{
10
public
:
11
CompositeObject
();
12
~CompositeObject
() {};
13
14
void
postInitialize(
void
);
15
void
update(
void
);
16
17
bool
loadXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode
*parametersNode);
18
XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode
*saveXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *);
19
20
protected
:
21
typedef
struct
{
22
int
_type
;
// 1 - Cube, 2 - Sphere, 3 - CappedCylinder
23
osg::Vec3
_size
;
24
double
_radius
;
25
double
_length
;
26
int
_direction
;
27
double
_density
;
28
osg::Vec3
_translate
;
29
}
Data
;
30
31
osg::Vec3
translate
;
32
33
std::vector<Data *>
_data
;
34
35
DECLARE_REQUEST_OUTPUT
(ODE,
DynamicScene::MessageODERequest
,
MessageVoid
);
36
};
37
38
}
39
include
vreckoAP
ODE
CompositeObject.h
Generated on Tue Feb 19 2013 10:23:45 for vrecko by
1.8.3.1