aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/contrib/DotNetManaged/JointAMotor.h
blob: aa3ca4b9c1cdaa959a88aa6c28c386f2462a8286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#pragma once

#include "Joint.h"

namespace ODEManaged
{
	__gc public class JointAMotor : public Joint
	{
	public:


		//Constructors

			JointAMotor				(void);
			JointAMotor				(World &world);
			JointAMotor				(World &world, JointGroup &jointGroup);
			

		//Destructor
			
			virtual ~JointAMotor	(void);


		//Methods	
		
			//Basic Stuff
			
				//Overloaded Create
				void	Create			(World &world, JointGroup &jointGroup);
				void	Create			(World &world);

				void	SetNumAxes		(int num);
				int		GetNumAxes		(void);

				void	SetAxis			(int anum, int rel, double x, double y, double z);
				Vector3 GetAxis			(int anum);
				
				void	SetAngle		(int anum, double angle);
				double	GetAngle		(int anum);

				void	SetMode			(int mode);
				int		GetMode			(void);

				int		GetAxisRel		(int anum);
				double	GetAngleRate	(int anum);

				//Overloaded Attach
				void	Attach			(Body &body1, Body &body2);	
				void	Attach			(Body &body1);


			//Movement Parameters

			void	SetParam		(int parameter, double value);
			double	GetParam		(int parameter);
			

			


	};
}