Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ode/ode-0.9/contrib/DotNetManaged/JointAMotor.h @ 216

Last change on this file since 216 was 216, checked in by mathiask, 16 years ago

[Physik] add ode-0.9

File size: 1.1 KB
Line 
1#pragma once
2
3#include "Joint.h"
4
5namespace 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}
Note: See TracBrowser for help on using the repository browser.