diff options
Diffstat (limited to 'libraries/ode-0.9/contrib/DotNetManaged/JointAMotor.h')
-rw-r--r-- | libraries/ode-0.9/contrib/DotNetManaged/JointAMotor.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/libraries/ode-0.9/contrib/DotNetManaged/JointAMotor.h b/libraries/ode-0.9/contrib/DotNetManaged/JointAMotor.h new file mode 100644 index 0000000..aa3ca4b --- /dev/null +++ b/libraries/ode-0.9/contrib/DotNetManaged/JointAMotor.h | |||
@@ -0,0 +1,62 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "Joint.h" | ||
4 | |||
5 | namespace ODEManaged | ||
6 | { | ||
7 | __gc public class JointAMotor : public Joint | ||
8 | { | ||
9 | public: | ||
10 | |||
11 | |||
12 | //Constructors | ||
13 | |||
14 | JointAMotor (void); | ||
15 | JointAMotor (World &world); | ||
16 | JointAMotor (World &world, JointGroup &jointGroup); | ||
17 | |||
18 | |||
19 | //Destructor | ||
20 | |||
21 | virtual ~JointAMotor (void); | ||
22 | |||
23 | |||
24 | //Methods | ||
25 | |||
26 | //Basic Stuff | ||
27 | |||
28 | //Overloaded Create | ||
29 | void Create (World &world, JointGroup &jointGroup); | ||
30 | void Create (World &world); | ||
31 | |||
32 | void SetNumAxes (int num); | ||
33 | int GetNumAxes (void); | ||
34 | |||
35 | void SetAxis (int anum, int rel, double x, double y, double z); | ||
36 | Vector3 GetAxis (int anum); | ||
37 | |||
38 | void SetAngle (int anum, double angle); | ||
39 | double GetAngle (int anum); | ||
40 | |||
41 | void SetMode (int mode); | ||
42 | int GetMode (void); | ||
43 | |||
44 | int GetAxisRel (int anum); | ||
45 | double GetAngleRate (int anum); | ||
46 | |||
47 | //Overloaded Attach | ||
48 | void Attach (Body &body1, Body &body2); | ||
49 | void Attach (Body &body1); | ||
50 | |||
51 | |||
52 | //Movement Parameters | ||
53 | |||
54 | void SetParam (int parameter, double value); | ||
55 | double GetParam (int parameter); | ||
56 | |||
57 | |||
58 | |||
59 | |||
60 | |||
61 | }; | ||
62 | } | ||