• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 3.0.8
4  *
5  * Do not make changes to this file unless you know what you are doing--modify
6  * the SWIG interface file instead.
7  * ----------------------------------------------------------------------------- */
8 
9 package com.badlogic.gdx.physics.bullet.softbody;
10 
11 import com.badlogic.gdx.physics.bullet.BulletBase;
12 import com.badlogic.gdx.physics.bullet.linearmath.*;
13 import com.badlogic.gdx.physics.bullet.collision.*;
14 import com.badlogic.gdx.physics.bullet.dynamics.*;
15 import com.badlogic.gdx.math.Vector3;
16 import com.badlogic.gdx.math.Quaternion;
17 import com.badlogic.gdx.math.Matrix3;
18 import com.badlogic.gdx.math.Matrix4;
19 import com.badlogic.gdx.graphics.Mesh;
20 import com.badlogic.gdx.graphics.g3d.model.MeshPart;
21 
22 public class btSoftBody extends btCollisionObject {
23 	private long swigCPtr;
24 
btSoftBody(final String className, long cPtr, boolean cMemoryOwn)25 	protected btSoftBody(final String className, long cPtr, boolean cMemoryOwn) {
26 		super(className, SoftbodyJNI.btSoftBody_SWIGUpcast(cPtr), cMemoryOwn);
27 		swigCPtr = cPtr;
28 	}
29 
30 	/** Construct a new btSoftBody, normally you should not need this constructor it's intended for low-level usage. */
btSoftBody(long cPtr, boolean cMemoryOwn)31 	public btSoftBody(long cPtr, boolean cMemoryOwn) {
32 		this("btSoftBody", cPtr, cMemoryOwn);
33 		construct();
34 	}
35 
36 	@Override
reset(long cPtr, boolean cMemoryOwn)37 	protected void reset(long cPtr, boolean cMemoryOwn) {
38 		if (!destroyed)
39 			destroy();
40 		super.reset(SoftbodyJNI.btSoftBody_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
41 	}
42 
getCPtr(btSoftBody obj)43 	public static long getCPtr(btSoftBody obj) {
44 		return (obj == null) ? 0 : obj.swigCPtr;
45 	}
46 
47 	@Override
finalize()48 	protected void finalize() throws Throwable {
49 		if (!destroyed)
50 			destroy();
51 		super.finalize();
52 	}
53 
delete()54   @Override protected synchronized void delete() {
55 		if (swigCPtr != 0) {
56 			if (swigCMemOwn) {
57 				swigCMemOwn = false;
58 				SoftbodyJNI.delete_btSoftBody(swigCPtr);
59 			}
60 			swigCPtr = 0;
61 		}
62 		super.delete();
63 	}
64 
setCollisionDisabledObjects(btCollisionObjectConstArray value)65   public void setCollisionDisabledObjects(btCollisionObjectConstArray value) {
66     SoftbodyJNI.btSoftBody_collisionDisabledObjects_set(swigCPtr, this, btCollisionObjectConstArray.getCPtr(value), value);
67   }
68 
getCollisionDisabledObjects()69   public btCollisionObjectConstArray getCollisionDisabledObjects() {
70     long cPtr = SoftbodyJNI.btSoftBody_collisionDisabledObjects_get(swigCPtr, this);
71     return (cPtr == 0) ? null : new btCollisionObjectConstArray(cPtr, false);
72   }
73 
setSoftBodySolver(btSoftBodySolver value)74   public void setSoftBodySolver(btSoftBodySolver value) {
75     SoftbodyJNI.btSoftBody_softBodySolver_set(swigCPtr, this, btSoftBodySolver.getCPtr(value), value);
76   }
77 
getSoftBodySolver()78   public btSoftBodySolver getSoftBodySolver() {
79     long cPtr = SoftbodyJNI.btSoftBody_softBodySolver_get(swigCPtr, this);
80     return (cPtr == 0) ? null : new btSoftBodySolver(cPtr, false);
81   }
82 
83   static public class eAeroModel extends BulletBase {
84   	private long swigCPtr;
85 
eAeroModel(final String className, long cPtr, boolean cMemoryOwn)86   	protected eAeroModel(final String className, long cPtr, boolean cMemoryOwn) {
87   		super(className, cPtr, cMemoryOwn);
88   		swigCPtr = cPtr;
89   	}
90 
91   	/** Construct a new eAeroModel, normally you should not need this constructor it's intended for low-level usage. */
eAeroModel(long cPtr, boolean cMemoryOwn)92   	public eAeroModel(long cPtr, boolean cMemoryOwn) {
93   		this("eAeroModel", cPtr, cMemoryOwn);
94   		construct();
95   	}
96 
97   	@Override
reset(long cPtr, boolean cMemoryOwn)98   	protected void reset(long cPtr, boolean cMemoryOwn) {
99   		if (!destroyed)
100   			destroy();
101   		super.reset(swigCPtr = cPtr, cMemoryOwn);
102   	}
103 
getCPtr(eAeroModel obj)104   	public static long getCPtr(eAeroModel obj) {
105   		return (obj == null) ? 0 : obj.swigCPtr;
106   	}
107 
108   	@Override
finalize()109   	protected void finalize() throws Throwable {
110   		if (!destroyed)
111   			destroy();
112   		super.finalize();
113   	}
114 
delete()115     @Override protected synchronized void delete() {
116   		if (swigCPtr != 0) {
117   			if (swigCMemOwn) {
118   				swigCMemOwn = false;
119   				SoftbodyJNI.delete_btSoftBody_eAeroModel(swigCPtr);
120   			}
121   			swigCPtr = 0;
122   		}
123   		super.delete();
124   	}
125 
eAeroModel()126     public eAeroModel() {
127       this(SoftbodyJNI.new_btSoftBody_eAeroModel(), true);
128     }
129 
130     public final static class _ {
131       public final static int V_Point = 0;
132       public final static int V_TwoSided = V_Point + 1;
133       public final static int V_TwoSidedLiftDrag = V_TwoSided + 1;
134       public final static int V_OneSided = V_TwoSidedLiftDrag + 1;
135       public final static int F_TwoSided = V_OneSided + 1;
136       public final static int F_TwoSidedLiftDrag = F_TwoSided + 1;
137       public final static int F_OneSided = F_TwoSidedLiftDrag + 1;
138       public final static int END = F_OneSided + 1;
139     }
140 
141   }
142 
143   static public class eVSolver extends BulletBase {
144   	private long swigCPtr;
145 
eVSolver(final String className, long cPtr, boolean cMemoryOwn)146   	protected eVSolver(final String className, long cPtr, boolean cMemoryOwn) {
147   		super(className, cPtr, cMemoryOwn);
148   		swigCPtr = cPtr;
149   	}
150 
151   	/** Construct a new eVSolver, normally you should not need this constructor it's intended for low-level usage. */
eVSolver(long cPtr, boolean cMemoryOwn)152   	public eVSolver(long cPtr, boolean cMemoryOwn) {
153   		this("eVSolver", cPtr, cMemoryOwn);
154   		construct();
155   	}
156 
157   	@Override
reset(long cPtr, boolean cMemoryOwn)158   	protected void reset(long cPtr, boolean cMemoryOwn) {
159   		if (!destroyed)
160   			destroy();
161   		super.reset(swigCPtr = cPtr, cMemoryOwn);
162   	}
163 
getCPtr(eVSolver obj)164   	public static long getCPtr(eVSolver obj) {
165   		return (obj == null) ? 0 : obj.swigCPtr;
166   	}
167 
168   	@Override
finalize()169   	protected void finalize() throws Throwable {
170   		if (!destroyed)
171   			destroy();
172   		super.finalize();
173   	}
174 
delete()175     @Override protected synchronized void delete() {
176   		if (swigCPtr != 0) {
177   			if (swigCMemOwn) {
178   				swigCMemOwn = false;
179   				SoftbodyJNI.delete_btSoftBody_eVSolver(swigCPtr);
180   			}
181   			swigCPtr = 0;
182   		}
183   		super.delete();
184   	}
185 
eVSolver()186     public eVSolver() {
187       this(SoftbodyJNI.new_btSoftBody_eVSolver(), true);
188     }
189 
190     public final static class _ {
191       public final static int Linear = 0;
192       public final static int END = Linear + 1;
193     }
194 
195   }
196 
197   static public class ePSolver extends BulletBase {
198   	private long swigCPtr;
199 
ePSolver(final String className, long cPtr, boolean cMemoryOwn)200   	protected ePSolver(final String className, long cPtr, boolean cMemoryOwn) {
201   		super(className, cPtr, cMemoryOwn);
202   		swigCPtr = cPtr;
203   	}
204 
205   	/** Construct a new ePSolver, normally you should not need this constructor it's intended for low-level usage. */
ePSolver(long cPtr, boolean cMemoryOwn)206   	public ePSolver(long cPtr, boolean cMemoryOwn) {
207   		this("ePSolver", cPtr, cMemoryOwn);
208   		construct();
209   	}
210 
211   	@Override
reset(long cPtr, boolean cMemoryOwn)212   	protected void reset(long cPtr, boolean cMemoryOwn) {
213   		if (!destroyed)
214   			destroy();
215   		super.reset(swigCPtr = cPtr, cMemoryOwn);
216   	}
217 
getCPtr(ePSolver obj)218   	public static long getCPtr(ePSolver obj) {
219   		return (obj == null) ? 0 : obj.swigCPtr;
220   	}
221 
222   	@Override
finalize()223   	protected void finalize() throws Throwable {
224   		if (!destroyed)
225   			destroy();
226   		super.finalize();
227   	}
228 
delete()229     @Override protected synchronized void delete() {
230   		if (swigCPtr != 0) {
231   			if (swigCMemOwn) {
232   				swigCMemOwn = false;
233   				SoftbodyJNI.delete_btSoftBody_ePSolver(swigCPtr);
234   			}
235   			swigCPtr = 0;
236   		}
237   		super.delete();
238   	}
239 
ePSolver()240     public ePSolver() {
241       this(SoftbodyJNI.new_btSoftBody_ePSolver(), true);
242     }
243 
244     public final static class _ {
245       public final static int Linear = 0;
246       public final static int Anchors = Linear + 1;
247       public final static int RContacts = Anchors + 1;
248       public final static int SContacts = RContacts + 1;
249       public final static int END = SContacts + 1;
250     }
251 
252   }
253 
254   static public class eSolverPresets extends BulletBase {
255   	private long swigCPtr;
256 
eSolverPresets(final String className, long cPtr, boolean cMemoryOwn)257   	protected eSolverPresets(final String className, long cPtr, boolean cMemoryOwn) {
258   		super(className, cPtr, cMemoryOwn);
259   		swigCPtr = cPtr;
260   	}
261 
262   	/** Construct a new eSolverPresets, normally you should not need this constructor it's intended for low-level usage. */
eSolverPresets(long cPtr, boolean cMemoryOwn)263   	public eSolverPresets(long cPtr, boolean cMemoryOwn) {
264   		this("eSolverPresets", cPtr, cMemoryOwn);
265   		construct();
266   	}
267 
268   	@Override
reset(long cPtr, boolean cMemoryOwn)269   	protected void reset(long cPtr, boolean cMemoryOwn) {
270   		if (!destroyed)
271   			destroy();
272   		super.reset(swigCPtr = cPtr, cMemoryOwn);
273   	}
274 
getCPtr(eSolverPresets obj)275   	public static long getCPtr(eSolverPresets obj) {
276   		return (obj == null) ? 0 : obj.swigCPtr;
277   	}
278 
279   	@Override
finalize()280   	protected void finalize() throws Throwable {
281   		if (!destroyed)
282   			destroy();
283   		super.finalize();
284   	}
285 
delete()286     @Override protected synchronized void delete() {
287   		if (swigCPtr != 0) {
288   			if (swigCMemOwn) {
289   				swigCMemOwn = false;
290   				SoftbodyJNI.delete_btSoftBody_eSolverPresets(swigCPtr);
291   			}
292   			swigCPtr = 0;
293   		}
294   		super.delete();
295   	}
296 
eSolverPresets()297     public eSolverPresets() {
298       this(SoftbodyJNI.new_btSoftBody_eSolverPresets(), true);
299     }
300 
301     public final static class _ {
302       public final static int Positions = 0;
303       public final static int Velocities = Positions + 1;
304       public final static int Default = Positions;
305       public final static int END = Default + 1;
306     }
307 
308   }
309 
310   static public class eFeature extends BulletBase {
311   	private long swigCPtr;
312 
eFeature(final String className, long cPtr, boolean cMemoryOwn)313   	protected eFeature(final String className, long cPtr, boolean cMemoryOwn) {
314   		super(className, cPtr, cMemoryOwn);
315   		swigCPtr = cPtr;
316   	}
317 
318   	/** Construct a new eFeature, normally you should not need this constructor it's intended for low-level usage. */
eFeature(long cPtr, boolean cMemoryOwn)319   	public eFeature(long cPtr, boolean cMemoryOwn) {
320   		this("eFeature", cPtr, cMemoryOwn);
321   		construct();
322   	}
323 
324   	@Override
reset(long cPtr, boolean cMemoryOwn)325   	protected void reset(long cPtr, boolean cMemoryOwn) {
326   		if (!destroyed)
327   			destroy();
328   		super.reset(swigCPtr = cPtr, cMemoryOwn);
329   	}
330 
getCPtr(eFeature obj)331   	public static long getCPtr(eFeature obj) {
332   		return (obj == null) ? 0 : obj.swigCPtr;
333   	}
334 
335   	@Override
finalize()336   	protected void finalize() throws Throwable {
337   		if (!destroyed)
338   			destroy();
339   		super.finalize();
340   	}
341 
delete()342     @Override protected synchronized void delete() {
343   		if (swigCPtr != 0) {
344   			if (swigCMemOwn) {
345   				swigCMemOwn = false;
346   				SoftbodyJNI.delete_btSoftBody_eFeature(swigCPtr);
347   			}
348   			swigCPtr = 0;
349   		}
350   		super.delete();
351   	}
352 
eFeature()353     public eFeature() {
354       this(SoftbodyJNI.new_btSoftBody_eFeature(), true);
355     }
356 
357     public final static class _ {
358       public final static int None = 0;
359       public final static int Node = None + 1;
360       public final static int Link = Node + 1;
361       public final static int Face = Link + 1;
362       public final static int Tetra = Face + 1;
363       public final static int END = Tetra + 1;
364     }
365 
366   }
367 
368   static public class fCollision extends BulletBase {
369   	private long swigCPtr;
370 
fCollision(final String className, long cPtr, boolean cMemoryOwn)371   	protected fCollision(final String className, long cPtr, boolean cMemoryOwn) {
372   		super(className, cPtr, cMemoryOwn);
373   		swigCPtr = cPtr;
374   	}
375 
376   	/** Construct a new fCollision, normally you should not need this constructor it's intended for low-level usage. */
fCollision(long cPtr, boolean cMemoryOwn)377   	public fCollision(long cPtr, boolean cMemoryOwn) {
378   		this("fCollision", cPtr, cMemoryOwn);
379   		construct();
380   	}
381 
382   	@Override
reset(long cPtr, boolean cMemoryOwn)383   	protected void reset(long cPtr, boolean cMemoryOwn) {
384   		if (!destroyed)
385   			destroy();
386   		super.reset(swigCPtr = cPtr, cMemoryOwn);
387   	}
388 
getCPtr(fCollision obj)389   	public static long getCPtr(fCollision obj) {
390   		return (obj == null) ? 0 : obj.swigCPtr;
391   	}
392 
393   	@Override
finalize()394   	protected void finalize() throws Throwable {
395   		if (!destroyed)
396   			destroy();
397   		super.finalize();
398   	}
399 
delete()400     @Override protected synchronized void delete() {
401   		if (swigCPtr != 0) {
402   			if (swigCMemOwn) {
403   				swigCMemOwn = false;
404   				SoftbodyJNI.delete_btSoftBody_fCollision(swigCPtr);
405   			}
406   			swigCPtr = 0;
407   		}
408   		super.delete();
409   	}
410 
fCollision()411     public fCollision() {
412       this(SoftbodyJNI.new_btSoftBody_fCollision(), true);
413     }
414 
415     public final static class _ {
416       public final static int RVSmask = 0x000f;
417       public final static int SDF_RS = 0x0001;
418       public final static int CL_RS = 0x0002;
419       public final static int SVSmask = 0x0030;
420       public final static int VF_SS = 0x0010;
421       public final static int CL_SS = 0x0020;
422       public final static int CL_SELF = 0x0040;
423       public final static int Default = SDF_RS;
424       public final static int END = Default + 1;
425     }
426 
427   }
428 
429   static public class fMaterial extends BulletBase {
430   	private long swigCPtr;
431 
fMaterial(final String className, long cPtr, boolean cMemoryOwn)432   	protected fMaterial(final String className, long cPtr, boolean cMemoryOwn) {
433   		super(className, cPtr, cMemoryOwn);
434   		swigCPtr = cPtr;
435   	}
436 
437   	/** Construct a new fMaterial, normally you should not need this constructor it's intended for low-level usage. */
fMaterial(long cPtr, boolean cMemoryOwn)438   	public fMaterial(long cPtr, boolean cMemoryOwn) {
439   		this("fMaterial", cPtr, cMemoryOwn);
440   		construct();
441   	}
442 
443   	@Override
reset(long cPtr, boolean cMemoryOwn)444   	protected void reset(long cPtr, boolean cMemoryOwn) {
445   		if (!destroyed)
446   			destroy();
447   		super.reset(swigCPtr = cPtr, cMemoryOwn);
448   	}
449 
getCPtr(fMaterial obj)450   	public static long getCPtr(fMaterial obj) {
451   		return (obj == null) ? 0 : obj.swigCPtr;
452   	}
453 
454   	@Override
finalize()455   	protected void finalize() throws Throwable {
456   		if (!destroyed)
457   			destroy();
458   		super.finalize();
459   	}
460 
delete()461     @Override protected synchronized void delete() {
462   		if (swigCPtr != 0) {
463   			if (swigCMemOwn) {
464   				swigCMemOwn = false;
465   				SoftbodyJNI.delete_btSoftBody_fMaterial(swigCPtr);
466   			}
467   			swigCPtr = 0;
468   		}
469   		super.delete();
470   	}
471 
fMaterial()472     public fMaterial() {
473       this(SoftbodyJNI.new_btSoftBody_fMaterial(), true);
474     }
475 
476     public final static class _ {
477       public final static int DebugDraw = 0x0001;
478       public final static int Default = DebugDraw;
479       public final static int END = Default + 1;
480     }
481 
482   }
483 
484   static public class sRayCast extends BulletBase {
485   	private long swigCPtr;
486 
sRayCast(final String className, long cPtr, boolean cMemoryOwn)487   	protected sRayCast(final String className, long cPtr, boolean cMemoryOwn) {
488   		super(className, cPtr, cMemoryOwn);
489   		swigCPtr = cPtr;
490   	}
491 
492   	/** Construct a new sRayCast, normally you should not need this constructor it's intended for low-level usage. */
sRayCast(long cPtr, boolean cMemoryOwn)493   	public sRayCast(long cPtr, boolean cMemoryOwn) {
494   		this("sRayCast", cPtr, cMemoryOwn);
495   		construct();
496   	}
497 
498   	@Override
reset(long cPtr, boolean cMemoryOwn)499   	protected void reset(long cPtr, boolean cMemoryOwn) {
500   		if (!destroyed)
501   			destroy();
502   		super.reset(swigCPtr = cPtr, cMemoryOwn);
503   	}
504 
getCPtr(sRayCast obj)505   	public static long getCPtr(sRayCast obj) {
506   		return (obj == null) ? 0 : obj.swigCPtr;
507   	}
508 
509   	@Override
finalize()510   	protected void finalize() throws Throwable {
511   		if (!destroyed)
512   			destroy();
513   		super.finalize();
514   	}
515 
delete()516     @Override protected synchronized void delete() {
517   		if (swigCPtr != 0) {
518   			if (swigCMemOwn) {
519   				swigCMemOwn = false;
520   				SoftbodyJNI.delete_btSoftBody_sRayCast(swigCPtr);
521   			}
522   			swigCPtr = 0;
523   		}
524   		super.delete();
525   	}
526 
setBody(btSoftBody value)527     public void setBody(btSoftBody value) {
528       SoftbodyJNI.btSoftBody_sRayCast_body_set(swigCPtr, this, btSoftBody.getCPtr(value), value);
529     }
530 
getBody()531     public btSoftBody getBody() {
532       long cPtr = SoftbodyJNI.btSoftBody_sRayCast_body_get(swigCPtr, this);
533       return (cPtr == 0) ? null : new btSoftBody(cPtr, false);
534     }
535 
setFeature(int value)536     public void setFeature(int value) {
537       SoftbodyJNI.btSoftBody_sRayCast_feature_set(swigCPtr, this, value);
538     }
539 
getFeature()540     public int getFeature() {
541       return SoftbodyJNI.btSoftBody_sRayCast_feature_get(swigCPtr, this);
542     }
543 
setIndex(int value)544     public void setIndex(int value) {
545       SoftbodyJNI.btSoftBody_sRayCast_index_set(swigCPtr, this, value);
546     }
547 
getIndex()548     public int getIndex() {
549       return SoftbodyJNI.btSoftBody_sRayCast_index_get(swigCPtr, this);
550     }
551 
setFraction(float value)552     public void setFraction(float value) {
553       SoftbodyJNI.btSoftBody_sRayCast_fraction_set(swigCPtr, this, value);
554     }
555 
getFraction()556     public float getFraction() {
557       return SoftbodyJNI.btSoftBody_sRayCast_fraction_get(swigCPtr, this);
558     }
559 
sRayCast()560     public sRayCast() {
561       this(SoftbodyJNI.new_btSoftBody_sRayCast(), true);
562     }
563 
564   }
565 
566   static public class ImplicitFn extends BulletBase {
567   	private long swigCPtr;
568 
ImplicitFn(final String className, long cPtr, boolean cMemoryOwn)569   	protected ImplicitFn(final String className, long cPtr, boolean cMemoryOwn) {
570   		super(className, cPtr, cMemoryOwn);
571   		swigCPtr = cPtr;
572   	}
573 
574   	/** Construct a new ImplicitFn, normally you should not need this constructor it's intended for low-level usage. */
ImplicitFn(long cPtr, boolean cMemoryOwn)575   	public ImplicitFn(long cPtr, boolean cMemoryOwn) {
576   		this("ImplicitFn", cPtr, cMemoryOwn);
577   		construct();
578   	}
579 
580   	@Override
reset(long cPtr, boolean cMemoryOwn)581   	protected void reset(long cPtr, boolean cMemoryOwn) {
582   		if (!destroyed)
583   			destroy();
584   		super.reset(swigCPtr = cPtr, cMemoryOwn);
585   	}
586 
getCPtr(ImplicitFn obj)587   	public static long getCPtr(ImplicitFn obj) {
588   		return (obj == null) ? 0 : obj.swigCPtr;
589   	}
590 
591   	@Override
finalize()592   	protected void finalize() throws Throwable {
593   		if (!destroyed)
594   			destroy();
595   		super.finalize();
596   	}
597 
delete()598     @Override protected synchronized void delete() {
599   		if (swigCPtr != 0) {
600   			if (swigCMemOwn) {
601   				swigCMemOwn = false;
602   				SoftbodyJNI.delete_btSoftBody_ImplicitFn(swigCPtr);
603   			}
604   			swigCPtr = 0;
605   		}
606   		super.delete();
607   	}
608 
Eval(Vector3 x)609     public float Eval(Vector3 x) {
610       return SoftbodyJNI.btSoftBody_ImplicitFn_Eval(swigCPtr, this, x);
611     }
612 
613   }
614 
615   static public class sCti extends BulletBase {
616   	private long swigCPtr;
617 
sCti(final String className, long cPtr, boolean cMemoryOwn)618   	protected sCti(final String className, long cPtr, boolean cMemoryOwn) {
619   		super(className, cPtr, cMemoryOwn);
620   		swigCPtr = cPtr;
621   	}
622 
623   	/** Construct a new sCti, normally you should not need this constructor it's intended for low-level usage. */
sCti(long cPtr, boolean cMemoryOwn)624   	public sCti(long cPtr, boolean cMemoryOwn) {
625   		this("sCti", cPtr, cMemoryOwn);
626   		construct();
627   	}
628 
629   	@Override
reset(long cPtr, boolean cMemoryOwn)630   	protected void reset(long cPtr, boolean cMemoryOwn) {
631   		if (!destroyed)
632   			destroy();
633   		super.reset(swigCPtr = cPtr, cMemoryOwn);
634   	}
635 
getCPtr(sCti obj)636   	public static long getCPtr(sCti obj) {
637   		return (obj == null) ? 0 : obj.swigCPtr;
638   	}
639 
640   	@Override
finalize()641   	protected void finalize() throws Throwable {
642   		if (!destroyed)
643   			destroy();
644   		super.finalize();
645   	}
646 
delete()647     @Override protected synchronized void delete() {
648   		if (swigCPtr != 0) {
649   			if (swigCMemOwn) {
650   				swigCMemOwn = false;
651   				SoftbodyJNI.delete_btSoftBody_sCti(swigCPtr);
652   			}
653   			swigCPtr = 0;
654   		}
655   		super.delete();
656   	}
657 
setColObj(btCollisionObject value)658     public void setColObj(btCollisionObject value) {
659       SoftbodyJNI.btSoftBody_sCti_colObj_set(swigCPtr, this, btCollisionObject.getCPtr(value), value);
660     }
661 
getColObj()662     public btCollisionObject getColObj() {
663   	return btCollisionObject.getInstance(SoftbodyJNI.btSoftBody_sCti_colObj_get(swigCPtr, this), false);
664   }
665 
setNormal(btVector3 value)666     public void setNormal(btVector3 value) {
667       SoftbodyJNI.btSoftBody_sCti_normal_set(swigCPtr, this, btVector3.getCPtr(value), value);
668     }
669 
getNormal()670     public btVector3 getNormal() {
671       long cPtr = SoftbodyJNI.btSoftBody_sCti_normal_get(swigCPtr, this);
672       return (cPtr == 0) ? null : new btVector3(cPtr, false);
673     }
674 
setOffset(float value)675     public void setOffset(float value) {
676       SoftbodyJNI.btSoftBody_sCti_offset_set(swigCPtr, this, value);
677     }
678 
getOffset()679     public float getOffset() {
680       return SoftbodyJNI.btSoftBody_sCti_offset_get(swigCPtr, this);
681     }
682 
sCti()683     public sCti() {
684       this(SoftbodyJNI.new_btSoftBody_sCti(), true);
685     }
686 
687   }
688 
689   static public class sMedium extends BulletBase {
690   	private long swigCPtr;
691 
sMedium(final String className, long cPtr, boolean cMemoryOwn)692   	protected sMedium(final String className, long cPtr, boolean cMemoryOwn) {
693   		super(className, cPtr, cMemoryOwn);
694   		swigCPtr = cPtr;
695   	}
696 
697   	/** Construct a new sMedium, normally you should not need this constructor it's intended for low-level usage. */
sMedium(long cPtr, boolean cMemoryOwn)698   	public sMedium(long cPtr, boolean cMemoryOwn) {
699   		this("sMedium", cPtr, cMemoryOwn);
700   		construct();
701   	}
702 
703   	@Override
reset(long cPtr, boolean cMemoryOwn)704   	protected void reset(long cPtr, boolean cMemoryOwn) {
705   		if (!destroyed)
706   			destroy();
707   		super.reset(swigCPtr = cPtr, cMemoryOwn);
708   	}
709 
getCPtr(sMedium obj)710   	public static long getCPtr(sMedium obj) {
711   		return (obj == null) ? 0 : obj.swigCPtr;
712   	}
713 
714   	@Override
finalize()715   	protected void finalize() throws Throwable {
716   		if (!destroyed)
717   			destroy();
718   		super.finalize();
719   	}
720 
delete()721     @Override protected synchronized void delete() {
722   		if (swigCPtr != 0) {
723   			if (swigCMemOwn) {
724   				swigCMemOwn = false;
725   				SoftbodyJNI.delete_btSoftBody_sMedium(swigCPtr);
726   			}
727   			swigCPtr = 0;
728   		}
729   		super.delete();
730   	}
731 
setVelocity(btVector3 value)732     public void setVelocity(btVector3 value) {
733       SoftbodyJNI.btSoftBody_sMedium_velocity_set(swigCPtr, this, btVector3.getCPtr(value), value);
734     }
735 
getVelocity()736     public btVector3 getVelocity() {
737       long cPtr = SoftbodyJNI.btSoftBody_sMedium_velocity_get(swigCPtr, this);
738       return (cPtr == 0) ? null : new btVector3(cPtr, false);
739     }
740 
setPressure(float value)741     public void setPressure(float value) {
742       SoftbodyJNI.btSoftBody_sMedium_pressure_set(swigCPtr, this, value);
743     }
744 
getPressure()745     public float getPressure() {
746       return SoftbodyJNI.btSoftBody_sMedium_pressure_get(swigCPtr, this);
747     }
748 
setDensity(float value)749     public void setDensity(float value) {
750       SoftbodyJNI.btSoftBody_sMedium_density_set(swigCPtr, this, value);
751     }
752 
getDensity()753     public float getDensity() {
754       return SoftbodyJNI.btSoftBody_sMedium_density_get(swigCPtr, this);
755     }
756 
sMedium()757     public sMedium() {
758       this(SoftbodyJNI.new_btSoftBody_sMedium(), true);
759     }
760 
761   }
762 
763   static public class Element extends BulletBase {
764   	private long swigCPtr;
765 
Element(final String className, long cPtr, boolean cMemoryOwn)766   	protected Element(final String className, long cPtr, boolean cMemoryOwn) {
767   		super(className, cPtr, cMemoryOwn);
768   		swigCPtr = cPtr;
769   	}
770 
771   	/** Construct a new Element, normally you should not need this constructor it's intended for low-level usage. */
Element(long cPtr, boolean cMemoryOwn)772   	public Element(long cPtr, boolean cMemoryOwn) {
773   		this("Element", cPtr, cMemoryOwn);
774   		construct();
775   	}
776 
777   	@Override
reset(long cPtr, boolean cMemoryOwn)778   	protected void reset(long cPtr, boolean cMemoryOwn) {
779   		if (!destroyed)
780   			destroy();
781   		super.reset(swigCPtr = cPtr, cMemoryOwn);
782   	}
783 
getCPtr(Element obj)784   	public static long getCPtr(Element obj) {
785   		return (obj == null) ? 0 : obj.swigCPtr;
786   	}
787 
788   	@Override
finalize()789   	protected void finalize() throws Throwable {
790   		if (!destroyed)
791   			destroy();
792   		super.finalize();
793   	}
794 
delete()795     @Override protected synchronized void delete() {
796   		if (swigCPtr != 0) {
797   			if (swigCMemOwn) {
798   				swigCMemOwn = false;
799   				SoftbodyJNI.delete_btSoftBody_Element(swigCPtr);
800   			}
801   			swigCPtr = 0;
802   		}
803   		super.delete();
804   	}
805 
setTag(long value)806     public void setTag(long value) {
807       SoftbodyJNI.btSoftBody_Element_tag_set(swigCPtr, this, value);
808     }
809 
getTag()810     public long getTag() {
811       return SoftbodyJNI.btSoftBody_Element_tag_get(swigCPtr, this);
812     }
813 
Element()814     public Element() {
815       this(SoftbodyJNI.new_btSoftBody_Element(), true);
816     }
817 
818   }
819 
820   static public class Material extends btSoftBody.Element {
821   	private long swigCPtr;
822 
Material(final String className, long cPtr, boolean cMemoryOwn)823   	protected Material(final String className, long cPtr, boolean cMemoryOwn) {
824   		super(className, SoftbodyJNI.btSoftBody_Material_SWIGUpcast(cPtr), cMemoryOwn);
825   		swigCPtr = cPtr;
826   	}
827 
828   	/** Construct a new Material, normally you should not need this constructor it's intended for low-level usage. */
Material(long cPtr, boolean cMemoryOwn)829   	public Material(long cPtr, boolean cMemoryOwn) {
830   		this("Material", cPtr, cMemoryOwn);
831   		construct();
832   	}
833 
834   	@Override
reset(long cPtr, boolean cMemoryOwn)835   	protected void reset(long cPtr, boolean cMemoryOwn) {
836   		if (!destroyed)
837   			destroy();
838   		super.reset(SoftbodyJNI.btSoftBody_Material_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
839   	}
840 
getCPtr(Material obj)841   	public static long getCPtr(Material obj) {
842   		return (obj == null) ? 0 : obj.swigCPtr;
843   	}
844 
845   	@Override
finalize()846   	protected void finalize() throws Throwable {
847   		if (!destroyed)
848   			destroy();
849   		super.finalize();
850   	}
851 
delete()852     @Override protected synchronized void delete() {
853   		if (swigCPtr != 0) {
854   			if (swigCMemOwn) {
855   				swigCMemOwn = false;
856   				SoftbodyJNI.delete_btSoftBody_Material(swigCPtr);
857   			}
858   			swigCPtr = 0;
859   		}
860   		super.delete();
861   	}
862 
setKLST(float value)863     public void setKLST(float value) {
864       SoftbodyJNI.btSoftBody_Material_kLST_set(swigCPtr, this, value);
865     }
866 
getKLST()867     public float getKLST() {
868       return SoftbodyJNI.btSoftBody_Material_kLST_get(swigCPtr, this);
869     }
870 
setKAST(float value)871     public void setKAST(float value) {
872       SoftbodyJNI.btSoftBody_Material_kAST_set(swigCPtr, this, value);
873     }
874 
getKAST()875     public float getKAST() {
876       return SoftbodyJNI.btSoftBody_Material_kAST_get(swigCPtr, this);
877     }
878 
setKVST(float value)879     public void setKVST(float value) {
880       SoftbodyJNI.btSoftBody_Material_kVST_set(swigCPtr, this, value);
881     }
882 
getKVST()883     public float getKVST() {
884       return SoftbodyJNI.btSoftBody_Material_kVST_get(swigCPtr, this);
885     }
886 
setFlags(int value)887     public void setFlags(int value) {
888       SoftbodyJNI.btSoftBody_Material_flags_set(swigCPtr, this, value);
889     }
890 
getFlags()891     public int getFlags() {
892       return SoftbodyJNI.btSoftBody_Material_flags_get(swigCPtr, this);
893     }
894 
Material()895     public Material() {
896       this(SoftbodyJNI.new_btSoftBody_Material(), true);
897     }
898 
899   }
900 
901   static public class Feature extends btSoftBody.Element {
902   	private long swigCPtr;
903 
Feature(final String className, long cPtr, boolean cMemoryOwn)904   	protected Feature(final String className, long cPtr, boolean cMemoryOwn) {
905   		super(className, SoftbodyJNI.btSoftBody_Feature_SWIGUpcast(cPtr), cMemoryOwn);
906   		swigCPtr = cPtr;
907   	}
908 
909   	/** Construct a new Feature, normally you should not need this constructor it's intended for low-level usage. */
Feature(long cPtr, boolean cMemoryOwn)910   	public Feature(long cPtr, boolean cMemoryOwn) {
911   		this("Feature", cPtr, cMemoryOwn);
912   		construct();
913   	}
914 
915   	@Override
reset(long cPtr, boolean cMemoryOwn)916   	protected void reset(long cPtr, boolean cMemoryOwn) {
917   		if (!destroyed)
918   			destroy();
919   		super.reset(SoftbodyJNI.btSoftBody_Feature_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
920   	}
921 
getCPtr(Feature obj)922   	public static long getCPtr(Feature obj) {
923   		return (obj == null) ? 0 : obj.swigCPtr;
924   	}
925 
926   	@Override
finalize()927   	protected void finalize() throws Throwable {
928   		if (!destroyed)
929   			destroy();
930   		super.finalize();
931   	}
932 
delete()933     @Override protected synchronized void delete() {
934   		if (swigCPtr != 0) {
935   			if (swigCMemOwn) {
936   				swigCMemOwn = false;
937   				SoftbodyJNI.delete_btSoftBody_Feature(swigCPtr);
938   			}
939   			swigCPtr = 0;
940   		}
941   		super.delete();
942   	}
943 
setMaterial(btSoftBody.Material value)944     public void setMaterial(btSoftBody.Material value) {
945       SoftbodyJNI.btSoftBody_Feature_material_set(swigCPtr, this, btSoftBody.Material.getCPtr(value), value);
946     }
947 
getMaterial()948     public btSoftBody.Material getMaterial() {
949       long cPtr = SoftbodyJNI.btSoftBody_Feature_material_get(swigCPtr, this);
950       return (cPtr == 0) ? null : new btSoftBody.Material(cPtr, false);
951     }
952 
Feature()953     public Feature() {
954       this(SoftbodyJNI.new_btSoftBody_Feature(), true);
955     }
956 
957   }
958 
959   static public class Node extends btSoftBody.Feature {
960   	private long swigCPtr;
961 
Node(final String className, long cPtr, boolean cMemoryOwn)962   	protected Node(final String className, long cPtr, boolean cMemoryOwn) {
963   		super(className, SoftbodyJNI.btSoftBody_Node_SWIGUpcast(cPtr), cMemoryOwn);
964   		swigCPtr = cPtr;
965   	}
966 
967   	/** Construct a new Node, normally you should not need this constructor it's intended for low-level usage. */
Node(long cPtr, boolean cMemoryOwn)968   	public Node(long cPtr, boolean cMemoryOwn) {
969   		this("Node", cPtr, cMemoryOwn);
970   		construct();
971   	}
972 
973   	@Override
reset(long cPtr, boolean cMemoryOwn)974   	protected void reset(long cPtr, boolean cMemoryOwn) {
975   		if (!destroyed)
976   			destroy();
977   		super.reset(SoftbodyJNI.btSoftBody_Node_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
978   	}
979 
getCPtr(Node obj)980   	public static long getCPtr(Node obj) {
981   		return (obj == null) ? 0 : obj.swigCPtr;
982   	}
983 
984   	@Override
finalize()985   	protected void finalize() throws Throwable {
986   		if (!destroyed)
987   			destroy();
988   		super.finalize();
989   	}
990 
delete()991     @Override protected synchronized void delete() {
992   		if (swigCPtr != 0) {
993   			if (swigCMemOwn) {
994   				swigCMemOwn = false;
995   				SoftbodyJNI.delete_btSoftBody_Node(swigCPtr);
996   			}
997   			swigCPtr = 0;
998   		}
999   		super.delete();
1000   	}
1001 
setX(btVector3 value)1002     public void setX(btVector3 value) {
1003       SoftbodyJNI.btSoftBody_Node_x_set(swigCPtr, this, btVector3.getCPtr(value), value);
1004     }
1005 
getX()1006     public btVector3 getX() {
1007       long cPtr = SoftbodyJNI.btSoftBody_Node_x_get(swigCPtr, this);
1008       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1009     }
1010 
setQ(btVector3 value)1011     public void setQ(btVector3 value) {
1012       SoftbodyJNI.btSoftBody_Node_q_set(swigCPtr, this, btVector3.getCPtr(value), value);
1013     }
1014 
getQ()1015     public btVector3 getQ() {
1016       long cPtr = SoftbodyJNI.btSoftBody_Node_q_get(swigCPtr, this);
1017       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1018     }
1019 
setV(btVector3 value)1020     public void setV(btVector3 value) {
1021       SoftbodyJNI.btSoftBody_Node_v_set(swigCPtr, this, btVector3.getCPtr(value), value);
1022     }
1023 
getV()1024     public btVector3 getV() {
1025       long cPtr = SoftbodyJNI.btSoftBody_Node_v_get(swigCPtr, this);
1026       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1027     }
1028 
setF(btVector3 value)1029     public void setF(btVector3 value) {
1030       SoftbodyJNI.btSoftBody_Node_f_set(swigCPtr, this, btVector3.getCPtr(value), value);
1031     }
1032 
getF()1033     public btVector3 getF() {
1034       long cPtr = SoftbodyJNI.btSoftBody_Node_f_get(swigCPtr, this);
1035       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1036     }
1037 
setN(btVector3 value)1038     public void setN(btVector3 value) {
1039       SoftbodyJNI.btSoftBody_Node_n_set(swigCPtr, this, btVector3.getCPtr(value), value);
1040     }
1041 
getN()1042     public btVector3 getN() {
1043       long cPtr = SoftbodyJNI.btSoftBody_Node_n_get(swigCPtr, this);
1044       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1045     }
1046 
setIm(float value)1047     public void setIm(float value) {
1048       SoftbodyJNI.btSoftBody_Node_im_set(swigCPtr, this, value);
1049     }
1050 
getIm()1051     public float getIm() {
1052       return SoftbodyJNI.btSoftBody_Node_im_get(swigCPtr, this);
1053     }
1054 
setArea(float value)1055     public void setArea(float value) {
1056       SoftbodyJNI.btSoftBody_Node_area_set(swigCPtr, this, value);
1057     }
1058 
getArea()1059     public float getArea() {
1060       return SoftbodyJNI.btSoftBody_Node_area_get(swigCPtr, this);
1061     }
1062 
setLeaf(btDbvtNode value)1063     public void setLeaf(btDbvtNode value) {
1064       SoftbodyJNI.btSoftBody_Node_leaf_set(swigCPtr, this, btDbvtNode.getCPtr(value), value);
1065     }
1066 
getLeaf()1067     public btDbvtNode getLeaf() {
1068   	return btDbvtNode.internalTemp(SoftbodyJNI.btSoftBody_Node_leaf_get(swigCPtr, this), false);
1069   }
1070 
setBattach(int value)1071     public void setBattach(int value) {
1072       SoftbodyJNI.btSoftBody_Node_battach_set(swigCPtr, this, value);
1073     }
1074 
getBattach()1075     public int getBattach() {
1076       return SoftbodyJNI.btSoftBody_Node_battach_get(swigCPtr, this);
1077     }
1078 
Node()1079     public Node() {
1080       this(SoftbodyJNI.new_btSoftBody_Node(), true);
1081     }
1082 
1083   }
1084 
1085   static public class Link extends btSoftBody.Feature {
1086   	private long swigCPtr;
1087 
Link(final String className, long cPtr, boolean cMemoryOwn)1088   	protected Link(final String className, long cPtr, boolean cMemoryOwn) {
1089   		super(className, SoftbodyJNI.btSoftBody_Link_SWIGUpcast(cPtr), cMemoryOwn);
1090   		swigCPtr = cPtr;
1091   	}
1092 
1093   	/** Construct a new Link, normally you should not need this constructor it's intended for low-level usage. */
Link(long cPtr, boolean cMemoryOwn)1094   	public Link(long cPtr, boolean cMemoryOwn) {
1095   		this("Link", cPtr, cMemoryOwn);
1096   		construct();
1097   	}
1098 
1099   	@Override
reset(long cPtr, boolean cMemoryOwn)1100   	protected void reset(long cPtr, boolean cMemoryOwn) {
1101   		if (!destroyed)
1102   			destroy();
1103   		super.reset(SoftbodyJNI.btSoftBody_Link_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
1104   	}
1105 
getCPtr(Link obj)1106   	public static long getCPtr(Link obj) {
1107   		return (obj == null) ? 0 : obj.swigCPtr;
1108   	}
1109 
1110   	@Override
finalize()1111   	protected void finalize() throws Throwable {
1112   		if (!destroyed)
1113   			destroy();
1114   		super.finalize();
1115   	}
1116 
delete()1117     @Override protected synchronized void delete() {
1118   		if (swigCPtr != 0) {
1119   			if (swigCMemOwn) {
1120   				swigCMemOwn = false;
1121   				SoftbodyJNI.delete_btSoftBody_Link(swigCPtr);
1122   			}
1123   			swigCPtr = 0;
1124   		}
1125   		super.delete();
1126   	}
1127 
setN(SWIGTYPE_p_p_btSoftBody__Node value)1128     public void setN(SWIGTYPE_p_p_btSoftBody__Node value) {
1129       SoftbodyJNI.btSoftBody_Link_n_set(swigCPtr, this, SWIGTYPE_p_p_btSoftBody__Node.getCPtr(value));
1130     }
1131 
getN()1132     public SWIGTYPE_p_p_btSoftBody__Node getN() {
1133       long cPtr = SoftbodyJNI.btSoftBody_Link_n_get(swigCPtr, this);
1134       return (cPtr == 0) ? null : new SWIGTYPE_p_p_btSoftBody__Node(cPtr, false);
1135     }
1136 
setRl(float value)1137     public void setRl(float value) {
1138       SoftbodyJNI.btSoftBody_Link_rl_set(swigCPtr, this, value);
1139     }
1140 
getRl()1141     public float getRl() {
1142       return SoftbodyJNI.btSoftBody_Link_rl_get(swigCPtr, this);
1143     }
1144 
setBbending(int value)1145     public void setBbending(int value) {
1146       SoftbodyJNI.btSoftBody_Link_bbending_set(swigCPtr, this, value);
1147     }
1148 
getBbending()1149     public int getBbending() {
1150       return SoftbodyJNI.btSoftBody_Link_bbending_get(swigCPtr, this);
1151     }
1152 
setC0(float value)1153     public void setC0(float value) {
1154       SoftbodyJNI.btSoftBody_Link_c0_set(swigCPtr, this, value);
1155     }
1156 
getC0()1157     public float getC0() {
1158       return SoftbodyJNI.btSoftBody_Link_c0_get(swigCPtr, this);
1159     }
1160 
setC1(float value)1161     public void setC1(float value) {
1162       SoftbodyJNI.btSoftBody_Link_c1_set(swigCPtr, this, value);
1163     }
1164 
getC1()1165     public float getC1() {
1166       return SoftbodyJNI.btSoftBody_Link_c1_get(swigCPtr, this);
1167     }
1168 
setC2(float value)1169     public void setC2(float value) {
1170       SoftbodyJNI.btSoftBody_Link_c2_set(swigCPtr, this, value);
1171     }
1172 
getC2()1173     public float getC2() {
1174       return SoftbodyJNI.btSoftBody_Link_c2_get(swigCPtr, this);
1175     }
1176 
setC3(btVector3 value)1177     public void setC3(btVector3 value) {
1178       SoftbodyJNI.btSoftBody_Link_c3_set(swigCPtr, this, btVector3.getCPtr(value), value);
1179     }
1180 
getC3()1181     public btVector3 getC3() {
1182       long cPtr = SoftbodyJNI.btSoftBody_Link_c3_get(swigCPtr, this);
1183       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1184     }
1185 
Link()1186     public Link() {
1187       this(SoftbodyJNI.new_btSoftBody_Link(), true);
1188     }
1189 
1190   }
1191 
1192   static public class Face extends btSoftBody.Feature {
1193   	private long swigCPtr;
1194 
Face(final String className, long cPtr, boolean cMemoryOwn)1195   	protected Face(final String className, long cPtr, boolean cMemoryOwn) {
1196   		super(className, SoftbodyJNI.btSoftBody_Face_SWIGUpcast(cPtr), cMemoryOwn);
1197   		swigCPtr = cPtr;
1198   	}
1199 
1200   	/** Construct a new Face, normally you should not need this constructor it's intended for low-level usage. */
Face(long cPtr, boolean cMemoryOwn)1201   	public Face(long cPtr, boolean cMemoryOwn) {
1202   		this("Face", cPtr, cMemoryOwn);
1203   		construct();
1204   	}
1205 
1206   	@Override
reset(long cPtr, boolean cMemoryOwn)1207   	protected void reset(long cPtr, boolean cMemoryOwn) {
1208   		if (!destroyed)
1209   			destroy();
1210   		super.reset(SoftbodyJNI.btSoftBody_Face_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
1211   	}
1212 
getCPtr(Face obj)1213   	public static long getCPtr(Face obj) {
1214   		return (obj == null) ? 0 : obj.swigCPtr;
1215   	}
1216 
1217   	@Override
finalize()1218   	protected void finalize() throws Throwable {
1219   		if (!destroyed)
1220   			destroy();
1221   		super.finalize();
1222   	}
1223 
delete()1224     @Override protected synchronized void delete() {
1225   		if (swigCPtr != 0) {
1226   			if (swigCMemOwn) {
1227   				swigCMemOwn = false;
1228   				SoftbodyJNI.delete_btSoftBody_Face(swigCPtr);
1229   			}
1230   			swigCPtr = 0;
1231   		}
1232   		super.delete();
1233   	}
1234 
setN(SWIGTYPE_p_p_btSoftBody__Node value)1235     public void setN(SWIGTYPE_p_p_btSoftBody__Node value) {
1236       SoftbodyJNI.btSoftBody_Face_n_set(swigCPtr, this, SWIGTYPE_p_p_btSoftBody__Node.getCPtr(value));
1237     }
1238 
getN()1239     public SWIGTYPE_p_p_btSoftBody__Node getN() {
1240       long cPtr = SoftbodyJNI.btSoftBody_Face_n_get(swigCPtr, this);
1241       return (cPtr == 0) ? null : new SWIGTYPE_p_p_btSoftBody__Node(cPtr, false);
1242     }
1243 
setNormal(btVector3 value)1244     public void setNormal(btVector3 value) {
1245       SoftbodyJNI.btSoftBody_Face_normal_set(swigCPtr, this, btVector3.getCPtr(value), value);
1246     }
1247 
getNormal()1248     public btVector3 getNormal() {
1249       long cPtr = SoftbodyJNI.btSoftBody_Face_normal_get(swigCPtr, this);
1250       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1251     }
1252 
setRa(float value)1253     public void setRa(float value) {
1254       SoftbodyJNI.btSoftBody_Face_ra_set(swigCPtr, this, value);
1255     }
1256 
getRa()1257     public float getRa() {
1258       return SoftbodyJNI.btSoftBody_Face_ra_get(swigCPtr, this);
1259     }
1260 
setLeaf(btDbvtNode value)1261     public void setLeaf(btDbvtNode value) {
1262       SoftbodyJNI.btSoftBody_Face_leaf_set(swigCPtr, this, btDbvtNode.getCPtr(value), value);
1263     }
1264 
getLeaf()1265     public btDbvtNode getLeaf() {
1266   	return btDbvtNode.internalTemp(SoftbodyJNI.btSoftBody_Face_leaf_get(swigCPtr, this), false);
1267   }
1268 
Face()1269     public Face() {
1270       this(SoftbodyJNI.new_btSoftBody_Face(), true);
1271     }
1272 
1273   }
1274 
1275   static public class Tetra extends btSoftBody.Feature {
1276   	private long swigCPtr;
1277 
Tetra(final String className, long cPtr, boolean cMemoryOwn)1278   	protected Tetra(final String className, long cPtr, boolean cMemoryOwn) {
1279   		super(className, SoftbodyJNI.btSoftBody_Tetra_SWIGUpcast(cPtr), cMemoryOwn);
1280   		swigCPtr = cPtr;
1281   	}
1282 
1283   	/** Construct a new Tetra, normally you should not need this constructor it's intended for low-level usage. */
Tetra(long cPtr, boolean cMemoryOwn)1284   	public Tetra(long cPtr, boolean cMemoryOwn) {
1285   		this("Tetra", cPtr, cMemoryOwn);
1286   		construct();
1287   	}
1288 
1289   	@Override
reset(long cPtr, boolean cMemoryOwn)1290   	protected void reset(long cPtr, boolean cMemoryOwn) {
1291   		if (!destroyed)
1292   			destroy();
1293   		super.reset(SoftbodyJNI.btSoftBody_Tetra_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
1294   	}
1295 
getCPtr(Tetra obj)1296   	public static long getCPtr(Tetra obj) {
1297   		return (obj == null) ? 0 : obj.swigCPtr;
1298   	}
1299 
1300   	@Override
finalize()1301   	protected void finalize() throws Throwable {
1302   		if (!destroyed)
1303   			destroy();
1304   		super.finalize();
1305   	}
1306 
delete()1307     @Override protected synchronized void delete() {
1308   		if (swigCPtr != 0) {
1309   			if (swigCMemOwn) {
1310   				swigCMemOwn = false;
1311   				SoftbodyJNI.delete_btSoftBody_Tetra(swigCPtr);
1312   			}
1313   			swigCPtr = 0;
1314   		}
1315   		super.delete();
1316   	}
1317 
setN(SWIGTYPE_p_p_btSoftBody__Node value)1318     public void setN(SWIGTYPE_p_p_btSoftBody__Node value) {
1319       SoftbodyJNI.btSoftBody_Tetra_n_set(swigCPtr, this, SWIGTYPE_p_p_btSoftBody__Node.getCPtr(value));
1320     }
1321 
getN()1322     public SWIGTYPE_p_p_btSoftBody__Node getN() {
1323       long cPtr = SoftbodyJNI.btSoftBody_Tetra_n_get(swigCPtr, this);
1324       return (cPtr == 0) ? null : new SWIGTYPE_p_p_btSoftBody__Node(cPtr, false);
1325     }
1326 
setRv(float value)1327     public void setRv(float value) {
1328       SoftbodyJNI.btSoftBody_Tetra_rv_set(swigCPtr, this, value);
1329     }
1330 
getRv()1331     public float getRv() {
1332       return SoftbodyJNI.btSoftBody_Tetra_rv_get(swigCPtr, this);
1333     }
1334 
setLeaf(btDbvtNode value)1335     public void setLeaf(btDbvtNode value) {
1336       SoftbodyJNI.btSoftBody_Tetra_leaf_set(swigCPtr, this, btDbvtNode.getCPtr(value), value);
1337     }
1338 
getLeaf()1339     public btDbvtNode getLeaf() {
1340   	return btDbvtNode.internalTemp(SoftbodyJNI.btSoftBody_Tetra_leaf_get(swigCPtr, this), false);
1341   }
1342 
setC0(btVector3 value)1343     public void setC0(btVector3 value) {
1344       SoftbodyJNI.btSoftBody_Tetra_c0_set(swigCPtr, this, btVector3.getCPtr(value), value);
1345     }
1346 
getC0()1347     public btVector3 getC0() {
1348       long cPtr = SoftbodyJNI.btSoftBody_Tetra_c0_get(swigCPtr, this);
1349       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1350     }
1351 
setC1(float value)1352     public void setC1(float value) {
1353       SoftbodyJNI.btSoftBody_Tetra_c1_set(swigCPtr, this, value);
1354     }
1355 
getC1()1356     public float getC1() {
1357       return SoftbodyJNI.btSoftBody_Tetra_c1_get(swigCPtr, this);
1358     }
1359 
setC2(float value)1360     public void setC2(float value) {
1361       SoftbodyJNI.btSoftBody_Tetra_c2_set(swigCPtr, this, value);
1362     }
1363 
getC2()1364     public float getC2() {
1365       return SoftbodyJNI.btSoftBody_Tetra_c2_get(swigCPtr, this);
1366     }
1367 
Tetra()1368     public Tetra() {
1369       this(SoftbodyJNI.new_btSoftBody_Tetra(), true);
1370     }
1371 
1372   }
1373 
1374   static public class RContact extends BulletBase {
1375   	private long swigCPtr;
1376 
RContact(final String className, long cPtr, boolean cMemoryOwn)1377   	protected RContact(final String className, long cPtr, boolean cMemoryOwn) {
1378   		super(className, cPtr, cMemoryOwn);
1379   		swigCPtr = cPtr;
1380   	}
1381 
1382   	/** Construct a new RContact, normally you should not need this constructor it's intended for low-level usage. */
RContact(long cPtr, boolean cMemoryOwn)1383   	public RContact(long cPtr, boolean cMemoryOwn) {
1384   		this("RContact", cPtr, cMemoryOwn);
1385   		construct();
1386   	}
1387 
1388   	@Override
reset(long cPtr, boolean cMemoryOwn)1389   	protected void reset(long cPtr, boolean cMemoryOwn) {
1390   		if (!destroyed)
1391   			destroy();
1392   		super.reset(swigCPtr = cPtr, cMemoryOwn);
1393   	}
1394 
getCPtr(RContact obj)1395   	public static long getCPtr(RContact obj) {
1396   		return (obj == null) ? 0 : obj.swigCPtr;
1397   	}
1398 
1399   	@Override
finalize()1400   	protected void finalize() throws Throwable {
1401   		if (!destroyed)
1402   			destroy();
1403   		super.finalize();
1404   	}
1405 
delete()1406     @Override protected synchronized void delete() {
1407   		if (swigCPtr != 0) {
1408   			if (swigCMemOwn) {
1409   				swigCMemOwn = false;
1410   				SoftbodyJNI.delete_btSoftBody_RContact(swigCPtr);
1411   			}
1412   			swigCPtr = 0;
1413   		}
1414   		super.delete();
1415   	}
1416 
setCti(btSoftBody.sCti value)1417     public void setCti(btSoftBody.sCti value) {
1418       SoftbodyJNI.btSoftBody_RContact_cti_set(swigCPtr, this, btSoftBody.sCti.getCPtr(value), value);
1419     }
1420 
getCti()1421     public btSoftBody.sCti getCti() {
1422       long cPtr = SoftbodyJNI.btSoftBody_RContact_cti_get(swigCPtr, this);
1423       return (cPtr == 0) ? null : new btSoftBody.sCti(cPtr, false);
1424     }
1425 
setNode(btSoftBody.Node value)1426     public void setNode(btSoftBody.Node value) {
1427       SoftbodyJNI.btSoftBody_RContact_node_set(swigCPtr, this, btSoftBody.Node.getCPtr(value), value);
1428     }
1429 
getNode()1430     public btSoftBody.Node getNode() {
1431       long cPtr = SoftbodyJNI.btSoftBody_RContact_node_get(swigCPtr, this);
1432       return (cPtr == 0) ? null : new btSoftBody.Node(cPtr, false);
1433     }
1434 
setC0(Matrix3 value)1435     public void setC0(Matrix3 value) {
1436       SoftbodyJNI.btSoftBody_RContact_c0_set(swigCPtr, this, value);
1437     }
1438 
getC0()1439     public Matrix3 getC0() {
1440   	return SoftbodyJNI.btSoftBody_RContact_c0_get(swigCPtr, this);
1441   }
1442 
setC1(btVector3 value)1443     public void setC1(btVector3 value) {
1444       SoftbodyJNI.btSoftBody_RContact_c1_set(swigCPtr, this, btVector3.getCPtr(value), value);
1445     }
1446 
getC1()1447     public btVector3 getC1() {
1448       long cPtr = SoftbodyJNI.btSoftBody_RContact_c1_get(swigCPtr, this);
1449       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1450     }
1451 
setC2(float value)1452     public void setC2(float value) {
1453       SoftbodyJNI.btSoftBody_RContact_c2_set(swigCPtr, this, value);
1454     }
1455 
getC2()1456     public float getC2() {
1457       return SoftbodyJNI.btSoftBody_RContact_c2_get(swigCPtr, this);
1458     }
1459 
setC3(float value)1460     public void setC3(float value) {
1461       SoftbodyJNI.btSoftBody_RContact_c3_set(swigCPtr, this, value);
1462     }
1463 
getC3()1464     public float getC3() {
1465       return SoftbodyJNI.btSoftBody_RContact_c3_get(swigCPtr, this);
1466     }
1467 
setC4(float value)1468     public void setC4(float value) {
1469       SoftbodyJNI.btSoftBody_RContact_c4_set(swigCPtr, this, value);
1470     }
1471 
getC4()1472     public float getC4() {
1473       return SoftbodyJNI.btSoftBody_RContact_c4_get(swigCPtr, this);
1474     }
1475 
RContact()1476     public RContact() {
1477       this(SoftbodyJNI.new_btSoftBody_RContact(), true);
1478     }
1479 
1480   }
1481 
1482   static public class SContact extends BulletBase {
1483   	private long swigCPtr;
1484 
SContact(final String className, long cPtr, boolean cMemoryOwn)1485   	protected SContact(final String className, long cPtr, boolean cMemoryOwn) {
1486   		super(className, cPtr, cMemoryOwn);
1487   		swigCPtr = cPtr;
1488   	}
1489 
1490   	/** Construct a new SContact, normally you should not need this constructor it's intended for low-level usage. */
SContact(long cPtr, boolean cMemoryOwn)1491   	public SContact(long cPtr, boolean cMemoryOwn) {
1492   		this("SContact", cPtr, cMemoryOwn);
1493   		construct();
1494   	}
1495 
1496   	@Override
reset(long cPtr, boolean cMemoryOwn)1497   	protected void reset(long cPtr, boolean cMemoryOwn) {
1498   		if (!destroyed)
1499   			destroy();
1500   		super.reset(swigCPtr = cPtr, cMemoryOwn);
1501   	}
1502 
getCPtr(SContact obj)1503   	public static long getCPtr(SContact obj) {
1504   		return (obj == null) ? 0 : obj.swigCPtr;
1505   	}
1506 
1507   	@Override
finalize()1508   	protected void finalize() throws Throwable {
1509   		if (!destroyed)
1510   			destroy();
1511   		super.finalize();
1512   	}
1513 
delete()1514     @Override protected synchronized void delete() {
1515   		if (swigCPtr != 0) {
1516   			if (swigCMemOwn) {
1517   				swigCMemOwn = false;
1518   				SoftbodyJNI.delete_btSoftBody_SContact(swigCPtr);
1519   			}
1520   			swigCPtr = 0;
1521   		}
1522   		super.delete();
1523   	}
1524 
setNode(btSoftBody.Node value)1525     public void setNode(btSoftBody.Node value) {
1526       SoftbodyJNI.btSoftBody_SContact_node_set(swigCPtr, this, btSoftBody.Node.getCPtr(value), value);
1527     }
1528 
getNode()1529     public btSoftBody.Node getNode() {
1530       long cPtr = SoftbodyJNI.btSoftBody_SContact_node_get(swigCPtr, this);
1531       return (cPtr == 0) ? null : new btSoftBody.Node(cPtr, false);
1532     }
1533 
setFace(btSoftBody.Face value)1534     public void setFace(btSoftBody.Face value) {
1535       SoftbodyJNI.btSoftBody_SContact_face_set(swigCPtr, this, btSoftBody.Face.getCPtr(value), value);
1536     }
1537 
getFace()1538     public btSoftBody.Face getFace() {
1539       long cPtr = SoftbodyJNI.btSoftBody_SContact_face_get(swigCPtr, this);
1540       return (cPtr == 0) ? null : new btSoftBody.Face(cPtr, false);
1541     }
1542 
setWeights(btVector3 value)1543     public void setWeights(btVector3 value) {
1544       SoftbodyJNI.btSoftBody_SContact_weights_set(swigCPtr, this, btVector3.getCPtr(value), value);
1545     }
1546 
getWeights()1547     public btVector3 getWeights() {
1548       long cPtr = SoftbodyJNI.btSoftBody_SContact_weights_get(swigCPtr, this);
1549       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1550     }
1551 
setNormal(btVector3 value)1552     public void setNormal(btVector3 value) {
1553       SoftbodyJNI.btSoftBody_SContact_normal_set(swigCPtr, this, btVector3.getCPtr(value), value);
1554     }
1555 
getNormal()1556     public btVector3 getNormal() {
1557       long cPtr = SoftbodyJNI.btSoftBody_SContact_normal_get(swigCPtr, this);
1558       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1559     }
1560 
setMargin(float value)1561     public void setMargin(float value) {
1562       SoftbodyJNI.btSoftBody_SContact_margin_set(swigCPtr, this, value);
1563     }
1564 
getMargin()1565     public float getMargin() {
1566       return SoftbodyJNI.btSoftBody_SContact_margin_get(swigCPtr, this);
1567     }
1568 
setFriction(float value)1569     public void setFriction(float value) {
1570       SoftbodyJNI.btSoftBody_SContact_friction_set(swigCPtr, this, value);
1571     }
1572 
getFriction()1573     public float getFriction() {
1574       return SoftbodyJNI.btSoftBody_SContact_friction_get(swigCPtr, this);
1575     }
1576 
setCfm(float[] value)1577     public void setCfm(float[] value) {
1578       SoftbodyJNI.btSoftBody_SContact_cfm_set(swigCPtr, this, value);
1579     }
1580 
getCfm()1581     public float[] getCfm() {
1582       return SoftbodyJNI.btSoftBody_SContact_cfm_get(swigCPtr, this);
1583   }
1584 
SContact()1585     public SContact() {
1586       this(SoftbodyJNI.new_btSoftBody_SContact(), true);
1587     }
1588 
1589   }
1590 
1591   static public class Anchor extends BulletBase {
1592   	private long swigCPtr;
1593 
Anchor(final String className, long cPtr, boolean cMemoryOwn)1594   	protected Anchor(final String className, long cPtr, boolean cMemoryOwn) {
1595   		super(className, cPtr, cMemoryOwn);
1596   		swigCPtr = cPtr;
1597   	}
1598 
1599   	/** Construct a new Anchor, normally you should not need this constructor it's intended for low-level usage. */
Anchor(long cPtr, boolean cMemoryOwn)1600   	public Anchor(long cPtr, boolean cMemoryOwn) {
1601   		this("Anchor", cPtr, cMemoryOwn);
1602   		construct();
1603   	}
1604 
1605   	@Override
reset(long cPtr, boolean cMemoryOwn)1606   	protected void reset(long cPtr, boolean cMemoryOwn) {
1607   		if (!destroyed)
1608   			destroy();
1609   		super.reset(swigCPtr = cPtr, cMemoryOwn);
1610   	}
1611 
getCPtr(Anchor obj)1612   	public static long getCPtr(Anchor obj) {
1613   		return (obj == null) ? 0 : obj.swigCPtr;
1614   	}
1615 
1616   	@Override
finalize()1617   	protected void finalize() throws Throwable {
1618   		if (!destroyed)
1619   			destroy();
1620   		super.finalize();
1621   	}
1622 
delete()1623     @Override protected synchronized void delete() {
1624   		if (swigCPtr != 0) {
1625   			if (swigCMemOwn) {
1626   				swigCMemOwn = false;
1627   				SoftbodyJNI.delete_btSoftBody_Anchor(swigCPtr);
1628   			}
1629   			swigCPtr = 0;
1630   		}
1631   		super.delete();
1632   	}
1633 
setNode(btSoftBody.Node value)1634     public void setNode(btSoftBody.Node value) {
1635       SoftbodyJNI.btSoftBody_Anchor_node_set(swigCPtr, this, btSoftBody.Node.getCPtr(value), value);
1636     }
1637 
getNode()1638     public btSoftBody.Node getNode() {
1639       long cPtr = SoftbodyJNI.btSoftBody_Anchor_node_get(swigCPtr, this);
1640       return (cPtr == 0) ? null : new btSoftBody.Node(cPtr, false);
1641     }
1642 
setLocal(btVector3 value)1643     public void setLocal(btVector3 value) {
1644       SoftbodyJNI.btSoftBody_Anchor_local_set(swigCPtr, this, btVector3.getCPtr(value), value);
1645     }
1646 
getLocal()1647     public btVector3 getLocal() {
1648       long cPtr = SoftbodyJNI.btSoftBody_Anchor_local_get(swigCPtr, this);
1649       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1650     }
1651 
setBody(btRigidBody value)1652     public void setBody(btRigidBody value) {
1653       SoftbodyJNI.btSoftBody_Anchor_body_set(swigCPtr, this, btRigidBody.getCPtr(value), value);
1654     }
1655 
getBody()1656     public btRigidBody getBody() {
1657   	return btRigidBody.getInstance(SoftbodyJNI.btSoftBody_Anchor_body_get(swigCPtr, this), false);
1658   }
1659 
setInfluence(float value)1660     public void setInfluence(float value) {
1661       SoftbodyJNI.btSoftBody_Anchor_influence_set(swigCPtr, this, value);
1662     }
1663 
getInfluence()1664     public float getInfluence() {
1665       return SoftbodyJNI.btSoftBody_Anchor_influence_get(swigCPtr, this);
1666     }
1667 
setC0(Matrix3 value)1668     public void setC0(Matrix3 value) {
1669       SoftbodyJNI.btSoftBody_Anchor_c0_set(swigCPtr, this, value);
1670     }
1671 
getC0()1672     public Matrix3 getC0() {
1673   	return SoftbodyJNI.btSoftBody_Anchor_c0_get(swigCPtr, this);
1674   }
1675 
setC1(btVector3 value)1676     public void setC1(btVector3 value) {
1677       SoftbodyJNI.btSoftBody_Anchor_c1_set(swigCPtr, this, btVector3.getCPtr(value), value);
1678     }
1679 
getC1()1680     public btVector3 getC1() {
1681       long cPtr = SoftbodyJNI.btSoftBody_Anchor_c1_get(swigCPtr, this);
1682       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1683     }
1684 
setC2(float value)1685     public void setC2(float value) {
1686       SoftbodyJNI.btSoftBody_Anchor_c2_set(swigCPtr, this, value);
1687     }
1688 
getC2()1689     public float getC2() {
1690       return SoftbodyJNI.btSoftBody_Anchor_c2_get(swigCPtr, this);
1691     }
1692 
Anchor()1693     public Anchor() {
1694       this(SoftbodyJNI.new_btSoftBody_Anchor(), true);
1695     }
1696 
1697   }
1698 
1699   static public class Note extends btSoftBody.Element {
1700   	private long swigCPtr;
1701 
Note(final String className, long cPtr, boolean cMemoryOwn)1702   	protected Note(final String className, long cPtr, boolean cMemoryOwn) {
1703   		super(className, SoftbodyJNI.btSoftBody_Note_SWIGUpcast(cPtr), cMemoryOwn);
1704   		swigCPtr = cPtr;
1705   	}
1706 
1707   	/** Construct a new Note, normally you should not need this constructor it's intended for low-level usage. */
Note(long cPtr, boolean cMemoryOwn)1708   	public Note(long cPtr, boolean cMemoryOwn) {
1709   		this("Note", cPtr, cMemoryOwn);
1710   		construct();
1711   	}
1712 
1713   	@Override
reset(long cPtr, boolean cMemoryOwn)1714   	protected void reset(long cPtr, boolean cMemoryOwn) {
1715   		if (!destroyed)
1716   			destroy();
1717   		super.reset(SoftbodyJNI.btSoftBody_Note_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
1718   	}
1719 
getCPtr(Note obj)1720   	public static long getCPtr(Note obj) {
1721   		return (obj == null) ? 0 : obj.swigCPtr;
1722   	}
1723 
1724   	@Override
finalize()1725   	protected void finalize() throws Throwable {
1726   		if (!destroyed)
1727   			destroy();
1728   		super.finalize();
1729   	}
1730 
delete()1731     @Override protected synchronized void delete() {
1732   		if (swigCPtr != 0) {
1733   			if (swigCMemOwn) {
1734   				swigCMemOwn = false;
1735   				SoftbodyJNI.delete_btSoftBody_Note(swigCPtr);
1736   			}
1737   			swigCPtr = 0;
1738   		}
1739   		super.delete();
1740   	}
1741 
setText(String value)1742     public void setText(String value) {
1743       SoftbodyJNI.btSoftBody_Note_text_set(swigCPtr, this, value);
1744     }
1745 
getText()1746     public String getText() {
1747       return SoftbodyJNI.btSoftBody_Note_text_get(swigCPtr, this);
1748     }
1749 
setOffset(btVector3 value)1750     public void setOffset(btVector3 value) {
1751       SoftbodyJNI.btSoftBody_Note_offset_set(swigCPtr, this, btVector3.getCPtr(value), value);
1752     }
1753 
getOffset()1754     public btVector3 getOffset() {
1755       long cPtr = SoftbodyJNI.btSoftBody_Note_offset_get(swigCPtr, this);
1756       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1757     }
1758 
setRank(int value)1759     public void setRank(int value) {
1760       SoftbodyJNI.btSoftBody_Note_rank_set(swigCPtr, this, value);
1761     }
1762 
getRank()1763     public int getRank() {
1764       return SoftbodyJNI.btSoftBody_Note_rank_get(swigCPtr, this);
1765     }
1766 
setNodes(SWIGTYPE_p_p_btSoftBody__Node value)1767     public void setNodes(SWIGTYPE_p_p_btSoftBody__Node value) {
1768       SoftbodyJNI.btSoftBody_Note_nodes_set(swigCPtr, this, SWIGTYPE_p_p_btSoftBody__Node.getCPtr(value));
1769     }
1770 
getNodes()1771     public SWIGTYPE_p_p_btSoftBody__Node getNodes() {
1772       long cPtr = SoftbodyJNI.btSoftBody_Note_nodes_get(swigCPtr, this);
1773       return (cPtr == 0) ? null : new SWIGTYPE_p_p_btSoftBody__Node(cPtr, false);
1774     }
1775 
setCoords(float[] value)1776     public void setCoords(float[] value) {
1777       SoftbodyJNI.btSoftBody_Note_coords_set(swigCPtr, this, value);
1778     }
1779 
getCoords()1780     public float[] getCoords() {
1781       return SoftbodyJNI.btSoftBody_Note_coords_get(swigCPtr, this);
1782   }
1783 
Note()1784     public Note() {
1785       this(SoftbodyJNI.new_btSoftBody_Note(), true);
1786     }
1787 
1788   }
1789 
1790   static public class Pose extends BulletBase {
1791   	private long swigCPtr;
1792 
Pose(final String className, long cPtr, boolean cMemoryOwn)1793   	protected Pose(final String className, long cPtr, boolean cMemoryOwn) {
1794   		super(className, cPtr, cMemoryOwn);
1795   		swigCPtr = cPtr;
1796   	}
1797 
1798   	/** Construct a new Pose, normally you should not need this constructor it's intended for low-level usage. */
Pose(long cPtr, boolean cMemoryOwn)1799   	public Pose(long cPtr, boolean cMemoryOwn) {
1800   		this("Pose", cPtr, cMemoryOwn);
1801   		construct();
1802   	}
1803 
1804   	@Override
reset(long cPtr, boolean cMemoryOwn)1805   	protected void reset(long cPtr, boolean cMemoryOwn) {
1806   		if (!destroyed)
1807   			destroy();
1808   		super.reset(swigCPtr = cPtr, cMemoryOwn);
1809   	}
1810 
getCPtr(Pose obj)1811   	public static long getCPtr(Pose obj) {
1812   		return (obj == null) ? 0 : obj.swigCPtr;
1813   	}
1814 
1815   	@Override
finalize()1816   	protected void finalize() throws Throwable {
1817   		if (!destroyed)
1818   			destroy();
1819   		super.finalize();
1820   	}
1821 
delete()1822     @Override protected synchronized void delete() {
1823   		if (swigCPtr != 0) {
1824   			if (swigCMemOwn) {
1825   				swigCMemOwn = false;
1826   				SoftbodyJNI.delete_btSoftBody_Pose(swigCPtr);
1827   			}
1828   			swigCPtr = 0;
1829   		}
1830   		super.delete();
1831   	}
1832 
setBvolume(boolean value)1833     public void setBvolume(boolean value) {
1834       SoftbodyJNI.btSoftBody_Pose_bvolume_set(swigCPtr, this, value);
1835     }
1836 
getBvolume()1837     public boolean getBvolume() {
1838       return SoftbodyJNI.btSoftBody_Pose_bvolume_get(swigCPtr, this);
1839     }
1840 
setBframe(boolean value)1841     public void setBframe(boolean value) {
1842       SoftbodyJNI.btSoftBody_Pose_bframe_set(swigCPtr, this, value);
1843     }
1844 
getBframe()1845     public boolean getBframe() {
1846       return SoftbodyJNI.btSoftBody_Pose_bframe_get(swigCPtr, this);
1847     }
1848 
setVolume(float value)1849     public void setVolume(float value) {
1850       SoftbodyJNI.btSoftBody_Pose_volume_set(swigCPtr, this, value);
1851     }
1852 
getVolume()1853     public float getVolume() {
1854       return SoftbodyJNI.btSoftBody_Pose_volume_get(swigCPtr, this);
1855     }
1856 
setPos(btVector3Array value)1857     public void setPos(btVector3Array value) {
1858       SoftbodyJNI.btSoftBody_Pose_pos_set(swigCPtr, this, btVector3Array.getCPtr(value), value);
1859     }
1860 
getPos()1861     public btVector3Array getPos() {
1862       long cPtr = SoftbodyJNI.btSoftBody_Pose_pos_get(swigCPtr, this);
1863       return (cPtr == 0) ? null : new btVector3Array(cPtr, false);
1864     }
1865 
setWgh(btScalarArray value)1866     public void setWgh(btScalarArray value) {
1867       SoftbodyJNI.btSoftBody_Pose_wgh_set(swigCPtr, this, btScalarArray.getCPtr(value), value);
1868     }
1869 
getWgh()1870     public btScalarArray getWgh() {
1871       long cPtr = SoftbodyJNI.btSoftBody_Pose_wgh_get(swigCPtr, this);
1872       return (cPtr == 0) ? null : new btScalarArray(cPtr, false);
1873     }
1874 
setCom(btVector3 value)1875     public void setCom(btVector3 value) {
1876       SoftbodyJNI.btSoftBody_Pose_com_set(swigCPtr, this, btVector3.getCPtr(value), value);
1877     }
1878 
getCom()1879     public btVector3 getCom() {
1880       long cPtr = SoftbodyJNI.btSoftBody_Pose_com_get(swigCPtr, this);
1881       return (cPtr == 0) ? null : new btVector3(cPtr, false);
1882     }
1883 
setRot(Matrix3 value)1884     public void setRot(Matrix3 value) {
1885       SoftbodyJNI.btSoftBody_Pose_rot_set(swigCPtr, this, value);
1886     }
1887 
getRot()1888     public Matrix3 getRot() {
1889   	return SoftbodyJNI.btSoftBody_Pose_rot_get(swigCPtr, this);
1890   }
1891 
setScl(Matrix3 value)1892     public void setScl(Matrix3 value) {
1893       SoftbodyJNI.btSoftBody_Pose_scl_set(swigCPtr, this, value);
1894     }
1895 
getScl()1896     public Matrix3 getScl() {
1897   	return SoftbodyJNI.btSoftBody_Pose_scl_get(swigCPtr, this);
1898   }
1899 
setAqq(Matrix3 value)1900     public void setAqq(Matrix3 value) {
1901       SoftbodyJNI.btSoftBody_Pose_aqq_set(swigCPtr, this, value);
1902     }
1903 
getAqq()1904     public Matrix3 getAqq() {
1905   	return SoftbodyJNI.btSoftBody_Pose_aqq_get(swigCPtr, this);
1906   }
1907 
Pose()1908     public Pose() {
1909       this(SoftbodyJNI.new_btSoftBody_Pose(), true);
1910     }
1911 
1912   }
1913 
1914   static public class Cluster extends BulletBase {
1915   	private long swigCPtr;
1916 
Cluster(final String className, long cPtr, boolean cMemoryOwn)1917   	protected Cluster(final String className, long cPtr, boolean cMemoryOwn) {
1918   		super(className, cPtr, cMemoryOwn);
1919   		swigCPtr = cPtr;
1920   	}
1921 
1922   	/** Construct a new Cluster, normally you should not need this constructor it's intended for low-level usage. */
Cluster(long cPtr, boolean cMemoryOwn)1923   	public Cluster(long cPtr, boolean cMemoryOwn) {
1924   		this("Cluster", cPtr, cMemoryOwn);
1925   		construct();
1926   	}
1927 
1928   	@Override
reset(long cPtr, boolean cMemoryOwn)1929   	protected void reset(long cPtr, boolean cMemoryOwn) {
1930   		if (!destroyed)
1931   			destroy();
1932   		super.reset(swigCPtr = cPtr, cMemoryOwn);
1933   	}
1934 
getCPtr(Cluster obj)1935   	public static long getCPtr(Cluster obj) {
1936   		return (obj == null) ? 0 : obj.swigCPtr;
1937   	}
1938 
1939   	@Override
finalize()1940   	protected void finalize() throws Throwable {
1941   		if (!destroyed)
1942   			destroy();
1943   		super.finalize();
1944   	}
1945 
delete()1946     @Override protected synchronized void delete() {
1947   		if (swigCPtr != 0) {
1948   			if (swigCMemOwn) {
1949   				swigCMemOwn = false;
1950   				SoftbodyJNI.delete_btSoftBody_Cluster(swigCPtr);
1951   			}
1952   			swigCPtr = 0;
1953   		}
1954   		super.delete();
1955   	}
1956 
setMasses(btScalarArray value)1957     public void setMasses(btScalarArray value) {
1958       SoftbodyJNI.btSoftBody_Cluster_masses_set(swigCPtr, this, btScalarArray.getCPtr(value), value);
1959     }
1960 
getMasses()1961     public btScalarArray getMasses() {
1962       long cPtr = SoftbodyJNI.btSoftBody_Cluster_masses_get(swigCPtr, this);
1963       return (cPtr == 0) ? null : new btScalarArray(cPtr, false);
1964     }
1965 
setNodes(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Node_p_t value)1966     public void setNodes(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Node_p_t value) {
1967       SoftbodyJNI.btSoftBody_Cluster_nodes_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Node_p_t.getCPtr(value));
1968     }
1969 
getNodes()1970     public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Node_p_t getNodes() {
1971       long cPtr = SoftbodyJNI.btSoftBody_Cluster_nodes_get(swigCPtr, this);
1972       return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Node_p_t(cPtr, false);
1973     }
1974 
setFramerefs(btVector3Array value)1975     public void setFramerefs(btVector3Array value) {
1976       SoftbodyJNI.btSoftBody_Cluster_framerefs_set(swigCPtr, this, btVector3Array.getCPtr(value), value);
1977     }
1978 
getFramerefs()1979     public btVector3Array getFramerefs() {
1980       long cPtr = SoftbodyJNI.btSoftBody_Cluster_framerefs_get(swigCPtr, this);
1981       return (cPtr == 0) ? null : new btVector3Array(cPtr, false);
1982     }
1983 
setFramexform(btTransform value)1984     public void setFramexform(btTransform value) {
1985       SoftbodyJNI.btSoftBody_Cluster_framexform_set(swigCPtr, this, btTransform.getCPtr(value), value);
1986     }
1987 
getFramexform()1988     public btTransform getFramexform() {
1989       long cPtr = SoftbodyJNI.btSoftBody_Cluster_framexform_get(swigCPtr, this);
1990       return (cPtr == 0) ? null : new btTransform(cPtr, false);
1991     }
1992 
setIdmass(float value)1993     public void setIdmass(float value) {
1994       SoftbodyJNI.btSoftBody_Cluster_idmass_set(swigCPtr, this, value);
1995     }
1996 
getIdmass()1997     public float getIdmass() {
1998       return SoftbodyJNI.btSoftBody_Cluster_idmass_get(swigCPtr, this);
1999     }
2000 
setImass(float value)2001     public void setImass(float value) {
2002       SoftbodyJNI.btSoftBody_Cluster_imass_set(swigCPtr, this, value);
2003     }
2004 
getImass()2005     public float getImass() {
2006       return SoftbodyJNI.btSoftBody_Cluster_imass_get(swigCPtr, this);
2007     }
2008 
setLocii(Matrix3 value)2009     public void setLocii(Matrix3 value) {
2010       SoftbodyJNI.btSoftBody_Cluster_locii_set(swigCPtr, this, value);
2011     }
2012 
getLocii()2013     public Matrix3 getLocii() {
2014   	return SoftbodyJNI.btSoftBody_Cluster_locii_get(swigCPtr, this);
2015   }
2016 
setInvwi(Matrix3 value)2017     public void setInvwi(Matrix3 value) {
2018       SoftbodyJNI.btSoftBody_Cluster_invwi_set(swigCPtr, this, value);
2019     }
2020 
getInvwi()2021     public Matrix3 getInvwi() {
2022   	return SoftbodyJNI.btSoftBody_Cluster_invwi_get(swigCPtr, this);
2023   }
2024 
setCom(btVector3 value)2025     public void setCom(btVector3 value) {
2026       SoftbodyJNI.btSoftBody_Cluster_com_set(swigCPtr, this, btVector3.getCPtr(value), value);
2027     }
2028 
getCom()2029     public btVector3 getCom() {
2030       long cPtr = SoftbodyJNI.btSoftBody_Cluster_com_get(swigCPtr, this);
2031       return (cPtr == 0) ? null : new btVector3(cPtr, false);
2032     }
2033 
setVimpulses(btVector3 value)2034     public void setVimpulses(btVector3 value) {
2035       SoftbodyJNI.btSoftBody_Cluster_vimpulses_set(swigCPtr, this, btVector3.getCPtr(value), value);
2036     }
2037 
getVimpulses()2038     public btVector3 getVimpulses() {
2039       long cPtr = SoftbodyJNI.btSoftBody_Cluster_vimpulses_get(swigCPtr, this);
2040       return (cPtr == 0) ? null : new btVector3(cPtr, false);
2041     }
2042 
setDimpulses(btVector3 value)2043     public void setDimpulses(btVector3 value) {
2044       SoftbodyJNI.btSoftBody_Cluster_dimpulses_set(swigCPtr, this, btVector3.getCPtr(value), value);
2045     }
2046 
getDimpulses()2047     public btVector3 getDimpulses() {
2048       long cPtr = SoftbodyJNI.btSoftBody_Cluster_dimpulses_get(swigCPtr, this);
2049       return (cPtr == 0) ? null : new btVector3(cPtr, false);
2050     }
2051 
setNvimpulses(int value)2052     public void setNvimpulses(int value) {
2053       SoftbodyJNI.btSoftBody_Cluster_nvimpulses_set(swigCPtr, this, value);
2054     }
2055 
getNvimpulses()2056     public int getNvimpulses() {
2057       return SoftbodyJNI.btSoftBody_Cluster_nvimpulses_get(swigCPtr, this);
2058     }
2059 
setNdimpulses(int value)2060     public void setNdimpulses(int value) {
2061       SoftbodyJNI.btSoftBody_Cluster_ndimpulses_set(swigCPtr, this, value);
2062     }
2063 
getNdimpulses()2064     public int getNdimpulses() {
2065       return SoftbodyJNI.btSoftBody_Cluster_ndimpulses_get(swigCPtr, this);
2066     }
2067 
setLv(btVector3 value)2068     public void setLv(btVector3 value) {
2069       SoftbodyJNI.btSoftBody_Cluster_lv_set(swigCPtr, this, btVector3.getCPtr(value), value);
2070     }
2071 
getLv()2072     public btVector3 getLv() {
2073       long cPtr = SoftbodyJNI.btSoftBody_Cluster_lv_get(swigCPtr, this);
2074       return (cPtr == 0) ? null : new btVector3(cPtr, false);
2075     }
2076 
setAv(btVector3 value)2077     public void setAv(btVector3 value) {
2078       SoftbodyJNI.btSoftBody_Cluster_av_set(swigCPtr, this, btVector3.getCPtr(value), value);
2079     }
2080 
getAv()2081     public btVector3 getAv() {
2082       long cPtr = SoftbodyJNI.btSoftBody_Cluster_av_get(swigCPtr, this);
2083       return (cPtr == 0) ? null : new btVector3(cPtr, false);
2084     }
2085 
setLeaf(btDbvtNode value)2086     public void setLeaf(btDbvtNode value) {
2087       SoftbodyJNI.btSoftBody_Cluster_leaf_set(swigCPtr, this, btDbvtNode.getCPtr(value), value);
2088     }
2089 
getLeaf()2090     public btDbvtNode getLeaf() {
2091   	return btDbvtNode.internalTemp(SoftbodyJNI.btSoftBody_Cluster_leaf_get(swigCPtr, this), false);
2092   }
2093 
setNdamping(float value)2094     public void setNdamping(float value) {
2095       SoftbodyJNI.btSoftBody_Cluster_ndamping_set(swigCPtr, this, value);
2096     }
2097 
getNdamping()2098     public float getNdamping() {
2099       return SoftbodyJNI.btSoftBody_Cluster_ndamping_get(swigCPtr, this);
2100     }
2101 
setLdamping(float value)2102     public void setLdamping(float value) {
2103       SoftbodyJNI.btSoftBody_Cluster_ldamping_set(swigCPtr, this, value);
2104     }
2105 
getLdamping()2106     public float getLdamping() {
2107       return SoftbodyJNI.btSoftBody_Cluster_ldamping_get(swigCPtr, this);
2108     }
2109 
setAdamping(float value)2110     public void setAdamping(float value) {
2111       SoftbodyJNI.btSoftBody_Cluster_adamping_set(swigCPtr, this, value);
2112     }
2113 
getAdamping()2114     public float getAdamping() {
2115       return SoftbodyJNI.btSoftBody_Cluster_adamping_get(swigCPtr, this);
2116     }
2117 
setMatching(float value)2118     public void setMatching(float value) {
2119       SoftbodyJNI.btSoftBody_Cluster_matching_set(swigCPtr, this, value);
2120     }
2121 
getMatching()2122     public float getMatching() {
2123       return SoftbodyJNI.btSoftBody_Cluster_matching_get(swigCPtr, this);
2124     }
2125 
setMaxSelfCollisionImpulse(float value)2126     public void setMaxSelfCollisionImpulse(float value) {
2127       SoftbodyJNI.btSoftBody_Cluster_maxSelfCollisionImpulse_set(swigCPtr, this, value);
2128     }
2129 
getMaxSelfCollisionImpulse()2130     public float getMaxSelfCollisionImpulse() {
2131       return SoftbodyJNI.btSoftBody_Cluster_maxSelfCollisionImpulse_get(swigCPtr, this);
2132     }
2133 
setSelfCollisionImpulseFactor(float value)2134     public void setSelfCollisionImpulseFactor(float value) {
2135       SoftbodyJNI.btSoftBody_Cluster_selfCollisionImpulseFactor_set(swigCPtr, this, value);
2136     }
2137 
getSelfCollisionImpulseFactor()2138     public float getSelfCollisionImpulseFactor() {
2139       return SoftbodyJNI.btSoftBody_Cluster_selfCollisionImpulseFactor_get(swigCPtr, this);
2140     }
2141 
setContainsAnchor(boolean value)2142     public void setContainsAnchor(boolean value) {
2143       SoftbodyJNI.btSoftBody_Cluster_containsAnchor_set(swigCPtr, this, value);
2144     }
2145 
getContainsAnchor()2146     public boolean getContainsAnchor() {
2147       return SoftbodyJNI.btSoftBody_Cluster_containsAnchor_get(swigCPtr, this);
2148     }
2149 
setCollide(boolean value)2150     public void setCollide(boolean value) {
2151       SoftbodyJNI.btSoftBody_Cluster_collide_set(swigCPtr, this, value);
2152     }
2153 
getCollide()2154     public boolean getCollide() {
2155       return SoftbodyJNI.btSoftBody_Cluster_collide_get(swigCPtr, this);
2156     }
2157 
setClusterIndex(int value)2158     public void setClusterIndex(int value) {
2159       SoftbodyJNI.btSoftBody_Cluster_clusterIndex_set(swigCPtr, this, value);
2160     }
2161 
getClusterIndex()2162     public int getClusterIndex() {
2163       return SoftbodyJNI.btSoftBody_Cluster_clusterIndex_get(swigCPtr, this);
2164     }
2165 
Cluster()2166     public Cluster() {
2167       this(SoftbodyJNI.new_btSoftBody_Cluster(), true);
2168     }
2169 
2170   }
2171 
2172   static public class Impulse extends BulletBase {
2173   	private long swigCPtr;
2174 
Impulse(final String className, long cPtr, boolean cMemoryOwn)2175   	protected Impulse(final String className, long cPtr, boolean cMemoryOwn) {
2176   		super(className, cPtr, cMemoryOwn);
2177   		swigCPtr = cPtr;
2178   	}
2179 
2180   	/** Construct a new Impulse, normally you should not need this constructor it's intended for low-level usage. */
Impulse(long cPtr, boolean cMemoryOwn)2181   	public Impulse(long cPtr, boolean cMemoryOwn) {
2182   		this("Impulse", cPtr, cMemoryOwn);
2183   		construct();
2184   	}
2185 
2186   	@Override
reset(long cPtr, boolean cMemoryOwn)2187   	protected void reset(long cPtr, boolean cMemoryOwn) {
2188   		if (!destroyed)
2189   			destroy();
2190   		super.reset(swigCPtr = cPtr, cMemoryOwn);
2191   	}
2192 
getCPtr(Impulse obj)2193   	public static long getCPtr(Impulse obj) {
2194   		return (obj == null) ? 0 : obj.swigCPtr;
2195   	}
2196 
2197   	@Override
finalize()2198   	protected void finalize() throws Throwable {
2199   		if (!destroyed)
2200   			destroy();
2201   		super.finalize();
2202   	}
2203 
delete()2204     @Override protected synchronized void delete() {
2205   		if (swigCPtr != 0) {
2206   			if (swigCMemOwn) {
2207   				swigCMemOwn = false;
2208   				SoftbodyJNI.delete_btSoftBody_Impulse(swigCPtr);
2209   			}
2210   			swigCPtr = 0;
2211   		}
2212   		super.delete();
2213   	}
2214 
setVelocity(btVector3 value)2215     public void setVelocity(btVector3 value) {
2216       SoftbodyJNI.btSoftBody_Impulse_velocity_set(swigCPtr, this, btVector3.getCPtr(value), value);
2217     }
2218 
getVelocity()2219     public btVector3 getVelocity() {
2220       long cPtr = SoftbodyJNI.btSoftBody_Impulse_velocity_get(swigCPtr, this);
2221       return (cPtr == 0) ? null : new btVector3(cPtr, false);
2222     }
2223 
setDrift(btVector3 value)2224     public void setDrift(btVector3 value) {
2225       SoftbodyJNI.btSoftBody_Impulse_drift_set(swigCPtr, this, btVector3.getCPtr(value), value);
2226     }
2227 
getDrift()2228     public btVector3 getDrift() {
2229       long cPtr = SoftbodyJNI.btSoftBody_Impulse_drift_get(swigCPtr, this);
2230       return (cPtr == 0) ? null : new btVector3(cPtr, false);
2231     }
2232 
setAsVelocity(int value)2233     public void setAsVelocity(int value) {
2234       SoftbodyJNI.btSoftBody_Impulse_asVelocity_set(swigCPtr, this, value);
2235     }
2236 
getAsVelocity()2237     public int getAsVelocity() {
2238       return SoftbodyJNI.btSoftBody_Impulse_asVelocity_get(swigCPtr, this);
2239     }
2240 
setAsDrift(int value)2241     public void setAsDrift(int value) {
2242       SoftbodyJNI.btSoftBody_Impulse_asDrift_set(swigCPtr, this, value);
2243     }
2244 
getAsDrift()2245     public int getAsDrift() {
2246       return SoftbodyJNI.btSoftBody_Impulse_asDrift_get(swigCPtr, this);
2247     }
2248 
Impulse()2249     public Impulse() {
2250       this(SoftbodyJNI.new_btSoftBody_Impulse(), true);
2251     }
2252 
2253   }
2254 
2255   static public class Body extends BulletBase {
2256   	private long swigCPtr;
2257 
Body(final String className, long cPtr, boolean cMemoryOwn)2258   	protected Body(final String className, long cPtr, boolean cMemoryOwn) {
2259   		super(className, cPtr, cMemoryOwn);
2260   		swigCPtr = cPtr;
2261   	}
2262 
2263   	/** Construct a new Body, normally you should not need this constructor it's intended for low-level usage. */
Body(long cPtr, boolean cMemoryOwn)2264   	public Body(long cPtr, boolean cMemoryOwn) {
2265   		this("Body", cPtr, cMemoryOwn);
2266   		construct();
2267   	}
2268 
2269   	@Override
reset(long cPtr, boolean cMemoryOwn)2270   	protected void reset(long cPtr, boolean cMemoryOwn) {
2271   		if (!destroyed)
2272   			destroy();
2273   		super.reset(swigCPtr = cPtr, cMemoryOwn);
2274   	}
2275 
getCPtr(Body obj)2276   	public static long getCPtr(Body obj) {
2277   		return (obj == null) ? 0 : obj.swigCPtr;
2278   	}
2279 
2280   	@Override
finalize()2281   	protected void finalize() throws Throwable {
2282   		if (!destroyed)
2283   			destroy();
2284   		super.finalize();
2285   	}
2286 
delete()2287     @Override protected synchronized void delete() {
2288   		if (swigCPtr != 0) {
2289   			if (swigCMemOwn) {
2290   				swigCMemOwn = false;
2291   				SoftbodyJNI.delete_btSoftBody_Body(swigCPtr);
2292   			}
2293   			swigCPtr = 0;
2294   		}
2295   		super.delete();
2296   	}
2297 
setSoft(btSoftBody.Cluster value)2298     public void setSoft(btSoftBody.Cluster value) {
2299       SoftbodyJNI.btSoftBody_Body_soft_set(swigCPtr, this, btSoftBody.Cluster.getCPtr(value), value);
2300     }
2301 
getSoft()2302     public btSoftBody.Cluster getSoft() {
2303       long cPtr = SoftbodyJNI.btSoftBody_Body_soft_get(swigCPtr, this);
2304       return (cPtr == 0) ? null : new btSoftBody.Cluster(cPtr, false);
2305     }
2306 
setRigid(btRigidBody value)2307     public void setRigid(btRigidBody value) {
2308       SoftbodyJNI.btSoftBody_Body_rigid_set(swigCPtr, this, btRigidBody.getCPtr(value), value);
2309     }
2310 
getRigid()2311     public btRigidBody getRigid() {
2312   	return btRigidBody.getInstance(SoftbodyJNI.btSoftBody_Body_rigid_get(swigCPtr, this), false);
2313   }
2314 
setCollisionObject(btCollisionObject value)2315     public void setCollisionObject(btCollisionObject value) {
2316       SoftbodyJNI.btSoftBody_Body_collisionObject_set(swigCPtr, this, btCollisionObject.getCPtr(value), value);
2317     }
2318 
getCollisionObject()2319     public btCollisionObject getCollisionObject() {
2320   	return btCollisionObject.getInstance(SoftbodyJNI.btSoftBody_Body_collisionObject_get(swigCPtr, this), false);
2321   }
2322 
Body()2323     public Body() {
2324       this(SoftbodyJNI.new_btSoftBody_Body__SWIG_0(), true);
2325     }
2326 
Body(btSoftBody.Cluster p)2327     public Body(btSoftBody.Cluster p) {
2328       this(SoftbodyJNI.new_btSoftBody_Body__SWIG_1(btSoftBody.Cluster.getCPtr(p), p), true);
2329     }
2330 
Body(btCollisionObject colObj)2331     public Body(btCollisionObject colObj) {
2332       this(SoftbodyJNI.new_btSoftBody_Body__SWIG_2(btCollisionObject.getCPtr(colObj), colObj), true);
2333     }
2334 
activate()2335     public void activate() {
2336       SoftbodyJNI.btSoftBody_Body_activate(swigCPtr, this);
2337     }
2338 
invWorldInertia()2339     public Matrix3 invWorldInertia() {
2340   	return SoftbodyJNI.btSoftBody_Body_invWorldInertia(swigCPtr, this);
2341   }
2342 
invMass()2343     public float invMass() {
2344       return SoftbodyJNI.btSoftBody_Body_invMass(swigCPtr, this);
2345     }
2346 
xform()2347     public Matrix4 xform() {
2348   	return SoftbodyJNI.btSoftBody_Body_xform(swigCPtr, this);
2349   }
2350 
linearVelocity()2351     public Vector3 linearVelocity() {
2352   	return SoftbodyJNI.btSoftBody_Body_linearVelocity(swigCPtr, this);
2353   }
2354 
angularVelocity(Vector3 rpos)2355     public Vector3 angularVelocity(Vector3 rpos) {
2356   	return SoftbodyJNI.btSoftBody_Body_angularVelocity__SWIG_0(swigCPtr, this, rpos);
2357   }
2358 
angularVelocity()2359     public Vector3 angularVelocity() {
2360   	return SoftbodyJNI.btSoftBody_Body_angularVelocity__SWIG_1(swigCPtr, this);
2361   }
2362 
velocity(Vector3 rpos)2363     public Vector3 velocity(Vector3 rpos) {
2364   	return SoftbodyJNI.btSoftBody_Body_velocity(swigCPtr, this, rpos);
2365   }
2366 
applyVImpulse(Vector3 impulse, Vector3 rpos)2367     public void applyVImpulse(Vector3 impulse, Vector3 rpos) {
2368       SoftbodyJNI.btSoftBody_Body_applyVImpulse(swigCPtr, this, impulse, rpos);
2369     }
2370 
applyDImpulse(Vector3 impulse, Vector3 rpos)2371     public void applyDImpulse(Vector3 impulse, Vector3 rpos) {
2372       SoftbodyJNI.btSoftBody_Body_applyDImpulse(swigCPtr, this, impulse, rpos);
2373     }
2374 
applyImpulse(btSoftBody.Impulse impulse, Vector3 rpos)2375     public void applyImpulse(btSoftBody.Impulse impulse, Vector3 rpos) {
2376       SoftbodyJNI.btSoftBody_Body_applyImpulse(swigCPtr, this, btSoftBody.Impulse.getCPtr(impulse), impulse, rpos);
2377     }
2378 
applyVAImpulse(Vector3 impulse)2379     public void applyVAImpulse(Vector3 impulse) {
2380       SoftbodyJNI.btSoftBody_Body_applyVAImpulse(swigCPtr, this, impulse);
2381     }
2382 
applyDAImpulse(Vector3 impulse)2383     public void applyDAImpulse(Vector3 impulse) {
2384       SoftbodyJNI.btSoftBody_Body_applyDAImpulse(swigCPtr, this, impulse);
2385     }
2386 
applyAImpulse(btSoftBody.Impulse impulse)2387     public void applyAImpulse(btSoftBody.Impulse impulse) {
2388       SoftbodyJNI.btSoftBody_Body_applyAImpulse(swigCPtr, this, btSoftBody.Impulse.getCPtr(impulse), impulse);
2389     }
2390 
applyDCImpulse(Vector3 impulse)2391     public void applyDCImpulse(Vector3 impulse) {
2392       SoftbodyJNI.btSoftBody_Body_applyDCImpulse(swigCPtr, this, impulse);
2393     }
2394 
2395   }
2396 
2397   static public class Joint extends BulletBase {
2398   	private long swigCPtr;
2399 
Joint(final String className, long cPtr, boolean cMemoryOwn)2400   	protected Joint(final String className, long cPtr, boolean cMemoryOwn) {
2401   		super(className, cPtr, cMemoryOwn);
2402   		swigCPtr = cPtr;
2403   	}
2404 
2405   	/** Construct a new Joint, normally you should not need this constructor it's intended for low-level usage. */
Joint(long cPtr, boolean cMemoryOwn)2406   	public Joint(long cPtr, boolean cMemoryOwn) {
2407   		this("Joint", cPtr, cMemoryOwn);
2408   		construct();
2409   	}
2410 
2411   	@Override
reset(long cPtr, boolean cMemoryOwn)2412   	protected void reset(long cPtr, boolean cMemoryOwn) {
2413   		if (!destroyed)
2414   			destroy();
2415   		super.reset(swigCPtr = cPtr, cMemoryOwn);
2416   	}
2417 
getCPtr(Joint obj)2418   	public static long getCPtr(Joint obj) {
2419   		return (obj == null) ? 0 : obj.swigCPtr;
2420   	}
2421 
2422   	@Override
finalize()2423   	protected void finalize() throws Throwable {
2424   		if (!destroyed)
2425   			destroy();
2426   		super.finalize();
2427   	}
2428 
delete()2429     @Override protected synchronized void delete() {
2430   		if (swigCPtr != 0) {
2431   			if (swigCMemOwn) {
2432   				swigCMemOwn = false;
2433   				SoftbodyJNI.delete_btSoftBody_Joint(swigCPtr);
2434   			}
2435   			swigCPtr = 0;
2436   		}
2437   		super.delete();
2438   	}
2439 
2440       static public class eType extends BulletBase {
2441       	private long swigCPtr;
2442 
eType(final String className, long cPtr, boolean cMemoryOwn)2443       	protected eType(final String className, long cPtr, boolean cMemoryOwn) {
2444       		super(className, cPtr, cMemoryOwn);
2445       		swigCPtr = cPtr;
2446       	}
2447 
2448       	/** Construct a new eType, normally you should not need this constructor it's intended for low-level usage. */
eType(long cPtr, boolean cMemoryOwn)2449       	public eType(long cPtr, boolean cMemoryOwn) {
2450       		this("eType", cPtr, cMemoryOwn);
2451       		construct();
2452       	}
2453 
2454       	@Override
reset(long cPtr, boolean cMemoryOwn)2455       	protected void reset(long cPtr, boolean cMemoryOwn) {
2456       		if (!destroyed)
2457       			destroy();
2458       		super.reset(swigCPtr = cPtr, cMemoryOwn);
2459       	}
2460 
getCPtr(eType obj)2461       	public static long getCPtr(eType obj) {
2462       		return (obj == null) ? 0 : obj.swigCPtr;
2463       	}
2464 
2465       	@Override
finalize()2466       	protected void finalize() throws Throwable {
2467       		if (!destroyed)
2468       			destroy();
2469       		super.finalize();
2470       	}
2471 
delete()2472         @Override protected synchronized void delete() {
2473       		if (swigCPtr != 0) {
2474       			if (swigCMemOwn) {
2475       				swigCMemOwn = false;
2476       				SoftbodyJNI.delete_btSoftBody_Joint_eType(swigCPtr);
2477       			}
2478       			swigCPtr = 0;
2479       		}
2480       		super.delete();
2481       	}
2482 
eType()2483         public eType() {
2484           this(SoftbodyJNI.new_btSoftBody_Joint_eType(), true);
2485         }
2486 
2487         public final static class _ {
2488           public final static int Linear = 0;
2489           public final static int Angular = Linear + 1;
2490           public final static int Contact = Angular + 1;
2491         }
2492 
2493       }
2494 
2495       static public class Specs extends BulletBase {
2496       	private long swigCPtr;
2497 
Specs(final String className, long cPtr, boolean cMemoryOwn)2498       	protected Specs(final String className, long cPtr, boolean cMemoryOwn) {
2499       		super(className, cPtr, cMemoryOwn);
2500       		swigCPtr = cPtr;
2501       	}
2502 
2503       	/** Construct a new Specs, normally you should not need this constructor it's intended for low-level usage. */
Specs(long cPtr, boolean cMemoryOwn)2504       	public Specs(long cPtr, boolean cMemoryOwn) {
2505       		this("Specs", cPtr, cMemoryOwn);
2506       		construct();
2507       	}
2508 
2509       	@Override
reset(long cPtr, boolean cMemoryOwn)2510       	protected void reset(long cPtr, boolean cMemoryOwn) {
2511       		if (!destroyed)
2512       			destroy();
2513       		super.reset(swigCPtr = cPtr, cMemoryOwn);
2514       	}
2515 
getCPtr(Specs obj)2516       	public static long getCPtr(Specs obj) {
2517       		return (obj == null) ? 0 : obj.swigCPtr;
2518       	}
2519 
2520       	@Override
finalize()2521       	protected void finalize() throws Throwable {
2522       		if (!destroyed)
2523       			destroy();
2524       		super.finalize();
2525       	}
2526 
delete()2527         @Override protected synchronized void delete() {
2528       		if (swigCPtr != 0) {
2529       			if (swigCMemOwn) {
2530       				swigCMemOwn = false;
2531       				SoftbodyJNI.delete_btSoftBody_Joint_Specs(swigCPtr);
2532       			}
2533       			swigCPtr = 0;
2534       		}
2535       		super.delete();
2536       	}
2537 
Specs()2538         public Specs() {
2539           this(SoftbodyJNI.new_btSoftBody_Joint_Specs(), true);
2540         }
2541 
setErp(float value)2542         public void setErp(float value) {
2543           SoftbodyJNI.btSoftBody_Joint_Specs_erp_set(swigCPtr, this, value);
2544         }
2545 
getErp()2546         public float getErp() {
2547           return SoftbodyJNI.btSoftBody_Joint_Specs_erp_get(swigCPtr, this);
2548         }
2549 
setCfm(float value)2550         public void setCfm(float value) {
2551           SoftbodyJNI.btSoftBody_Joint_Specs_cfm_set(swigCPtr, this, value);
2552         }
2553 
getCfm()2554         public float getCfm() {
2555           return SoftbodyJNI.btSoftBody_Joint_Specs_cfm_get(swigCPtr, this);
2556         }
2557 
setSplit(float value)2558         public void setSplit(float value) {
2559           SoftbodyJNI.btSoftBody_Joint_Specs_split_set(swigCPtr, this, value);
2560         }
2561 
getSplit()2562         public float getSplit() {
2563           return SoftbodyJNI.btSoftBody_Joint_Specs_split_get(swigCPtr, this);
2564         }
2565 
2566       }
2567 
setBodies(btSoftBody.Body value)2568     public void setBodies(btSoftBody.Body value) {
2569       SoftbodyJNI.btSoftBody_Joint_bodies_set(swigCPtr, this, btSoftBody.Body.getCPtr(value), value);
2570     }
2571 
getBodies()2572     public btSoftBody.Body getBodies() {
2573       long cPtr = SoftbodyJNI.btSoftBody_Joint_bodies_get(swigCPtr, this);
2574       return (cPtr == 0) ? null : new btSoftBody.Body(cPtr, false);
2575     }
2576 
setRefs(btVector3 value)2577     public void setRefs(btVector3 value) {
2578       SoftbodyJNI.btSoftBody_Joint_refs_set(swigCPtr, this, btVector3.getCPtr(value), value);
2579     }
2580 
getRefs()2581     public btVector3 getRefs() {
2582       long cPtr = SoftbodyJNI.btSoftBody_Joint_refs_get(swigCPtr, this);
2583       return (cPtr == 0) ? null : new btVector3(cPtr, false);
2584     }
2585 
setCfm(float value)2586     public void setCfm(float value) {
2587       SoftbodyJNI.btSoftBody_Joint_cfm_set(swigCPtr, this, value);
2588     }
2589 
getCfm()2590     public float getCfm() {
2591       return SoftbodyJNI.btSoftBody_Joint_cfm_get(swigCPtr, this);
2592     }
2593 
setErp(float value)2594     public void setErp(float value) {
2595       SoftbodyJNI.btSoftBody_Joint_erp_set(swigCPtr, this, value);
2596     }
2597 
getErp()2598     public float getErp() {
2599       return SoftbodyJNI.btSoftBody_Joint_erp_get(swigCPtr, this);
2600     }
2601 
setSplit(float value)2602     public void setSplit(float value) {
2603       SoftbodyJNI.btSoftBody_Joint_split_set(swigCPtr, this, value);
2604     }
2605 
getSplit()2606     public float getSplit() {
2607       return SoftbodyJNI.btSoftBody_Joint_split_get(swigCPtr, this);
2608     }
2609 
setDrift(btVector3 value)2610     public void setDrift(btVector3 value) {
2611       SoftbodyJNI.btSoftBody_Joint_drift_set(swigCPtr, this, btVector3.getCPtr(value), value);
2612     }
2613 
getDrift()2614     public btVector3 getDrift() {
2615       long cPtr = SoftbodyJNI.btSoftBody_Joint_drift_get(swigCPtr, this);
2616       return (cPtr == 0) ? null : new btVector3(cPtr, false);
2617     }
2618 
setSdrift(btVector3 value)2619     public void setSdrift(btVector3 value) {
2620       SoftbodyJNI.btSoftBody_Joint_sdrift_set(swigCPtr, this, btVector3.getCPtr(value), value);
2621     }
2622 
getSdrift()2623     public btVector3 getSdrift() {
2624       long cPtr = SoftbodyJNI.btSoftBody_Joint_sdrift_get(swigCPtr, this);
2625       return (cPtr == 0) ? null : new btVector3(cPtr, false);
2626     }
2627 
setMassmatrix(Matrix3 value)2628     public void setMassmatrix(Matrix3 value) {
2629       SoftbodyJNI.btSoftBody_Joint_massmatrix_set(swigCPtr, this, value);
2630     }
2631 
getMassmatrix()2632     public Matrix3 getMassmatrix() {
2633   	return SoftbodyJNI.btSoftBody_Joint_massmatrix_get(swigCPtr, this);
2634   }
2635 
setDelete(boolean value)2636     public void setDelete(boolean value) {
2637       SoftbodyJNI.btSoftBody_Joint_delete_set(swigCPtr, this, value);
2638     }
2639 
getDelete()2640     public boolean getDelete() {
2641       return SoftbodyJNI.btSoftBody_Joint_delete_get(swigCPtr, this);
2642     }
2643 
Prepare(float dt, int iterations)2644     public void Prepare(float dt, int iterations) {
2645       SoftbodyJNI.btSoftBody_Joint_Prepare(swigCPtr, this, dt, iterations);
2646     }
2647 
Solve(float dt, float sor)2648     public void Solve(float dt, float sor) {
2649       SoftbodyJNI.btSoftBody_Joint_Solve(swigCPtr, this, dt, sor);
2650     }
2651 
Terminate(float dt)2652     public void Terminate(float dt) {
2653       SoftbodyJNI.btSoftBody_Joint_Terminate(swigCPtr, this, dt);
2654     }
2655 
Type()2656     public int Type() {
2657       return SoftbodyJNI.btSoftBody_Joint_Type(swigCPtr, this);
2658     }
2659 
2660   }
2661 
2662   static public class LJoint extends btSoftBody.Joint {
2663   	private long swigCPtr;
2664 
LJoint(final String className, long cPtr, boolean cMemoryOwn)2665   	protected LJoint(final String className, long cPtr, boolean cMemoryOwn) {
2666   		super(className, SoftbodyJNI.btSoftBody_LJoint_SWIGUpcast(cPtr), cMemoryOwn);
2667   		swigCPtr = cPtr;
2668   	}
2669 
2670   	/** Construct a new LJoint, normally you should not need this constructor it's intended for low-level usage. */
LJoint(long cPtr, boolean cMemoryOwn)2671   	public LJoint(long cPtr, boolean cMemoryOwn) {
2672   		this("LJoint", cPtr, cMemoryOwn);
2673   		construct();
2674   	}
2675 
2676   	@Override
reset(long cPtr, boolean cMemoryOwn)2677   	protected void reset(long cPtr, boolean cMemoryOwn) {
2678   		if (!destroyed)
2679   			destroy();
2680   		super.reset(SoftbodyJNI.btSoftBody_LJoint_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
2681   	}
2682 
getCPtr(LJoint obj)2683   	public static long getCPtr(LJoint obj) {
2684   		return (obj == null) ? 0 : obj.swigCPtr;
2685   	}
2686 
2687   	@Override
finalize()2688   	protected void finalize() throws Throwable {
2689   		if (!destroyed)
2690   			destroy();
2691   		super.finalize();
2692   	}
2693 
delete()2694     @Override protected synchronized void delete() {
2695   		if (swigCPtr != 0) {
2696   			if (swigCMemOwn) {
2697   				swigCMemOwn = false;
2698   				SoftbodyJNI.delete_btSoftBody_LJoint(swigCPtr);
2699   			}
2700   			swigCPtr = 0;
2701   		}
2702   		super.delete();
2703   	}
2704 
2705       static public class Specs extends btSoftBody.Joint.Specs {
2706       	private long swigCPtr;
2707 
Specs(final String className, long cPtr, boolean cMemoryOwn)2708       	protected Specs(final String className, long cPtr, boolean cMemoryOwn) {
2709       		super(className, SoftbodyJNI.btSoftBody_LJoint_Specs_SWIGUpcast(cPtr), cMemoryOwn);
2710       		swigCPtr = cPtr;
2711       	}
2712 
2713       	/** Construct a new Specs, normally you should not need this constructor it's intended for low-level usage. */
Specs(long cPtr, boolean cMemoryOwn)2714       	public Specs(long cPtr, boolean cMemoryOwn) {
2715       		this("Specs", cPtr, cMemoryOwn);
2716       		construct();
2717       	}
2718 
2719       	@Override
reset(long cPtr, boolean cMemoryOwn)2720       	protected void reset(long cPtr, boolean cMemoryOwn) {
2721       		if (!destroyed)
2722       			destroy();
2723       		super.reset(SoftbodyJNI.btSoftBody_LJoint_Specs_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
2724       	}
2725 
getCPtr(Specs obj)2726       	public static long getCPtr(Specs obj) {
2727       		return (obj == null) ? 0 : obj.swigCPtr;
2728       	}
2729 
2730       	@Override
finalize()2731       	protected void finalize() throws Throwable {
2732       		if (!destroyed)
2733       			destroy();
2734       		super.finalize();
2735       	}
2736 
delete()2737         @Override protected synchronized void delete() {
2738       		if (swigCPtr != 0) {
2739       			if (swigCMemOwn) {
2740       				swigCMemOwn = false;
2741       				SoftbodyJNI.delete_btSoftBody_LJoint_Specs(swigCPtr);
2742       			}
2743       			swigCPtr = 0;
2744       		}
2745       		super.delete();
2746       	}
2747 
setPosition(btVector3 value)2748         public void setPosition(btVector3 value) {
2749           SoftbodyJNI.btSoftBody_LJoint_Specs_position_set(swigCPtr, this, btVector3.getCPtr(value), value);
2750         }
2751 
getPosition()2752         public btVector3 getPosition() {
2753           long cPtr = SoftbodyJNI.btSoftBody_LJoint_Specs_position_get(swigCPtr, this);
2754           return (cPtr == 0) ? null : new btVector3(cPtr, false);
2755         }
2756 
Specs()2757         public Specs() {
2758           this(SoftbodyJNI.new_btSoftBody_LJoint_Specs(), true);
2759         }
2760 
2761       }
2762 
setRpos(btVector3 value)2763     public void setRpos(btVector3 value) {
2764       SoftbodyJNI.btSoftBody_LJoint_rpos_set(swigCPtr, this, btVector3.getCPtr(value), value);
2765     }
2766 
getRpos()2767     public btVector3 getRpos() {
2768       long cPtr = SoftbodyJNI.btSoftBody_LJoint_rpos_get(swigCPtr, this);
2769       return (cPtr == 0) ? null : new btVector3(cPtr, false);
2770     }
2771 
LJoint()2772     public LJoint() {
2773       this(SoftbodyJNI.new_btSoftBody_LJoint(), true);
2774     }
2775 
2776   }
2777 
2778   static public class AJoint extends btSoftBody.Joint {
2779   	private long swigCPtr;
2780 
AJoint(final String className, long cPtr, boolean cMemoryOwn)2781   	protected AJoint(final String className, long cPtr, boolean cMemoryOwn) {
2782   		super(className, SoftbodyJNI.btSoftBody_AJoint_SWIGUpcast(cPtr), cMemoryOwn);
2783   		swigCPtr = cPtr;
2784   	}
2785 
2786   	/** Construct a new AJoint, normally you should not need this constructor it's intended for low-level usage. */
AJoint(long cPtr, boolean cMemoryOwn)2787   	public AJoint(long cPtr, boolean cMemoryOwn) {
2788   		this("AJoint", cPtr, cMemoryOwn);
2789   		construct();
2790   	}
2791 
2792   	@Override
reset(long cPtr, boolean cMemoryOwn)2793   	protected void reset(long cPtr, boolean cMemoryOwn) {
2794   		if (!destroyed)
2795   			destroy();
2796   		super.reset(SoftbodyJNI.btSoftBody_AJoint_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
2797   	}
2798 
getCPtr(AJoint obj)2799   	public static long getCPtr(AJoint obj) {
2800   		return (obj == null) ? 0 : obj.swigCPtr;
2801   	}
2802 
2803   	@Override
finalize()2804   	protected void finalize() throws Throwable {
2805   		if (!destroyed)
2806   			destroy();
2807   		super.finalize();
2808   	}
2809 
delete()2810     @Override protected synchronized void delete() {
2811   		if (swigCPtr != 0) {
2812   			if (swigCMemOwn) {
2813   				swigCMemOwn = false;
2814   				SoftbodyJNI.delete_btSoftBody_AJoint(swigCPtr);
2815   			}
2816   			swigCPtr = 0;
2817   		}
2818   		super.delete();
2819   	}
2820 
2821       static public class IControl extends BulletBase {
2822       	private long swigCPtr;
2823 
IControl(final String className, long cPtr, boolean cMemoryOwn)2824       	protected IControl(final String className, long cPtr, boolean cMemoryOwn) {
2825       		super(className, cPtr, cMemoryOwn);
2826       		swigCPtr = cPtr;
2827       	}
2828 
2829       	/** Construct a new IControl, normally you should not need this constructor it's intended for low-level usage. */
IControl(long cPtr, boolean cMemoryOwn)2830       	public IControl(long cPtr, boolean cMemoryOwn) {
2831       		this("IControl", cPtr, cMemoryOwn);
2832       		construct();
2833       	}
2834 
2835       	@Override
reset(long cPtr, boolean cMemoryOwn)2836       	protected void reset(long cPtr, boolean cMemoryOwn) {
2837       		if (!destroyed)
2838       			destroy();
2839       		super.reset(swigCPtr = cPtr, cMemoryOwn);
2840       	}
2841 
getCPtr(IControl obj)2842       	public static long getCPtr(IControl obj) {
2843       		return (obj == null) ? 0 : obj.swigCPtr;
2844       	}
2845 
2846       	@Override
finalize()2847       	protected void finalize() throws Throwable {
2848       		if (!destroyed)
2849       			destroy();
2850       		super.finalize();
2851       	}
2852 
delete()2853         @Override protected synchronized void delete() {
2854       		if (swigCPtr != 0) {
2855       			if (swigCMemOwn) {
2856       				swigCMemOwn = false;
2857       				SoftbodyJNI.delete_btSoftBody_AJoint_IControl(swigCPtr);
2858       			}
2859       			swigCPtr = 0;
2860       		}
2861       		super.delete();
2862       	}
2863 
Prepare(btSoftBody.AJoint arg0)2864         public void Prepare(btSoftBody.AJoint arg0) {
2865           SoftbodyJNI.btSoftBody_AJoint_IControl_Prepare(swigCPtr, this, btSoftBody.AJoint.getCPtr(arg0), arg0);
2866         }
2867 
Speed(btSoftBody.AJoint arg0, float current)2868         public float Speed(btSoftBody.AJoint arg0, float current) {
2869           return SoftbodyJNI.btSoftBody_AJoint_IControl_Speed(swigCPtr, this, btSoftBody.AJoint.getCPtr(arg0), arg0, current);
2870         }
2871 
Default()2872         public static btSoftBody.AJoint.IControl Default() {
2873           long cPtr = SoftbodyJNI.btSoftBody_AJoint_IControl_Default();
2874           return (cPtr == 0) ? null : new btSoftBody.AJoint.IControl(cPtr, false);
2875         }
2876 
IControl()2877         public IControl() {
2878           this(SoftbodyJNI.new_btSoftBody_AJoint_IControl(), true);
2879         }
2880 
2881       }
2882 
2883       static public class Specs extends btSoftBody.Joint.Specs {
2884       	private long swigCPtr;
2885 
Specs(final String className, long cPtr, boolean cMemoryOwn)2886       	protected Specs(final String className, long cPtr, boolean cMemoryOwn) {
2887       		super(className, SoftbodyJNI.btSoftBody_AJoint_Specs_SWIGUpcast(cPtr), cMemoryOwn);
2888       		swigCPtr = cPtr;
2889       	}
2890 
2891       	/** Construct a new Specs, normally you should not need this constructor it's intended for low-level usage. */
Specs(long cPtr, boolean cMemoryOwn)2892       	public Specs(long cPtr, boolean cMemoryOwn) {
2893       		this("Specs", cPtr, cMemoryOwn);
2894       		construct();
2895       	}
2896 
2897       	@Override
reset(long cPtr, boolean cMemoryOwn)2898       	protected void reset(long cPtr, boolean cMemoryOwn) {
2899       		if (!destroyed)
2900       			destroy();
2901       		super.reset(SoftbodyJNI.btSoftBody_AJoint_Specs_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
2902       	}
2903 
getCPtr(Specs obj)2904       	public static long getCPtr(Specs obj) {
2905       		return (obj == null) ? 0 : obj.swigCPtr;
2906       	}
2907 
2908       	@Override
finalize()2909       	protected void finalize() throws Throwable {
2910       		if (!destroyed)
2911       			destroy();
2912       		super.finalize();
2913       	}
2914 
delete()2915         @Override protected synchronized void delete() {
2916       		if (swigCPtr != 0) {
2917       			if (swigCMemOwn) {
2918       				swigCMemOwn = false;
2919       				SoftbodyJNI.delete_btSoftBody_AJoint_Specs(swigCPtr);
2920       			}
2921       			swigCPtr = 0;
2922       		}
2923       		super.delete();
2924       	}
2925 
Specs()2926         public Specs() {
2927           this(SoftbodyJNI.new_btSoftBody_AJoint_Specs(), true);
2928         }
2929 
setAxis(btVector3 value)2930         public void setAxis(btVector3 value) {
2931           SoftbodyJNI.btSoftBody_AJoint_Specs_axis_set(swigCPtr, this, btVector3.getCPtr(value), value);
2932         }
2933 
getAxis()2934         public btVector3 getAxis() {
2935           long cPtr = SoftbodyJNI.btSoftBody_AJoint_Specs_axis_get(swigCPtr, this);
2936           return (cPtr == 0) ? null : new btVector3(cPtr, false);
2937         }
2938 
setIcontrol(btSoftBody.AJoint.IControl value)2939         public void setIcontrol(btSoftBody.AJoint.IControl value) {
2940           SoftbodyJNI.btSoftBody_AJoint_Specs_icontrol_set(swigCPtr, this, btSoftBody.AJoint.IControl.getCPtr(value), value);
2941         }
2942 
getIcontrol()2943         public btSoftBody.AJoint.IControl getIcontrol() {
2944           long cPtr = SoftbodyJNI.btSoftBody_AJoint_Specs_icontrol_get(swigCPtr, this);
2945           return (cPtr == 0) ? null : new btSoftBody.AJoint.IControl(cPtr, false);
2946         }
2947 
2948       }
2949 
setAxis(btVector3 value)2950     public void setAxis(btVector3 value) {
2951       SoftbodyJNI.btSoftBody_AJoint_axis_set(swigCPtr, this, btVector3.getCPtr(value), value);
2952     }
2953 
getAxis()2954     public btVector3 getAxis() {
2955       long cPtr = SoftbodyJNI.btSoftBody_AJoint_axis_get(swigCPtr, this);
2956       return (cPtr == 0) ? null : new btVector3(cPtr, false);
2957     }
2958 
setIcontrol(btSoftBody.AJoint.IControl value)2959     public void setIcontrol(btSoftBody.AJoint.IControl value) {
2960       SoftbodyJNI.btSoftBody_AJoint_icontrol_set(swigCPtr, this, btSoftBody.AJoint.IControl.getCPtr(value), value);
2961     }
2962 
getIcontrol()2963     public btSoftBody.AJoint.IControl getIcontrol() {
2964       long cPtr = SoftbodyJNI.btSoftBody_AJoint_icontrol_get(swigCPtr, this);
2965       return (cPtr == 0) ? null : new btSoftBody.AJoint.IControl(cPtr, false);
2966     }
2967 
AJoint()2968     public AJoint() {
2969       this(SoftbodyJNI.new_btSoftBody_AJoint(), true);
2970     }
2971 
2972   }
2973 
2974   static public class CJoint extends btSoftBody.Joint {
2975   	private long swigCPtr;
2976 
CJoint(final String className, long cPtr, boolean cMemoryOwn)2977   	protected CJoint(final String className, long cPtr, boolean cMemoryOwn) {
2978   		super(className, SoftbodyJNI.btSoftBody_CJoint_SWIGUpcast(cPtr), cMemoryOwn);
2979   		swigCPtr = cPtr;
2980   	}
2981 
2982   	/** Construct a new CJoint, normally you should not need this constructor it's intended for low-level usage. */
CJoint(long cPtr, boolean cMemoryOwn)2983   	public CJoint(long cPtr, boolean cMemoryOwn) {
2984   		this("CJoint", cPtr, cMemoryOwn);
2985   		construct();
2986   	}
2987 
2988   	@Override
reset(long cPtr, boolean cMemoryOwn)2989   	protected void reset(long cPtr, boolean cMemoryOwn) {
2990   		if (!destroyed)
2991   			destroy();
2992   		super.reset(SoftbodyJNI.btSoftBody_CJoint_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
2993   	}
2994 
getCPtr(CJoint obj)2995   	public static long getCPtr(CJoint obj) {
2996   		return (obj == null) ? 0 : obj.swigCPtr;
2997   	}
2998 
2999   	@Override
finalize()3000   	protected void finalize() throws Throwable {
3001   		if (!destroyed)
3002   			destroy();
3003   		super.finalize();
3004   	}
3005 
delete()3006     @Override protected synchronized void delete() {
3007   		if (swigCPtr != 0) {
3008   			if (swigCMemOwn) {
3009   				swigCMemOwn = false;
3010   				SoftbodyJNI.delete_btSoftBody_CJoint(swigCPtr);
3011   			}
3012   			swigCPtr = 0;
3013   		}
3014   		super.delete();
3015   	}
3016 
setLife(int value)3017     public void setLife(int value) {
3018       SoftbodyJNI.btSoftBody_CJoint_life_set(swigCPtr, this, value);
3019     }
3020 
getLife()3021     public int getLife() {
3022       return SoftbodyJNI.btSoftBody_CJoint_life_get(swigCPtr, this);
3023     }
3024 
setMaxlife(int value)3025     public void setMaxlife(int value) {
3026       SoftbodyJNI.btSoftBody_CJoint_maxlife_set(swigCPtr, this, value);
3027     }
3028 
getMaxlife()3029     public int getMaxlife() {
3030       return SoftbodyJNI.btSoftBody_CJoint_maxlife_get(swigCPtr, this);
3031     }
3032 
setRpos(btVector3 value)3033     public void setRpos(btVector3 value) {
3034       SoftbodyJNI.btSoftBody_CJoint_rpos_set(swigCPtr, this, btVector3.getCPtr(value), value);
3035     }
3036 
getRpos()3037     public btVector3 getRpos() {
3038       long cPtr = SoftbodyJNI.btSoftBody_CJoint_rpos_get(swigCPtr, this);
3039       return (cPtr == 0) ? null : new btVector3(cPtr, false);
3040     }
3041 
setNormal(btVector3 value)3042     public void setNormal(btVector3 value) {
3043       SoftbodyJNI.btSoftBody_CJoint_normal_set(swigCPtr, this, btVector3.getCPtr(value), value);
3044     }
3045 
getNormal()3046     public btVector3 getNormal() {
3047       long cPtr = SoftbodyJNI.btSoftBody_CJoint_normal_get(swigCPtr, this);
3048       return (cPtr == 0) ? null : new btVector3(cPtr, false);
3049     }
3050 
setFriction(float value)3051     public void setFriction(float value) {
3052       SoftbodyJNI.btSoftBody_CJoint_friction_set(swigCPtr, this, value);
3053     }
3054 
getFriction()3055     public float getFriction() {
3056       return SoftbodyJNI.btSoftBody_CJoint_friction_get(swigCPtr, this);
3057     }
3058 
CJoint()3059     public CJoint() {
3060       this(SoftbodyJNI.new_btSoftBody_CJoint(), true);
3061     }
3062 
3063   }
3064 
3065   static public class Config extends BulletBase {
3066   	private long swigCPtr;
3067 
Config(final String className, long cPtr, boolean cMemoryOwn)3068   	protected Config(final String className, long cPtr, boolean cMemoryOwn) {
3069   		super(className, cPtr, cMemoryOwn);
3070   		swigCPtr = cPtr;
3071   	}
3072 
3073   	/** Construct a new Config, normally you should not need this constructor it's intended for low-level usage. */
Config(long cPtr, boolean cMemoryOwn)3074   	public Config(long cPtr, boolean cMemoryOwn) {
3075   		this("Config", cPtr, cMemoryOwn);
3076   		construct();
3077   	}
3078 
3079   	@Override
reset(long cPtr, boolean cMemoryOwn)3080   	protected void reset(long cPtr, boolean cMemoryOwn) {
3081   		if (!destroyed)
3082   			destroy();
3083   		super.reset(swigCPtr = cPtr, cMemoryOwn);
3084   	}
3085 
getCPtr(Config obj)3086   	public static long getCPtr(Config obj) {
3087   		return (obj == null) ? 0 : obj.swigCPtr;
3088   	}
3089 
3090   	@Override
finalize()3091   	protected void finalize() throws Throwable {
3092   		if (!destroyed)
3093   			destroy();
3094   		super.finalize();
3095   	}
3096 
delete()3097     @Override protected synchronized void delete() {
3098   		if (swigCPtr != 0) {
3099   			if (swigCMemOwn) {
3100   				swigCMemOwn = false;
3101   				SoftbodyJNI.delete_btSoftBody_Config(swigCPtr);
3102   			}
3103   			swigCPtr = 0;
3104   		}
3105   		super.delete();
3106   	}
3107 
setAeromodel(int value)3108     public void setAeromodel(int value) {
3109       SoftbodyJNI.btSoftBody_Config_aeromodel_set(swigCPtr, this, value);
3110     }
3111 
getAeromodel()3112     public int getAeromodel() {
3113       return SoftbodyJNI.btSoftBody_Config_aeromodel_get(swigCPtr, this);
3114     }
3115 
setKVCF(float value)3116     public void setKVCF(float value) {
3117       SoftbodyJNI.btSoftBody_Config_kVCF_set(swigCPtr, this, value);
3118     }
3119 
getKVCF()3120     public float getKVCF() {
3121       return SoftbodyJNI.btSoftBody_Config_kVCF_get(swigCPtr, this);
3122     }
3123 
setKDP(float value)3124     public void setKDP(float value) {
3125       SoftbodyJNI.btSoftBody_Config_kDP_set(swigCPtr, this, value);
3126     }
3127 
getKDP()3128     public float getKDP() {
3129       return SoftbodyJNI.btSoftBody_Config_kDP_get(swigCPtr, this);
3130     }
3131 
setKDG(float value)3132     public void setKDG(float value) {
3133       SoftbodyJNI.btSoftBody_Config_kDG_set(swigCPtr, this, value);
3134     }
3135 
getKDG()3136     public float getKDG() {
3137       return SoftbodyJNI.btSoftBody_Config_kDG_get(swigCPtr, this);
3138     }
3139 
setKLF(float value)3140     public void setKLF(float value) {
3141       SoftbodyJNI.btSoftBody_Config_kLF_set(swigCPtr, this, value);
3142     }
3143 
getKLF()3144     public float getKLF() {
3145       return SoftbodyJNI.btSoftBody_Config_kLF_get(swigCPtr, this);
3146     }
3147 
setKPR(float value)3148     public void setKPR(float value) {
3149       SoftbodyJNI.btSoftBody_Config_kPR_set(swigCPtr, this, value);
3150     }
3151 
getKPR()3152     public float getKPR() {
3153       return SoftbodyJNI.btSoftBody_Config_kPR_get(swigCPtr, this);
3154     }
3155 
setKVC(float value)3156     public void setKVC(float value) {
3157       SoftbodyJNI.btSoftBody_Config_kVC_set(swigCPtr, this, value);
3158     }
3159 
getKVC()3160     public float getKVC() {
3161       return SoftbodyJNI.btSoftBody_Config_kVC_get(swigCPtr, this);
3162     }
3163 
setKDF(float value)3164     public void setKDF(float value) {
3165       SoftbodyJNI.btSoftBody_Config_kDF_set(swigCPtr, this, value);
3166     }
3167 
getKDF()3168     public float getKDF() {
3169       return SoftbodyJNI.btSoftBody_Config_kDF_get(swigCPtr, this);
3170     }
3171 
setKMT(float value)3172     public void setKMT(float value) {
3173       SoftbodyJNI.btSoftBody_Config_kMT_set(swigCPtr, this, value);
3174     }
3175 
getKMT()3176     public float getKMT() {
3177       return SoftbodyJNI.btSoftBody_Config_kMT_get(swigCPtr, this);
3178     }
3179 
setKCHR(float value)3180     public void setKCHR(float value) {
3181       SoftbodyJNI.btSoftBody_Config_kCHR_set(swigCPtr, this, value);
3182     }
3183 
getKCHR()3184     public float getKCHR() {
3185       return SoftbodyJNI.btSoftBody_Config_kCHR_get(swigCPtr, this);
3186     }
3187 
setKKHR(float value)3188     public void setKKHR(float value) {
3189       SoftbodyJNI.btSoftBody_Config_kKHR_set(swigCPtr, this, value);
3190     }
3191 
getKKHR()3192     public float getKKHR() {
3193       return SoftbodyJNI.btSoftBody_Config_kKHR_get(swigCPtr, this);
3194     }
3195 
setKSHR(float value)3196     public void setKSHR(float value) {
3197       SoftbodyJNI.btSoftBody_Config_kSHR_set(swigCPtr, this, value);
3198     }
3199 
getKSHR()3200     public float getKSHR() {
3201       return SoftbodyJNI.btSoftBody_Config_kSHR_get(swigCPtr, this);
3202     }
3203 
setKAHR(float value)3204     public void setKAHR(float value) {
3205       SoftbodyJNI.btSoftBody_Config_kAHR_set(swigCPtr, this, value);
3206     }
3207 
getKAHR()3208     public float getKAHR() {
3209       return SoftbodyJNI.btSoftBody_Config_kAHR_get(swigCPtr, this);
3210     }
3211 
setKSRHR_CL(float value)3212     public void setKSRHR_CL(float value) {
3213       SoftbodyJNI.btSoftBody_Config_kSRHR_CL_set(swigCPtr, this, value);
3214     }
3215 
getKSRHR_CL()3216     public float getKSRHR_CL() {
3217       return SoftbodyJNI.btSoftBody_Config_kSRHR_CL_get(swigCPtr, this);
3218     }
3219 
setKSKHR_CL(float value)3220     public void setKSKHR_CL(float value) {
3221       SoftbodyJNI.btSoftBody_Config_kSKHR_CL_set(swigCPtr, this, value);
3222     }
3223 
getKSKHR_CL()3224     public float getKSKHR_CL() {
3225       return SoftbodyJNI.btSoftBody_Config_kSKHR_CL_get(swigCPtr, this);
3226     }
3227 
setKSSHR_CL(float value)3228     public void setKSSHR_CL(float value) {
3229       SoftbodyJNI.btSoftBody_Config_kSSHR_CL_set(swigCPtr, this, value);
3230     }
3231 
getKSSHR_CL()3232     public float getKSSHR_CL() {
3233       return SoftbodyJNI.btSoftBody_Config_kSSHR_CL_get(swigCPtr, this);
3234     }
3235 
setKSR_SPLT_CL(float value)3236     public void setKSR_SPLT_CL(float value) {
3237       SoftbodyJNI.btSoftBody_Config_kSR_SPLT_CL_set(swigCPtr, this, value);
3238     }
3239 
getKSR_SPLT_CL()3240     public float getKSR_SPLT_CL() {
3241       return SoftbodyJNI.btSoftBody_Config_kSR_SPLT_CL_get(swigCPtr, this);
3242     }
3243 
setKSK_SPLT_CL(float value)3244     public void setKSK_SPLT_CL(float value) {
3245       SoftbodyJNI.btSoftBody_Config_kSK_SPLT_CL_set(swigCPtr, this, value);
3246     }
3247 
getKSK_SPLT_CL()3248     public float getKSK_SPLT_CL() {
3249       return SoftbodyJNI.btSoftBody_Config_kSK_SPLT_CL_get(swigCPtr, this);
3250     }
3251 
setKSS_SPLT_CL(float value)3252     public void setKSS_SPLT_CL(float value) {
3253       SoftbodyJNI.btSoftBody_Config_kSS_SPLT_CL_set(swigCPtr, this, value);
3254     }
3255 
getKSS_SPLT_CL()3256     public float getKSS_SPLT_CL() {
3257       return SoftbodyJNI.btSoftBody_Config_kSS_SPLT_CL_get(swigCPtr, this);
3258     }
3259 
setMaxvolume(float value)3260     public void setMaxvolume(float value) {
3261       SoftbodyJNI.btSoftBody_Config_maxvolume_set(swigCPtr, this, value);
3262     }
3263 
getMaxvolume()3264     public float getMaxvolume() {
3265       return SoftbodyJNI.btSoftBody_Config_maxvolume_get(swigCPtr, this);
3266     }
3267 
setTimescale(float value)3268     public void setTimescale(float value) {
3269       SoftbodyJNI.btSoftBody_Config_timescale_set(swigCPtr, this, value);
3270     }
3271 
getTimescale()3272     public float getTimescale() {
3273       return SoftbodyJNI.btSoftBody_Config_timescale_get(swigCPtr, this);
3274     }
3275 
setViterations(int value)3276     public void setViterations(int value) {
3277       SoftbodyJNI.btSoftBody_Config_viterations_set(swigCPtr, this, value);
3278     }
3279 
getViterations()3280     public int getViterations() {
3281       return SoftbodyJNI.btSoftBody_Config_viterations_get(swigCPtr, this);
3282     }
3283 
setPiterations(int value)3284     public void setPiterations(int value) {
3285       SoftbodyJNI.btSoftBody_Config_piterations_set(swigCPtr, this, value);
3286     }
3287 
getPiterations()3288     public int getPiterations() {
3289       return SoftbodyJNI.btSoftBody_Config_piterations_get(swigCPtr, this);
3290     }
3291 
setDiterations(int value)3292     public void setDiterations(int value) {
3293       SoftbodyJNI.btSoftBody_Config_diterations_set(swigCPtr, this, value);
3294     }
3295 
getDiterations()3296     public int getDiterations() {
3297       return SoftbodyJNI.btSoftBody_Config_diterations_get(swigCPtr, this);
3298     }
3299 
setCiterations(int value)3300     public void setCiterations(int value) {
3301       SoftbodyJNI.btSoftBody_Config_citerations_set(swigCPtr, this, value);
3302     }
3303 
getCiterations()3304     public int getCiterations() {
3305       return SoftbodyJNI.btSoftBody_Config_citerations_get(swigCPtr, this);
3306     }
3307 
setCollisions(int value)3308     public void setCollisions(int value) {
3309       SoftbodyJNI.btSoftBody_Config_collisions_set(swigCPtr, this, value);
3310     }
3311 
getCollisions()3312     public int getCollisions() {
3313       return SoftbodyJNI.btSoftBody_Config_collisions_get(swigCPtr, this);
3314     }
3315 
setVsequence(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__eVSolver____t value)3316     public void setVsequence(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__eVSolver____t value) {
3317       SoftbodyJNI.btSoftBody_Config_vsequence_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__eVSolver____t.getCPtr(value));
3318     }
3319 
getVsequence()3320     public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__eVSolver____t getVsequence() {
3321       long cPtr = SoftbodyJNI.btSoftBody_Config_vsequence_get(swigCPtr, this);
3322       return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__eVSolver____t(cPtr, false);
3323     }
3324 
setPsequence(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__ePSolver____t value)3325     public void setPsequence(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__ePSolver____t value) {
3326       SoftbodyJNI.btSoftBody_Config_psequence_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__ePSolver____t.getCPtr(value));
3327     }
3328 
getPsequence()3329     public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__ePSolver____t getPsequence() {
3330       long cPtr = SoftbodyJNI.btSoftBody_Config_psequence_get(swigCPtr, this);
3331       return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__ePSolver____t(cPtr, false);
3332     }
3333 
setDsequence(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__ePSolver____t value)3334     public void setDsequence(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__ePSolver____t value) {
3335       SoftbodyJNI.btSoftBody_Config_dsequence_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__ePSolver____t.getCPtr(value));
3336     }
3337 
getDsequence()3338     public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__ePSolver____t getDsequence() {
3339       long cPtr = SoftbodyJNI.btSoftBody_Config_dsequence_get(swigCPtr, this);
3340       return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__ePSolver____t(cPtr, false);
3341     }
3342 
Config()3343     public Config() {
3344       this(SoftbodyJNI.new_btSoftBody_Config(), true);
3345     }
3346 
3347   }
3348 
3349   static public class SolverState extends BulletBase {
3350   	private long swigCPtr;
3351 
SolverState(final String className, long cPtr, boolean cMemoryOwn)3352   	protected SolverState(final String className, long cPtr, boolean cMemoryOwn) {
3353   		super(className, cPtr, cMemoryOwn);
3354   		swigCPtr = cPtr;
3355   	}
3356 
3357   	/** Construct a new SolverState, normally you should not need this constructor it's intended for low-level usage. */
SolverState(long cPtr, boolean cMemoryOwn)3358   	public SolverState(long cPtr, boolean cMemoryOwn) {
3359   		this("SolverState", cPtr, cMemoryOwn);
3360   		construct();
3361   	}
3362 
3363   	@Override
reset(long cPtr, boolean cMemoryOwn)3364   	protected void reset(long cPtr, boolean cMemoryOwn) {
3365   		if (!destroyed)
3366   			destroy();
3367   		super.reset(swigCPtr = cPtr, cMemoryOwn);
3368   	}
3369 
getCPtr(SolverState obj)3370   	public static long getCPtr(SolverState obj) {
3371   		return (obj == null) ? 0 : obj.swigCPtr;
3372   	}
3373 
3374   	@Override
finalize()3375   	protected void finalize() throws Throwable {
3376   		if (!destroyed)
3377   			destroy();
3378   		super.finalize();
3379   	}
3380 
delete()3381     @Override protected synchronized void delete() {
3382   		if (swigCPtr != 0) {
3383   			if (swigCMemOwn) {
3384   				swigCMemOwn = false;
3385   				SoftbodyJNI.delete_btSoftBody_SolverState(swigCPtr);
3386   			}
3387   			swigCPtr = 0;
3388   		}
3389   		super.delete();
3390   	}
3391 
setSdt(float value)3392     public void setSdt(float value) {
3393       SoftbodyJNI.btSoftBody_SolverState_sdt_set(swigCPtr, this, value);
3394     }
3395 
getSdt()3396     public float getSdt() {
3397       return SoftbodyJNI.btSoftBody_SolverState_sdt_get(swigCPtr, this);
3398     }
3399 
setIsdt(float value)3400     public void setIsdt(float value) {
3401       SoftbodyJNI.btSoftBody_SolverState_isdt_set(swigCPtr, this, value);
3402     }
3403 
getIsdt()3404     public float getIsdt() {
3405       return SoftbodyJNI.btSoftBody_SolverState_isdt_get(swigCPtr, this);
3406     }
3407 
setVelmrg(float value)3408     public void setVelmrg(float value) {
3409       SoftbodyJNI.btSoftBody_SolverState_velmrg_set(swigCPtr, this, value);
3410     }
3411 
getVelmrg()3412     public float getVelmrg() {
3413       return SoftbodyJNI.btSoftBody_SolverState_velmrg_get(swigCPtr, this);
3414     }
3415 
setRadmrg(float value)3416     public void setRadmrg(float value) {
3417       SoftbodyJNI.btSoftBody_SolverState_radmrg_set(swigCPtr, this, value);
3418     }
3419 
getRadmrg()3420     public float getRadmrg() {
3421       return SoftbodyJNI.btSoftBody_SolverState_radmrg_get(swigCPtr, this);
3422     }
3423 
setUpdmrg(float value)3424     public void setUpdmrg(float value) {
3425       SoftbodyJNI.btSoftBody_SolverState_updmrg_set(swigCPtr, this, value);
3426     }
3427 
getUpdmrg()3428     public float getUpdmrg() {
3429       return SoftbodyJNI.btSoftBody_SolverState_updmrg_get(swigCPtr, this);
3430     }
3431 
SolverState()3432     public SolverState() {
3433       this(SoftbodyJNI.new_btSoftBody_SolverState(), true);
3434     }
3435 
3436   }
3437 
3438   static public class RayFromToCaster extends ICollide {
3439   	private long swigCPtr;
3440 
RayFromToCaster(final String className, long cPtr, boolean cMemoryOwn)3441   	protected RayFromToCaster(final String className, long cPtr, boolean cMemoryOwn) {
3442   		super(className, SoftbodyJNI.btSoftBody_RayFromToCaster_SWIGUpcast(cPtr), cMemoryOwn);
3443   		swigCPtr = cPtr;
3444   	}
3445 
3446   	/** Construct a new RayFromToCaster, normally you should not need this constructor it's intended for low-level usage. */
RayFromToCaster(long cPtr, boolean cMemoryOwn)3447   	public RayFromToCaster(long cPtr, boolean cMemoryOwn) {
3448   		this("RayFromToCaster", cPtr, cMemoryOwn);
3449   		construct();
3450   	}
3451 
3452   	@Override
reset(long cPtr, boolean cMemoryOwn)3453   	protected void reset(long cPtr, boolean cMemoryOwn) {
3454   		if (!destroyed)
3455   			destroy();
3456   		super.reset(SoftbodyJNI.btSoftBody_RayFromToCaster_SWIGUpcast(swigCPtr = cPtr), cMemoryOwn);
3457   	}
3458 
getCPtr(RayFromToCaster obj)3459   	public static long getCPtr(RayFromToCaster obj) {
3460   		return (obj == null) ? 0 : obj.swigCPtr;
3461   	}
3462 
3463   	@Override
finalize()3464   	protected void finalize() throws Throwable {
3465   		if (!destroyed)
3466   			destroy();
3467   		super.finalize();
3468   	}
3469 
delete()3470     @Override protected synchronized void delete() {
3471   		if (swigCPtr != 0) {
3472   			if (swigCMemOwn) {
3473   				swigCMemOwn = false;
3474   				SoftbodyJNI.delete_btSoftBody_RayFromToCaster(swigCPtr);
3475   			}
3476   			swigCPtr = 0;
3477   		}
3478   		super.delete();
3479   	}
3480 
setRayFrom(btVector3 value)3481     public void setRayFrom(btVector3 value) {
3482       SoftbodyJNI.btSoftBody_RayFromToCaster_rayFrom_set(swigCPtr, this, btVector3.getCPtr(value), value);
3483     }
3484 
getRayFrom()3485     public btVector3 getRayFrom() {
3486       long cPtr = SoftbodyJNI.btSoftBody_RayFromToCaster_rayFrom_get(swigCPtr, this);
3487       return (cPtr == 0) ? null : new btVector3(cPtr, false);
3488     }
3489 
setRayTo(btVector3 value)3490     public void setRayTo(btVector3 value) {
3491       SoftbodyJNI.btSoftBody_RayFromToCaster_rayTo_set(swigCPtr, this, btVector3.getCPtr(value), value);
3492     }
3493 
getRayTo()3494     public btVector3 getRayTo() {
3495       long cPtr = SoftbodyJNI.btSoftBody_RayFromToCaster_rayTo_get(swigCPtr, this);
3496       return (cPtr == 0) ? null : new btVector3(cPtr, false);
3497     }
3498 
setRayNormalizedDirection(btVector3 value)3499     public void setRayNormalizedDirection(btVector3 value) {
3500       SoftbodyJNI.btSoftBody_RayFromToCaster_rayNormalizedDirection_set(swigCPtr, this, btVector3.getCPtr(value), value);
3501     }
3502 
getRayNormalizedDirection()3503     public btVector3 getRayNormalizedDirection() {
3504       long cPtr = SoftbodyJNI.btSoftBody_RayFromToCaster_rayNormalizedDirection_get(swigCPtr, this);
3505       return (cPtr == 0) ? null : new btVector3(cPtr, false);
3506     }
3507 
setMint(float value)3508     public void setMint(float value) {
3509       SoftbodyJNI.btSoftBody_RayFromToCaster_mint_set(swigCPtr, this, value);
3510     }
3511 
getMint()3512     public float getMint() {
3513       return SoftbodyJNI.btSoftBody_RayFromToCaster_mint_get(swigCPtr, this);
3514     }
3515 
setFace(btSoftBody.Face value)3516     public void setFace(btSoftBody.Face value) {
3517       SoftbodyJNI.btSoftBody_RayFromToCaster_face_set(swigCPtr, this, btSoftBody.Face.getCPtr(value), value);
3518     }
3519 
getFace()3520     public btSoftBody.Face getFace() {
3521       long cPtr = SoftbodyJNI.btSoftBody_RayFromToCaster_face_get(swigCPtr, this);
3522       return (cPtr == 0) ? null : new btSoftBody.Face(cPtr, false);
3523     }
3524 
setTests(int value)3525     public void setTests(int value) {
3526       SoftbodyJNI.btSoftBody_RayFromToCaster_tests_set(swigCPtr, this, value);
3527     }
3528 
getTests()3529     public int getTests() {
3530       return SoftbodyJNI.btSoftBody_RayFromToCaster_tests_get(swigCPtr, this);
3531     }
3532 
RayFromToCaster(Vector3 rayFrom, Vector3 rayTo, float mxt)3533     public RayFromToCaster(Vector3 rayFrom, Vector3 rayTo, float mxt) {
3534       this(SoftbodyJNI.new_btSoftBody_RayFromToCaster(rayFrom, rayTo, mxt), true);
3535     }
3536 
rayFromToTriangle(Vector3 rayFrom, Vector3 rayTo, Vector3 rayNormalizedDirection, Vector3 a, Vector3 b, Vector3 c, float maxt)3537     public static float rayFromToTriangle(Vector3 rayFrom, Vector3 rayTo, Vector3 rayNormalizedDirection, Vector3 a, Vector3 b, Vector3 c, float maxt) {
3538       return SoftbodyJNI.btSoftBody_RayFromToCaster_rayFromToTriangle__SWIG_0(rayFrom, rayTo, rayNormalizedDirection, a, b, c, maxt);
3539     }
3540 
rayFromToTriangle(Vector3 rayFrom, Vector3 rayTo, Vector3 rayNormalizedDirection, Vector3 a, Vector3 b, Vector3 c)3541     public static float rayFromToTriangle(Vector3 rayFrom, Vector3 rayTo, Vector3 rayNormalizedDirection, Vector3 a, Vector3 b, Vector3 c) {
3542       return SoftbodyJNI.btSoftBody_RayFromToCaster_rayFromToTriangle__SWIG_1(rayFrom, rayTo, rayNormalizedDirection, a, b, c);
3543     }
3544 
3545   }
3546 
setCfg(btSoftBody.Config value)3547   public void setCfg(btSoftBody.Config value) {
3548     SoftbodyJNI.btSoftBody_cfg_set(swigCPtr, this, btSoftBody.Config.getCPtr(value), value);
3549   }
3550 
getCfg()3551   public btSoftBody.Config getCfg() {
3552     long cPtr = SoftbodyJNI.btSoftBody_cfg_get(swigCPtr, this);
3553     return (cPtr == 0) ? null : new btSoftBody.Config(cPtr, false);
3554   }
3555 
setSst(btSoftBody.SolverState value)3556   public void setSst(btSoftBody.SolverState value) {
3557     SoftbodyJNI.btSoftBody_sst_set(swigCPtr, this, btSoftBody.SolverState.getCPtr(value), value);
3558   }
3559 
getSst()3560   public btSoftBody.SolverState getSst() {
3561     long cPtr = SoftbodyJNI.btSoftBody_sst_get(swigCPtr, this);
3562     return (cPtr == 0) ? null : new btSoftBody.SolverState(cPtr, false);
3563   }
3564 
setPose(btSoftBody.Pose value)3565   public void setPose(btSoftBody.Pose value) {
3566     SoftbodyJNI.btSoftBody_pose_set(swigCPtr, this, btSoftBody.Pose.getCPtr(value), value);
3567   }
3568 
getPose()3569   public btSoftBody.Pose getPose() {
3570     long cPtr = SoftbodyJNI.btSoftBody_pose_get(swigCPtr, this);
3571     return (cPtr == 0) ? null : new btSoftBody.Pose(cPtr, false);
3572   }
3573 
setTag(long value)3574   public void setTag(long value) {
3575     SoftbodyJNI.btSoftBody_tag_set(swigCPtr, this, value);
3576   }
3577 
getTag()3578   public long getTag() {
3579     return SoftbodyJNI.btSoftBody_tag_get(swigCPtr, this);
3580   }
3581 
setWorldInfo(btSoftBodyWorldInfo value)3582   public void setWorldInfo(btSoftBodyWorldInfo value) {
3583     SoftbodyJNI.btSoftBody_worldInfo_set(swigCPtr, this, btSoftBodyWorldInfo.getCPtr(value), value);
3584   }
3585 
getWorldInfo()3586   public btSoftBodyWorldInfo getWorldInfo() {
3587     long cPtr = SoftbodyJNI.btSoftBody_worldInfo_get(swigCPtr, this);
3588     return (cPtr == 0) ? null : new btSoftBodyWorldInfo(cPtr, false);
3589   }
3590 
setNotes(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Note_t value)3591   public void setNotes(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Note_t value) {
3592     SoftbodyJNI.btSoftBody_notes_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Note_t.getCPtr(value));
3593   }
3594 
getNotes()3595   public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Note_t getNotes() {
3596     long cPtr = SoftbodyJNI.btSoftBody_notes_get(swigCPtr, this);
3597     return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Note_t(cPtr, false);
3598   }
3599 
setNodes(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Node_t value)3600   public void setNodes(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Node_t value) {
3601     SoftbodyJNI.btSoftBody_nodes_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Node_t.getCPtr(value));
3602   }
3603 
getNodes()3604   public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Node_t getNodes() {
3605     long cPtr = SoftbodyJNI.btSoftBody_nodes_get(swigCPtr, this);
3606     return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Node_t(cPtr, false);
3607   }
3608 
setLinks(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Link_t value)3609   public void setLinks(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Link_t value) {
3610     SoftbodyJNI.btSoftBody_links_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Link_t.getCPtr(value));
3611   }
3612 
getLinks()3613   public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Link_t getLinks() {
3614     long cPtr = SoftbodyJNI.btSoftBody_links_get(swigCPtr, this);
3615     return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Link_t(cPtr, false);
3616   }
3617 
setFaces(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Face_t value)3618   public void setFaces(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Face_t value) {
3619     SoftbodyJNI.btSoftBody_faces_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Face_t.getCPtr(value));
3620   }
3621 
getFaces()3622   public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Face_t getFaces() {
3623     long cPtr = SoftbodyJNI.btSoftBody_faces_get(swigCPtr, this);
3624     return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Face_t(cPtr, false);
3625   }
3626 
setTetras(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Tetra_t value)3627   public void setTetras(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Tetra_t value) {
3628     SoftbodyJNI.btSoftBody_tetras_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Tetra_t.getCPtr(value));
3629   }
3630 
getTetras()3631   public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Tetra_t getTetras() {
3632     long cPtr = SoftbodyJNI.btSoftBody_tetras_get(swigCPtr, this);
3633     return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Tetra_t(cPtr, false);
3634   }
3635 
setAnchors(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Anchor_t value)3636   public void setAnchors(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Anchor_t value) {
3637     SoftbodyJNI.btSoftBody_anchors_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Anchor_t.getCPtr(value));
3638   }
3639 
getAnchors()3640   public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Anchor_t getAnchors() {
3641     long cPtr = SoftbodyJNI.btSoftBody_anchors_get(swigCPtr, this);
3642     return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Anchor_t(cPtr, false);
3643   }
3644 
setRcontacts(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__RContact_t value)3645   public void setRcontacts(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__RContact_t value) {
3646     SoftbodyJNI.btSoftBody_rcontacts_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__RContact_t.getCPtr(value));
3647   }
3648 
getRcontacts()3649   public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__RContact_t getRcontacts() {
3650     long cPtr = SoftbodyJNI.btSoftBody_rcontacts_get(swigCPtr, this);
3651     return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__RContact_t(cPtr, false);
3652   }
3653 
setScontacts(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__SContact_t value)3654   public void setScontacts(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__SContact_t value) {
3655     SoftbodyJNI.btSoftBody_scontacts_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__SContact_t.getCPtr(value));
3656   }
3657 
getScontacts()3658   public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__SContact_t getScontacts() {
3659     long cPtr = SoftbodyJNI.btSoftBody_scontacts_get(swigCPtr, this);
3660     return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__SContact_t(cPtr, false);
3661   }
3662 
setJoints(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Joint_p_t value)3663   public void setJoints(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Joint_p_t value) {
3664     SoftbodyJNI.btSoftBody_joints_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Joint_p_t.getCPtr(value));
3665   }
3666 
getJoints()3667   public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Joint_p_t getJoints() {
3668     long cPtr = SoftbodyJNI.btSoftBody_joints_get(swigCPtr, this);
3669     return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Joint_p_t(cPtr, false);
3670   }
3671 
setMaterials(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Material_p_t value)3672   public void setMaterials(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Material_p_t value) {
3673     SoftbodyJNI.btSoftBody_materials_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Material_p_t.getCPtr(value));
3674   }
3675 
getMaterials()3676   public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Material_p_t getMaterials() {
3677     long cPtr = SoftbodyJNI.btSoftBody_materials_get(swigCPtr, this);
3678     return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Material_p_t(cPtr, false);
3679   }
3680 
setTimeacc(float value)3681   public void setTimeacc(float value) {
3682     SoftbodyJNI.btSoftBody_timeacc_set(swigCPtr, this, value);
3683   }
3684 
getTimeacc()3685   public float getTimeacc() {
3686     return SoftbodyJNI.btSoftBody_timeacc_get(swigCPtr, this);
3687   }
3688 
setBounds(btVector3 value)3689   public void setBounds(btVector3 value) {
3690     SoftbodyJNI.btSoftBody_bounds_set(swigCPtr, this, btVector3.getCPtr(value), value);
3691   }
3692 
getBounds()3693   public btVector3 getBounds() {
3694     long cPtr = SoftbodyJNI.btSoftBody_bounds_get(swigCPtr, this);
3695     return (cPtr == 0) ? null : new btVector3(cPtr, false);
3696   }
3697 
setBUpdateRtCst(boolean value)3698   public void setBUpdateRtCst(boolean value) {
3699     SoftbodyJNI.btSoftBody_bUpdateRtCst_set(swigCPtr, this, value);
3700   }
3701 
getBUpdateRtCst()3702   public boolean getBUpdateRtCst() {
3703     return SoftbodyJNI.btSoftBody_bUpdateRtCst_get(swigCPtr, this);
3704   }
3705 
setNdbvt(btDbvt value)3706   public void setNdbvt(btDbvt value) {
3707     SoftbodyJNI.btSoftBody_ndbvt_set(swigCPtr, this, btDbvt.getCPtr(value), value);
3708   }
3709 
getNdbvt()3710   public btDbvt getNdbvt() {
3711     long cPtr = SoftbodyJNI.btSoftBody_ndbvt_get(swigCPtr, this);
3712     return (cPtr == 0) ? null : new btDbvt(cPtr, false);
3713   }
3714 
setFdbvt(btDbvt value)3715   public void setFdbvt(btDbvt value) {
3716     SoftbodyJNI.btSoftBody_fdbvt_set(swigCPtr, this, btDbvt.getCPtr(value), value);
3717   }
3718 
getFdbvt()3719   public btDbvt getFdbvt() {
3720     long cPtr = SoftbodyJNI.btSoftBody_fdbvt_get(swigCPtr, this);
3721     return (cPtr == 0) ? null : new btDbvt(cPtr, false);
3722   }
3723 
setCdbvt(btDbvt value)3724   public void setCdbvt(btDbvt value) {
3725     SoftbodyJNI.btSoftBody_cdbvt_set(swigCPtr, this, btDbvt.getCPtr(value), value);
3726   }
3727 
getCdbvt()3728   public btDbvt getCdbvt() {
3729     long cPtr = SoftbodyJNI.btSoftBody_cdbvt_get(swigCPtr, this);
3730     return (cPtr == 0) ? null : new btDbvt(cPtr, false);
3731   }
3732 
setClusters(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Cluster_p_t value)3733   public void setClusters(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Cluster_p_t value) {
3734     SoftbodyJNI.btSoftBody_clusters_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Cluster_p_t.getCPtr(value));
3735   }
3736 
getClusters()3737   public SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Cluster_p_t getClusters() {
3738     long cPtr = SoftbodyJNI.btSoftBody_clusters_get(swigCPtr, this);
3739     return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody__Cluster_p_t(cPtr, false);
3740   }
3741 
setClusterConnectivity(SWIGTYPE_p_btAlignedObjectArrayT_bool_t value)3742   public void setClusterConnectivity(SWIGTYPE_p_btAlignedObjectArrayT_bool_t value) {
3743     SoftbodyJNI.btSoftBody_clusterConnectivity_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_bool_t.getCPtr(value));
3744   }
3745 
getClusterConnectivity()3746   public SWIGTYPE_p_btAlignedObjectArrayT_bool_t getClusterConnectivity() {
3747     long cPtr = SoftbodyJNI.btSoftBody_clusterConnectivity_get(swigCPtr, this);
3748     return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_bool_t(cPtr, false);
3749   }
3750 
setInitialWorldTransform(btTransform value)3751   public void setInitialWorldTransform(btTransform value) {
3752     SoftbodyJNI.btSoftBody_initialWorldTransform_set(swigCPtr, this, btTransform.getCPtr(value), value);
3753   }
3754 
getInitialWorldTransform()3755   public btTransform getInitialWorldTransform() {
3756     long cPtr = SoftbodyJNI.btSoftBody_initialWorldTransform_get(swigCPtr, this);
3757     return (cPtr == 0) ? null : new btTransform(cPtr, false);
3758   }
3759 
setWindVelocity(btVector3 value)3760   public void setWindVelocity(btVector3 value) {
3761     SoftbodyJNI.btSoftBody_windVelocity_set(swigCPtr, this, btVector3.getCPtr(value), value);
3762   }
3763 
getWindVelocity()3764   public btVector3 getWindVelocity() {
3765     long cPtr = SoftbodyJNI.btSoftBody_windVelocity_get(swigCPtr, this);
3766     return (cPtr == 0) ? null : new btVector3(cPtr, false);
3767   }
3768 
setRestLengthScale(float value)3769   public void setRestLengthScale(float value) {
3770     SoftbodyJNI.btSoftBody_restLengthScale_set(swigCPtr, this, value);
3771   }
3772 
getRestLengthScale()3773   public float getRestLengthScale() {
3774     return SoftbodyJNI.btSoftBody_restLengthScale_get(swigCPtr, this);
3775   }
3776 
SwigConstructbtSoftBody(btSoftBodyWorldInfo worldInfo, int node_count, btVector3 x, java.nio.FloatBuffer m)3777   static private long SwigConstructbtSoftBody(btSoftBodyWorldInfo worldInfo, int node_count, btVector3 x, java.nio.FloatBuffer m) {
3778     assert m.isDirect() : "Buffer must be allocated direct.";
3779     return SoftbodyJNI.new_btSoftBody__SWIG_0(btSoftBodyWorldInfo.getCPtr(worldInfo), worldInfo, node_count, btVector3.getCPtr(x), x, m);
3780   }
3781 
btSoftBody(btSoftBodyWorldInfo worldInfo, int node_count, btVector3 x, java.nio.FloatBuffer m)3782   public btSoftBody(btSoftBodyWorldInfo worldInfo, int node_count, btVector3 x, java.nio.FloatBuffer m) {
3783     this(btSoftBody.SwigConstructbtSoftBody(worldInfo, node_count, x, m), true);
3784   }
3785 
btSoftBody(btSoftBodyWorldInfo worldInfo)3786   public btSoftBody(btSoftBodyWorldInfo worldInfo) {
3787     this(SoftbodyJNI.new_btSoftBody__SWIG_1(btSoftBodyWorldInfo.getCPtr(worldInfo), worldInfo), true);
3788   }
3789 
initDefaults()3790   public void initDefaults() {
3791     SoftbodyJNI.btSoftBody_initDefaults(swigCPtr, this);
3792   }
3793 
setUserIndexMapping(SWIGTYPE_p_btAlignedObjectArrayT_int_t value)3794   public void setUserIndexMapping(SWIGTYPE_p_btAlignedObjectArrayT_int_t value) {
3795     SoftbodyJNI.btSoftBody_userIndexMapping_set(swigCPtr, this, SWIGTYPE_p_btAlignedObjectArrayT_int_t.getCPtr(value));
3796   }
3797 
getUserIndexMapping()3798   public SWIGTYPE_p_btAlignedObjectArrayT_int_t getUserIndexMapping() {
3799     long cPtr = SoftbodyJNI.btSoftBody_userIndexMapping_get(swigCPtr, this);
3800     return (cPtr == 0) ? null : new SWIGTYPE_p_btAlignedObjectArrayT_int_t(cPtr, false);
3801   }
3802 
checkLink(int node0, int node1)3803   public boolean checkLink(int node0, int node1) {
3804     return SoftbodyJNI.btSoftBody_checkLink__SWIG_0(swigCPtr, this, node0, node1);
3805   }
3806 
checkLink(btSoftBody.Node node0, btSoftBody.Node node1)3807   public boolean checkLink(btSoftBody.Node node0, btSoftBody.Node node1) {
3808     return SoftbodyJNI.btSoftBody_checkLink__SWIG_1(swigCPtr, this, btSoftBody.Node.getCPtr(node0), node0, btSoftBody.Node.getCPtr(node1), node1);
3809   }
3810 
checkFace(int node0, int node1, int node2)3811   public boolean checkFace(int node0, int node1, int node2) {
3812     return SoftbodyJNI.btSoftBody_checkFace(swigCPtr, this, node0, node1, node2);
3813   }
3814 
appendMaterial()3815   public btSoftBody.Material appendMaterial() {
3816     long cPtr = SoftbodyJNI.btSoftBody_appendMaterial(swigCPtr, this);
3817     return (cPtr == 0) ? null : new btSoftBody.Material(cPtr, false);
3818   }
3819 
appendNote(String text, Vector3 o, btVector4 c, btSoftBody.Node n0, btSoftBody.Node n1, btSoftBody.Node n2, btSoftBody.Node n3)3820   public void appendNote(String text, Vector3 o, btVector4 c, btSoftBody.Node n0, btSoftBody.Node n1, btSoftBody.Node n2, btSoftBody.Node n3) {
3821     SoftbodyJNI.btSoftBody_appendNote__SWIG_0(swigCPtr, this, text, o, btVector4.getCPtr(c), c, btSoftBody.Node.getCPtr(n0), n0, btSoftBody.Node.getCPtr(n1), n1, btSoftBody.Node.getCPtr(n2), n2, btSoftBody.Node.getCPtr(n3), n3);
3822   }
3823 
appendNote(String text, Vector3 o, btVector4 c, btSoftBody.Node n0, btSoftBody.Node n1, btSoftBody.Node n2)3824   public void appendNote(String text, Vector3 o, btVector4 c, btSoftBody.Node n0, btSoftBody.Node n1, btSoftBody.Node n2) {
3825     SoftbodyJNI.btSoftBody_appendNote__SWIG_1(swigCPtr, this, text, o, btVector4.getCPtr(c), c, btSoftBody.Node.getCPtr(n0), n0, btSoftBody.Node.getCPtr(n1), n1, btSoftBody.Node.getCPtr(n2), n2);
3826   }
3827 
appendNote(String text, Vector3 o, btVector4 c, btSoftBody.Node n0, btSoftBody.Node n1)3828   public void appendNote(String text, Vector3 o, btVector4 c, btSoftBody.Node n0, btSoftBody.Node n1) {
3829     SoftbodyJNI.btSoftBody_appendNote__SWIG_2(swigCPtr, this, text, o, btVector4.getCPtr(c), c, btSoftBody.Node.getCPtr(n0), n0, btSoftBody.Node.getCPtr(n1), n1);
3830   }
3831 
appendNote(String text, Vector3 o, btVector4 c, btSoftBody.Node n0)3832   public void appendNote(String text, Vector3 o, btVector4 c, btSoftBody.Node n0) {
3833     SoftbodyJNI.btSoftBody_appendNote__SWIG_3(swigCPtr, this, text, o, btVector4.getCPtr(c), c, btSoftBody.Node.getCPtr(n0), n0);
3834   }
3835 
appendNote(String text, Vector3 o, btVector4 c)3836   public void appendNote(String text, Vector3 o, btVector4 c) {
3837     SoftbodyJNI.btSoftBody_appendNote__SWIG_4(swigCPtr, this, text, o, btVector4.getCPtr(c), c);
3838   }
3839 
appendNote(String text, Vector3 o)3840   public void appendNote(String text, Vector3 o) {
3841     SoftbodyJNI.btSoftBody_appendNote__SWIG_5(swigCPtr, this, text, o);
3842   }
3843 
appendNote(String text, Vector3 o, btSoftBody.Node feature)3844   public void appendNote(String text, Vector3 o, btSoftBody.Node feature) {
3845     SoftbodyJNI.btSoftBody_appendNote__SWIG_6(swigCPtr, this, text, o, btSoftBody.Node.getCPtr(feature), feature);
3846   }
3847 
appendNote(String text, Vector3 o, btSoftBody.Link feature)3848   public void appendNote(String text, Vector3 o, btSoftBody.Link feature) {
3849     SoftbodyJNI.btSoftBody_appendNote__SWIG_7(swigCPtr, this, text, o, btSoftBody.Link.getCPtr(feature), feature);
3850   }
3851 
appendNote(String text, Vector3 o, btSoftBody.Face feature)3852   public void appendNote(String text, Vector3 o, btSoftBody.Face feature) {
3853     SoftbodyJNI.btSoftBody_appendNote__SWIG_8(swigCPtr, this, text, o, btSoftBody.Face.getCPtr(feature), feature);
3854   }
3855 
appendNode(Vector3 x, float m)3856   public void appendNode(Vector3 x, float m) {
3857     SoftbodyJNI.btSoftBody_appendNode(swigCPtr, this, x, m);
3858   }
3859 
appendLink(int model, btSoftBody.Material mat)3860   public void appendLink(int model, btSoftBody.Material mat) {
3861     SoftbodyJNI.btSoftBody_appendLink__SWIG_0(swigCPtr, this, model, btSoftBody.Material.getCPtr(mat), mat);
3862   }
3863 
appendLink(int model)3864   public void appendLink(int model) {
3865     SoftbodyJNI.btSoftBody_appendLink__SWIG_1(swigCPtr, this, model);
3866   }
3867 
appendLink()3868   public void appendLink() {
3869     SoftbodyJNI.btSoftBody_appendLink__SWIG_2(swigCPtr, this);
3870   }
3871 
appendLink(int node0, int node1, btSoftBody.Material mat, boolean bcheckexist)3872   public void appendLink(int node0, int node1, btSoftBody.Material mat, boolean bcheckexist) {
3873     SoftbodyJNI.btSoftBody_appendLink__SWIG_3(swigCPtr, this, node0, node1, btSoftBody.Material.getCPtr(mat), mat, bcheckexist);
3874   }
3875 
appendLink(int node0, int node1, btSoftBody.Material mat)3876   public void appendLink(int node0, int node1, btSoftBody.Material mat) {
3877     SoftbodyJNI.btSoftBody_appendLink__SWIG_4(swigCPtr, this, node0, node1, btSoftBody.Material.getCPtr(mat), mat);
3878   }
3879 
appendLink(int node0, int node1)3880   public void appendLink(int node0, int node1) {
3881     SoftbodyJNI.btSoftBody_appendLink__SWIG_5(swigCPtr, this, node0, node1);
3882   }
3883 
appendLink(btSoftBody.Node node0, btSoftBody.Node node1, btSoftBody.Material mat, boolean bcheckexist)3884   public void appendLink(btSoftBody.Node node0, btSoftBody.Node node1, btSoftBody.Material mat, boolean bcheckexist) {
3885     SoftbodyJNI.btSoftBody_appendLink__SWIG_6(swigCPtr, this, btSoftBody.Node.getCPtr(node0), node0, btSoftBody.Node.getCPtr(node1), node1, btSoftBody.Material.getCPtr(mat), mat, bcheckexist);
3886   }
3887 
appendLink(btSoftBody.Node node0, btSoftBody.Node node1, btSoftBody.Material mat)3888   public void appendLink(btSoftBody.Node node0, btSoftBody.Node node1, btSoftBody.Material mat) {
3889     SoftbodyJNI.btSoftBody_appendLink__SWIG_7(swigCPtr, this, btSoftBody.Node.getCPtr(node0), node0, btSoftBody.Node.getCPtr(node1), node1, btSoftBody.Material.getCPtr(mat), mat);
3890   }
3891 
appendLink(btSoftBody.Node node0, btSoftBody.Node node1)3892   public void appendLink(btSoftBody.Node node0, btSoftBody.Node node1) {
3893     SoftbodyJNI.btSoftBody_appendLink__SWIG_8(swigCPtr, this, btSoftBody.Node.getCPtr(node0), node0, btSoftBody.Node.getCPtr(node1), node1);
3894   }
3895 
appendFace(int model, btSoftBody.Material mat)3896   public void appendFace(int model, btSoftBody.Material mat) {
3897     SoftbodyJNI.btSoftBody_appendFace__SWIG_0(swigCPtr, this, model, btSoftBody.Material.getCPtr(mat), mat);
3898   }
3899 
appendFace(int model)3900   public void appendFace(int model) {
3901     SoftbodyJNI.btSoftBody_appendFace__SWIG_1(swigCPtr, this, model);
3902   }
3903 
appendFace()3904   public void appendFace() {
3905     SoftbodyJNI.btSoftBody_appendFace__SWIG_2(swigCPtr, this);
3906   }
3907 
appendFace(int node0, int node1, int node2, btSoftBody.Material mat)3908   public void appendFace(int node0, int node1, int node2, btSoftBody.Material mat) {
3909     SoftbodyJNI.btSoftBody_appendFace__SWIG_3(swigCPtr, this, node0, node1, node2, btSoftBody.Material.getCPtr(mat), mat);
3910   }
3911 
appendFace(int node0, int node1, int node2)3912   public void appendFace(int node0, int node1, int node2) {
3913     SoftbodyJNI.btSoftBody_appendFace__SWIG_4(swigCPtr, this, node0, node1, node2);
3914   }
3915 
appendTetra(int model, btSoftBody.Material mat)3916   public void appendTetra(int model, btSoftBody.Material mat) {
3917     SoftbodyJNI.btSoftBody_appendTetra__SWIG_0(swigCPtr, this, model, btSoftBody.Material.getCPtr(mat), mat);
3918   }
3919 
appendTetra(int node0, int node1, int node2, int node3, btSoftBody.Material mat)3920   public void appendTetra(int node0, int node1, int node2, int node3, btSoftBody.Material mat) {
3921     SoftbodyJNI.btSoftBody_appendTetra__SWIG_1(swigCPtr, this, node0, node1, node2, node3, btSoftBody.Material.getCPtr(mat), mat);
3922   }
3923 
appendTetra(int node0, int node1, int node2, int node3)3924   public void appendTetra(int node0, int node1, int node2, int node3) {
3925     SoftbodyJNI.btSoftBody_appendTetra__SWIG_2(swigCPtr, this, node0, node1, node2, node3);
3926   }
3927 
appendAnchor(int node, btRigidBody body, boolean disableCollisionBetweenLinkedBodies, float influence)3928   public void appendAnchor(int node, btRigidBody body, boolean disableCollisionBetweenLinkedBodies, float influence) {
3929     SoftbodyJNI.btSoftBody_appendAnchor__SWIG_0(swigCPtr, this, node, btRigidBody.getCPtr(body), body, disableCollisionBetweenLinkedBodies, influence);
3930   }
3931 
appendAnchor(int node, btRigidBody body, boolean disableCollisionBetweenLinkedBodies)3932   public void appendAnchor(int node, btRigidBody body, boolean disableCollisionBetweenLinkedBodies) {
3933     SoftbodyJNI.btSoftBody_appendAnchor__SWIG_1(swigCPtr, this, node, btRigidBody.getCPtr(body), body, disableCollisionBetweenLinkedBodies);
3934   }
3935 
appendAnchor(int node, btRigidBody body)3936   public void appendAnchor(int node, btRigidBody body) {
3937     SoftbodyJNI.btSoftBody_appendAnchor__SWIG_2(swigCPtr, this, node, btRigidBody.getCPtr(body), body);
3938   }
3939 
appendAnchor(int node, btRigidBody body, Vector3 localPivot, boolean disableCollisionBetweenLinkedBodies, float influence)3940   public void appendAnchor(int node, btRigidBody body, Vector3 localPivot, boolean disableCollisionBetweenLinkedBodies, float influence) {
3941     SoftbodyJNI.btSoftBody_appendAnchor__SWIG_3(swigCPtr, this, node, btRigidBody.getCPtr(body), body, localPivot, disableCollisionBetweenLinkedBodies, influence);
3942   }
3943 
appendAnchor(int node, btRigidBody body, Vector3 localPivot, boolean disableCollisionBetweenLinkedBodies)3944   public void appendAnchor(int node, btRigidBody body, Vector3 localPivot, boolean disableCollisionBetweenLinkedBodies) {
3945     SoftbodyJNI.btSoftBody_appendAnchor__SWIG_4(swigCPtr, this, node, btRigidBody.getCPtr(body), body, localPivot, disableCollisionBetweenLinkedBodies);
3946   }
3947 
appendAnchor(int node, btRigidBody body, Vector3 localPivot)3948   public void appendAnchor(int node, btRigidBody body, Vector3 localPivot) {
3949     SoftbodyJNI.btSoftBody_appendAnchor__SWIG_5(swigCPtr, this, node, btRigidBody.getCPtr(body), body, localPivot);
3950   }
3951 
appendLinearJoint(btSoftBody.LJoint.Specs specs, btSoftBody.Cluster body0, btSoftBody.Body body1)3952   public void appendLinearJoint(btSoftBody.LJoint.Specs specs, btSoftBody.Cluster body0, btSoftBody.Body body1) {
3953     SoftbodyJNI.btSoftBody_appendLinearJoint__SWIG_0(swigCPtr, this, btSoftBody.LJoint.Specs.getCPtr(specs), specs, btSoftBody.Cluster.getCPtr(body0), body0, btSoftBody.Body.getCPtr(body1), body1);
3954   }
3955 
appendLinearJoint(btSoftBody.LJoint.Specs specs, btSoftBody.Body body)3956   public void appendLinearJoint(btSoftBody.LJoint.Specs specs, btSoftBody.Body body) {
3957     SoftbodyJNI.btSoftBody_appendLinearJoint__SWIG_1(swigCPtr, this, btSoftBody.LJoint.Specs.getCPtr(specs), specs, btSoftBody.Body.getCPtr(body), body);
3958   }
3959 
appendLinearJoint(btSoftBody.LJoint.Specs specs)3960   public void appendLinearJoint(btSoftBody.LJoint.Specs specs) {
3961     SoftbodyJNI.btSoftBody_appendLinearJoint__SWIG_2(swigCPtr, this, btSoftBody.LJoint.Specs.getCPtr(specs), specs);
3962   }
3963 
appendLinearJoint(btSoftBody.LJoint.Specs specs, btSoftBody body)3964   public void appendLinearJoint(btSoftBody.LJoint.Specs specs, btSoftBody body) {
3965     SoftbodyJNI.btSoftBody_appendLinearJoint__SWIG_3(swigCPtr, this, btSoftBody.LJoint.Specs.getCPtr(specs), specs, btSoftBody.getCPtr(body), body);
3966   }
3967 
appendAngularJoint(btSoftBody.AJoint.Specs specs, btSoftBody.Cluster body0, btSoftBody.Body body1)3968   public void appendAngularJoint(btSoftBody.AJoint.Specs specs, btSoftBody.Cluster body0, btSoftBody.Body body1) {
3969     SoftbodyJNI.btSoftBody_appendAngularJoint__SWIG_0(swigCPtr, this, btSoftBody.AJoint.Specs.getCPtr(specs), specs, btSoftBody.Cluster.getCPtr(body0), body0, btSoftBody.Body.getCPtr(body1), body1);
3970   }
3971 
appendAngularJoint(btSoftBody.AJoint.Specs specs, btSoftBody.Body body)3972   public void appendAngularJoint(btSoftBody.AJoint.Specs specs, btSoftBody.Body body) {
3973     SoftbodyJNI.btSoftBody_appendAngularJoint__SWIG_1(swigCPtr, this, btSoftBody.AJoint.Specs.getCPtr(specs), specs, btSoftBody.Body.getCPtr(body), body);
3974   }
3975 
appendAngularJoint(btSoftBody.AJoint.Specs specs)3976   public void appendAngularJoint(btSoftBody.AJoint.Specs specs) {
3977     SoftbodyJNI.btSoftBody_appendAngularJoint__SWIG_2(swigCPtr, this, btSoftBody.AJoint.Specs.getCPtr(specs), specs);
3978   }
3979 
appendAngularJoint(btSoftBody.AJoint.Specs specs, btSoftBody body)3980   public void appendAngularJoint(btSoftBody.AJoint.Specs specs, btSoftBody body) {
3981     SoftbodyJNI.btSoftBody_appendAngularJoint__SWIG_3(swigCPtr, this, btSoftBody.AJoint.Specs.getCPtr(specs), specs, btSoftBody.getCPtr(body), body);
3982   }
3983 
addForce(Vector3 force)3984   public void addForce(Vector3 force) {
3985     SoftbodyJNI.btSoftBody_addForce__SWIG_0(swigCPtr, this, force);
3986   }
3987 
addForce(Vector3 force, int node)3988   public void addForce(Vector3 force, int node) {
3989     SoftbodyJNI.btSoftBody_addForce__SWIG_1(swigCPtr, this, force, node);
3990   }
3991 
addAeroForceToNode(Vector3 windVelocity, int nodeIndex)3992   public void addAeroForceToNode(Vector3 windVelocity, int nodeIndex) {
3993     SoftbodyJNI.btSoftBody_addAeroForceToNode(swigCPtr, this, windVelocity, nodeIndex);
3994   }
3995 
addAeroForceToFace(Vector3 windVelocity, int faceIndex)3996   public void addAeroForceToFace(Vector3 windVelocity, int faceIndex) {
3997     SoftbodyJNI.btSoftBody_addAeroForceToFace(swigCPtr, this, windVelocity, faceIndex);
3998   }
3999 
addVelocity(Vector3 velocity)4000   public void addVelocity(Vector3 velocity) {
4001     SoftbodyJNI.btSoftBody_addVelocity__SWIG_0(swigCPtr, this, velocity);
4002   }
4003 
setVelocity(Vector3 velocity)4004   public void setVelocity(Vector3 velocity) {
4005     SoftbodyJNI.btSoftBody_setVelocity(swigCPtr, this, velocity);
4006   }
4007 
addVelocity(Vector3 velocity, int node)4008   public void addVelocity(Vector3 velocity, int node) {
4009     SoftbodyJNI.btSoftBody_addVelocity__SWIG_1(swigCPtr, this, velocity, node);
4010   }
4011 
setMass(int node, float mass)4012   public void setMass(int node, float mass) {
4013     SoftbodyJNI.btSoftBody_setMass(swigCPtr, this, node, mass);
4014   }
4015 
getMass(int node)4016   public float getMass(int node) {
4017     return SoftbodyJNI.btSoftBody_getMass(swigCPtr, this, node);
4018   }
4019 
getTotalMass()4020   public float getTotalMass() {
4021     return SoftbodyJNI.btSoftBody_getTotalMass(swigCPtr, this);
4022   }
4023 
setTotalMass(float mass, boolean fromfaces)4024   public void setTotalMass(float mass, boolean fromfaces) {
4025     SoftbodyJNI.btSoftBody_setTotalMass__SWIG_0(swigCPtr, this, mass, fromfaces);
4026   }
4027 
setTotalMass(float mass)4028   public void setTotalMass(float mass) {
4029     SoftbodyJNI.btSoftBody_setTotalMass__SWIG_1(swigCPtr, this, mass);
4030   }
4031 
setTotalDensity(float density)4032   public void setTotalDensity(float density) {
4033     SoftbodyJNI.btSoftBody_setTotalDensity(swigCPtr, this, density);
4034   }
4035 
setVolumeMass(float mass)4036   public void setVolumeMass(float mass) {
4037     SoftbodyJNI.btSoftBody_setVolumeMass(swigCPtr, this, mass);
4038   }
4039 
setVolumeDensity(float density)4040   public void setVolumeDensity(float density) {
4041     SoftbodyJNI.btSoftBody_setVolumeDensity(swigCPtr, this, density);
4042   }
4043 
transform(Matrix4 trs)4044   public void transform(Matrix4 trs) {
4045     SoftbodyJNI.btSoftBody_transform(swigCPtr, this, trs);
4046   }
4047 
translate(Vector3 trs)4048   public void translate(Vector3 trs) {
4049     SoftbodyJNI.btSoftBody_translate(swigCPtr, this, trs);
4050   }
4051 
rotate(Quaternion rot)4052   public void rotate(Quaternion rot) {
4053     SoftbodyJNI.btSoftBody_rotate(swigCPtr, this, rot);
4054   }
4055 
scale(Vector3 scl)4056   public void scale(Vector3 scl) {
4057     SoftbodyJNI.btSoftBody_scale(swigCPtr, this, scl);
4058   }
4059 
setPose(boolean bvolume, boolean bframe)4060   public void setPose(boolean bvolume, boolean bframe) {
4061     SoftbodyJNI.btSoftBody_setPose(swigCPtr, this, bvolume, bframe);
4062   }
4063 
resetLinkRestLengths()4064   public void resetLinkRestLengths() {
4065     SoftbodyJNI.btSoftBody_resetLinkRestLengths(swigCPtr, this);
4066   }
4067 
getVolume()4068   public float getVolume() {
4069     return SoftbodyJNI.btSoftBody_getVolume(swigCPtr, this);
4070   }
4071 
clusterCount()4072   public int clusterCount() {
4073     return SoftbodyJNI.btSoftBody_clusterCount(swigCPtr, this);
4074   }
4075 
clusterCom(btSoftBody.Cluster cluster)4076   public static Vector3 clusterCom(btSoftBody.Cluster cluster) {
4077 	return SoftbodyJNI.btSoftBody_clusterCom__SWIG_0(btSoftBody.Cluster.getCPtr(cluster), cluster);
4078 }
4079 
clusterCom(int cluster)4080   public Vector3 clusterCom(int cluster) {
4081 	return SoftbodyJNI.btSoftBody_clusterCom__SWIG_1(swigCPtr, this, cluster);
4082 }
4083 
clusterVelocity(btSoftBody.Cluster cluster, Vector3 rpos)4084   public static Vector3 clusterVelocity(btSoftBody.Cluster cluster, Vector3 rpos) {
4085 	return SoftbodyJNI.btSoftBody_clusterVelocity(btSoftBody.Cluster.getCPtr(cluster), cluster, rpos);
4086 }
4087 
clusterVImpulse(btSoftBody.Cluster cluster, Vector3 rpos, Vector3 impulse)4088   public static void clusterVImpulse(btSoftBody.Cluster cluster, Vector3 rpos, Vector3 impulse) {
4089     SoftbodyJNI.btSoftBody_clusterVImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, rpos, impulse);
4090   }
4091 
clusterDImpulse(btSoftBody.Cluster cluster, Vector3 rpos, Vector3 impulse)4092   public static void clusterDImpulse(btSoftBody.Cluster cluster, Vector3 rpos, Vector3 impulse) {
4093     SoftbodyJNI.btSoftBody_clusterDImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, rpos, impulse);
4094   }
4095 
clusterImpulse(btSoftBody.Cluster cluster, Vector3 rpos, btSoftBody.Impulse impulse)4096   public static void clusterImpulse(btSoftBody.Cluster cluster, Vector3 rpos, btSoftBody.Impulse impulse) {
4097     SoftbodyJNI.btSoftBody_clusterImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, rpos, btSoftBody.Impulse.getCPtr(impulse), impulse);
4098   }
4099 
clusterVAImpulse(btSoftBody.Cluster cluster, Vector3 impulse)4100   public static void clusterVAImpulse(btSoftBody.Cluster cluster, Vector3 impulse) {
4101     SoftbodyJNI.btSoftBody_clusterVAImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, impulse);
4102   }
4103 
clusterDAImpulse(btSoftBody.Cluster cluster, Vector3 impulse)4104   public static void clusterDAImpulse(btSoftBody.Cluster cluster, Vector3 impulse) {
4105     SoftbodyJNI.btSoftBody_clusterDAImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, impulse);
4106   }
4107 
clusterAImpulse(btSoftBody.Cluster cluster, btSoftBody.Impulse impulse)4108   public static void clusterAImpulse(btSoftBody.Cluster cluster, btSoftBody.Impulse impulse) {
4109     SoftbodyJNI.btSoftBody_clusterAImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, btSoftBody.Impulse.getCPtr(impulse), impulse);
4110   }
4111 
clusterDCImpulse(btSoftBody.Cluster cluster, Vector3 impulse)4112   public static void clusterDCImpulse(btSoftBody.Cluster cluster, Vector3 impulse) {
4113     SoftbodyJNI.btSoftBody_clusterDCImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, impulse);
4114   }
4115 
generateBendingConstraints(int distance, btSoftBody.Material mat)4116   public int generateBendingConstraints(int distance, btSoftBody.Material mat) {
4117     return SoftbodyJNI.btSoftBody_generateBendingConstraints__SWIG_0(swigCPtr, this, distance, btSoftBody.Material.getCPtr(mat), mat);
4118   }
4119 
generateBendingConstraints(int distance)4120   public int generateBendingConstraints(int distance) {
4121     return SoftbodyJNI.btSoftBody_generateBendingConstraints__SWIG_1(swigCPtr, this, distance);
4122   }
4123 
randomizeConstraints()4124   public void randomizeConstraints() {
4125     SoftbodyJNI.btSoftBody_randomizeConstraints(swigCPtr, this);
4126   }
4127 
releaseCluster(int index)4128   public void releaseCluster(int index) {
4129     SoftbodyJNI.btSoftBody_releaseCluster(swigCPtr, this, index);
4130   }
4131 
releaseClusters()4132   public void releaseClusters() {
4133     SoftbodyJNI.btSoftBody_releaseClusters(swigCPtr, this);
4134   }
4135 
generateClusters(int k, int maxiterations)4136   public int generateClusters(int k, int maxiterations) {
4137     return SoftbodyJNI.btSoftBody_generateClusters__SWIG_0(swigCPtr, this, k, maxiterations);
4138   }
4139 
generateClusters(int k)4140   public int generateClusters(int k) {
4141     return SoftbodyJNI.btSoftBody_generateClusters__SWIG_1(swigCPtr, this, k);
4142   }
4143 
refine(btSoftBody.ImplicitFn ifn, float accurary, boolean cut)4144   public void refine(btSoftBody.ImplicitFn ifn, float accurary, boolean cut) {
4145     SoftbodyJNI.btSoftBody_refine(swigCPtr, this, btSoftBody.ImplicitFn.getCPtr(ifn), ifn, accurary, cut);
4146   }
4147 
cutLink(int node0, int node1, float position)4148   public boolean cutLink(int node0, int node1, float position) {
4149     return SoftbodyJNI.btSoftBody_cutLink__SWIG_0(swigCPtr, this, node0, node1, position);
4150   }
4151 
cutLink(btSoftBody.Node node0, btSoftBody.Node node1, float position)4152   public boolean cutLink(btSoftBody.Node node0, btSoftBody.Node node1, float position) {
4153     return SoftbodyJNI.btSoftBody_cutLink__SWIG_1(swigCPtr, this, btSoftBody.Node.getCPtr(node0), node0, btSoftBody.Node.getCPtr(node1), node1, position);
4154   }
4155 
rayTest(Vector3 rayFrom, Vector3 rayTo, btSoftBody.sRayCast results)4156   public boolean rayTest(Vector3 rayFrom, Vector3 rayTo, btSoftBody.sRayCast results) {
4157     return SoftbodyJNI.btSoftBody_rayTest__SWIG_0(swigCPtr, this, rayFrom, rayTo, btSoftBody.sRayCast.getCPtr(results), results);
4158   }
4159 
setSolver(int preset)4160   public void setSolver(int preset) {
4161     SoftbodyJNI.btSoftBody_setSolver(swigCPtr, this, preset);
4162   }
4163 
predictMotion(float dt)4164   public void predictMotion(float dt) {
4165     SoftbodyJNI.btSoftBody_predictMotion(swigCPtr, this, dt);
4166   }
4167 
solveConstraints()4168   public void solveConstraints() {
4169     SoftbodyJNI.btSoftBody_solveConstraints(swigCPtr, this);
4170   }
4171 
staticSolve(int iterations)4172   public void staticSolve(int iterations) {
4173     SoftbodyJNI.btSoftBody_staticSolve(swigCPtr, this, iterations);
4174   }
4175 
solveCommonConstraints(SWIGTYPE_p_p_btSoftBody bodies, int count, int iterations)4176   public static void solveCommonConstraints(SWIGTYPE_p_p_btSoftBody bodies, int count, int iterations) {
4177     SoftbodyJNI.btSoftBody_solveCommonConstraints(SWIGTYPE_p_p_btSoftBody.getCPtr(bodies), count, iterations);
4178   }
4179 
solveClusters(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t bodies)4180   public static void solveClusters(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t bodies) {
4181     SoftbodyJNI.btSoftBody_solveClusters__SWIG_0(SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t.getCPtr(bodies));
4182   }
4183 
integrateMotion()4184   public void integrateMotion() {
4185     SoftbodyJNI.btSoftBody_integrateMotion(swigCPtr, this);
4186   }
4187 
defaultCollisionHandler(btCollisionObjectWrapper pcoWrap)4188   public void defaultCollisionHandler(btCollisionObjectWrapper pcoWrap) {
4189     SoftbodyJNI.btSoftBody_defaultCollisionHandler__SWIG_0(swigCPtr, this, btCollisionObjectWrapper.getCPtr(pcoWrap), pcoWrap);
4190   }
4191 
defaultCollisionHandler(btSoftBody psb)4192   public void defaultCollisionHandler(btSoftBody psb) {
4193     SoftbodyJNI.btSoftBody_defaultCollisionHandler__SWIG_1(swigCPtr, this, btSoftBody.getCPtr(psb), psb);
4194   }
4195 
setWindVelocity(Vector3 velocity)4196   public void setWindVelocity(Vector3 velocity) {
4197     SoftbodyJNI.btSoftBody_setWindVelocity(swigCPtr, this, velocity);
4198   }
4199 
upcast(btCollisionObject colObj)4200   public static btSoftBody upcast(btCollisionObject colObj) {
4201     long cPtr = SoftbodyJNI.btSoftBody_upcast__SWIG_0(btCollisionObject.getCPtr(colObj), colObj);
4202     return (cPtr == 0) ? null : new btSoftBody(cPtr, false);
4203   }
4204 
getAabb(Vector3 aabbMin, Vector3 aabbMax)4205   public void getAabb(Vector3 aabbMin, Vector3 aabbMax) {
4206     SoftbodyJNI.btSoftBody_getAabb(swigCPtr, this, aabbMin, aabbMax);
4207   }
4208 
pointersToIndices()4209   public void pointersToIndices() {
4210     SoftbodyJNI.btSoftBody_pointersToIndices(swigCPtr, this);
4211   }
4212 
indicesToPointers(java.nio.IntBuffer map)4213   public void indicesToPointers(java.nio.IntBuffer map) {
4214     assert map.isDirect() : "Buffer must be allocated direct.";
4215     {
4216       SoftbodyJNI.btSoftBody_indicesToPointers__SWIG_0(swigCPtr, this, map);
4217     }
4218   }
4219 
indicesToPointers()4220   public void indicesToPointers() {
4221     SoftbodyJNI.btSoftBody_indicesToPointers__SWIG_1(swigCPtr, this);
4222   }
4223 
rayTest(Vector3 rayFrom, Vector3 rayTo, SWIGTYPE_p_float mint, SWIGTYPE_p_btSoftBody__eFeature___ feature, SWIGTYPE_p_int index, boolean bcountonly)4224   public int rayTest(Vector3 rayFrom, Vector3 rayTo, SWIGTYPE_p_float mint, SWIGTYPE_p_btSoftBody__eFeature___ feature, SWIGTYPE_p_int index, boolean bcountonly) {
4225     return SoftbodyJNI.btSoftBody_rayTest__SWIG_1(swigCPtr, this, rayFrom, rayTo, SWIGTYPE_p_float.getCPtr(mint), SWIGTYPE_p_btSoftBody__eFeature___.getCPtr(feature), SWIGTYPE_p_int.getCPtr(index), bcountonly);
4226   }
4227 
initializeFaceTree()4228   public void initializeFaceTree() {
4229     SoftbodyJNI.btSoftBody_initializeFaceTree(swigCPtr, this);
4230   }
4231 
evaluateCom()4232   public Vector3 evaluateCom() {
4233 	return SoftbodyJNI.btSoftBody_evaluateCom(swigCPtr, this);
4234 }
4235 
checkContact(btCollisionObjectWrapper colObjWrap, Vector3 x, float margin, btSoftBody.sCti cti)4236   public boolean checkContact(btCollisionObjectWrapper colObjWrap, Vector3 x, float margin, btSoftBody.sCti cti) {
4237     return SoftbodyJNI.btSoftBody_checkContact(swigCPtr, this, btCollisionObjectWrapper.getCPtr(colObjWrap), colObjWrap, x, margin, btSoftBody.sCti.getCPtr(cti), cti);
4238   }
4239 
updateNormals()4240   public void updateNormals() {
4241     SoftbodyJNI.btSoftBody_updateNormals(swigCPtr, this);
4242   }
4243 
updateBounds()4244   public void updateBounds() {
4245     SoftbodyJNI.btSoftBody_updateBounds(swigCPtr, this);
4246   }
4247 
updatePose()4248   public void updatePose() {
4249     SoftbodyJNI.btSoftBody_updatePose(swigCPtr, this);
4250   }
4251 
updateConstants()4252   public void updateConstants() {
4253     SoftbodyJNI.btSoftBody_updateConstants(swigCPtr, this);
4254   }
4255 
updateLinkConstants()4256   public void updateLinkConstants() {
4257     SoftbodyJNI.btSoftBody_updateLinkConstants(swigCPtr, this);
4258   }
4259 
updateArea(boolean averageArea)4260   public void updateArea(boolean averageArea) {
4261     SoftbodyJNI.btSoftBody_updateArea__SWIG_0(swigCPtr, this, averageArea);
4262   }
4263 
updateArea()4264   public void updateArea() {
4265     SoftbodyJNI.btSoftBody_updateArea__SWIG_1(swigCPtr, this);
4266   }
4267 
initializeClusters()4268   public void initializeClusters() {
4269     SoftbodyJNI.btSoftBody_initializeClusters(swigCPtr, this);
4270   }
4271 
updateClusters()4272   public void updateClusters() {
4273     SoftbodyJNI.btSoftBody_updateClusters(swigCPtr, this);
4274   }
4275 
cleanupClusters()4276   public void cleanupClusters() {
4277     SoftbodyJNI.btSoftBody_cleanupClusters(swigCPtr, this);
4278   }
4279 
prepareClusters(int iterations)4280   public void prepareClusters(int iterations) {
4281     SoftbodyJNI.btSoftBody_prepareClusters(swigCPtr, this, iterations);
4282   }
4283 
solveClusters(float sor)4284   public void solveClusters(float sor) {
4285     SoftbodyJNI.btSoftBody_solveClusters__SWIG_1(swigCPtr, this, sor);
4286   }
4287 
applyClusters(boolean drift)4288   public void applyClusters(boolean drift) {
4289     SoftbodyJNI.btSoftBody_applyClusters(swigCPtr, this, drift);
4290   }
4291 
dampClusters()4292   public void dampClusters() {
4293     SoftbodyJNI.btSoftBody_dampClusters(swigCPtr, this);
4294   }
4295 
applyForces()4296   public void applyForces() {
4297     SoftbodyJNI.btSoftBody_applyForces(swigCPtr, this);
4298   }
4299 
PSolve_Anchors(btSoftBody psb, float kst, float ti)4300   public static void PSolve_Anchors(btSoftBody psb, float kst, float ti) {
4301     SoftbodyJNI.btSoftBody_PSolve_Anchors(btSoftBody.getCPtr(psb), psb, kst, ti);
4302   }
4303 
PSolve_RContacts(btSoftBody psb, float kst, float ti)4304   public static void PSolve_RContacts(btSoftBody psb, float kst, float ti) {
4305     SoftbodyJNI.btSoftBody_PSolve_RContacts(btSoftBody.getCPtr(psb), psb, kst, ti);
4306   }
4307 
PSolve_SContacts(btSoftBody psb, float arg1, float ti)4308   public static void PSolve_SContacts(btSoftBody psb, float arg1, float ti) {
4309     SoftbodyJNI.btSoftBody_PSolve_SContacts(btSoftBody.getCPtr(psb), psb, arg1, ti);
4310   }
4311 
PSolve_Links(btSoftBody psb, float kst, float ti)4312   public static void PSolve_Links(btSoftBody psb, float kst, float ti) {
4313     SoftbodyJNI.btSoftBody_PSolve_Links(btSoftBody.getCPtr(psb), psb, kst, ti);
4314   }
4315 
VSolve_Links(btSoftBody psb, float kst)4316   public static void VSolve_Links(btSoftBody psb, float kst) {
4317     SoftbodyJNI.btSoftBody_VSolve_Links(btSoftBody.getCPtr(psb), psb, kst);
4318   }
4319 
getSolver(int solver)4320   public static SWIGTYPE_p_f_p_btSoftBody_float_float__void getSolver(int solver) {
4321     long cPtr = SoftbodyJNI.btSoftBody_getSolver__SWIG_0(solver);
4322     return (cPtr == 0) ? null : new SWIGTYPE_p_f_p_btSoftBody_float_float__void(cPtr, false);
4323   }
4324 
SwigConstructbtSoftBody(btSoftBodyWorldInfo worldInfo, java.nio.FloatBuffer vertices, int vertexSize, int posOffset, int normalOffset, java.nio.ShortBuffer indices, int indexOffset, int numVertices, java.nio.ShortBuffer indexMap, int indexMapOffset)4325   static private long SwigConstructbtSoftBody(btSoftBodyWorldInfo worldInfo, java.nio.FloatBuffer vertices, int vertexSize, int posOffset, int normalOffset, java.nio.ShortBuffer indices, int indexOffset, int numVertices, java.nio.ShortBuffer indexMap, int indexMapOffset) {
4326     assert vertices.isDirect() : "Buffer must be allocated direct.";
4327     assert indices.isDirect() : "Buffer must be allocated direct.";
4328     assert indexMap.isDirect() : "Buffer must be allocated direct.";
4329     return SoftbodyJNI.new_btSoftBody__SWIG_2(btSoftBodyWorldInfo.getCPtr(worldInfo), worldInfo, vertices, vertexSize, posOffset, normalOffset, indices, indexOffset, numVertices, indexMap, indexMapOffset);
4330   }
4331 
btSoftBody(btSoftBodyWorldInfo worldInfo, java.nio.FloatBuffer vertices, int vertexSize, int posOffset, int normalOffset, java.nio.ShortBuffer indices, int indexOffset, int numVertices, java.nio.ShortBuffer indexMap, int indexMapOffset)4332   public btSoftBody(btSoftBodyWorldInfo worldInfo, java.nio.FloatBuffer vertices, int vertexSize, int posOffset, int normalOffset, java.nio.ShortBuffer indices, int indexOffset, int numVertices, java.nio.ShortBuffer indexMap, int indexMapOffset) {
4333     this(btSoftBody.SwigConstructbtSoftBody(worldInfo, vertices, vertexSize, posOffset, normalOffset, indices, indexOffset, numVertices, indexMap, indexMapOffset), true);
4334   }
4335 
getNodeCount()4336   public int getNodeCount() {
4337     return SoftbodyJNI.btSoftBody_getNodeCount(swigCPtr, this);
4338   }
4339 
getNode(int idx)4340   public btSoftBody.Node getNode(int idx) {
4341     long cPtr = SoftbodyJNI.btSoftBody_getNode(swigCPtr, this, idx);
4342     return (cPtr == 0) ? null : new btSoftBody.Node(cPtr, false);
4343   }
4344 
getVertices(java.nio.FloatBuffer buffer, int vertexCount, int vertexSize, int posOffset)4345   public void getVertices(java.nio.FloatBuffer buffer, int vertexCount, int vertexSize, int posOffset) {
4346     assert buffer.isDirect() : "Buffer must be allocated direct.";
4347     {
4348       SoftbodyJNI.btSoftBody_getVertices__SWIG_0(swigCPtr, this, buffer, vertexCount, vertexSize, posOffset);
4349     }
4350   }
4351 
getVertices(java.nio.FloatBuffer vertices, int vertexSize, int posOffset, java.nio.ShortBuffer indices, int indexOffset, int numVertices, java.nio.ShortBuffer indexMap, int indexMapOffset)4352   public void getVertices(java.nio.FloatBuffer vertices, int vertexSize, int posOffset, java.nio.ShortBuffer indices, int indexOffset, int numVertices, java.nio.ShortBuffer indexMap, int indexMapOffset) {
4353     assert vertices.isDirect() : "Buffer must be allocated direct.";
4354     assert indices.isDirect() : "Buffer must be allocated direct.";
4355     assert indexMap.isDirect() : "Buffer must be allocated direct.";
4356     {
4357       SoftbodyJNI.btSoftBody_getVertices__SWIG_1(swigCPtr, this, vertices, vertexSize, posOffset, indices, indexOffset, numVertices, indexMap, indexMapOffset);
4358     }
4359   }
4360 
getVertices(java.nio.FloatBuffer vertices, int vertexSize, int posOffset, int normalOffset, java.nio.ShortBuffer indices, int indexOffset, int numVertices, java.nio.ShortBuffer indexMap, int indexMapOffset)4361   public void getVertices(java.nio.FloatBuffer vertices, int vertexSize, int posOffset, int normalOffset, java.nio.ShortBuffer indices, int indexOffset, int numVertices, java.nio.ShortBuffer indexMap, int indexMapOffset) {
4362     assert vertices.isDirect() : "Buffer must be allocated direct.";
4363     assert indices.isDirect() : "Buffer must be allocated direct.";
4364     assert indexMap.isDirect() : "Buffer must be allocated direct.";
4365     {
4366       SoftbodyJNI.btSoftBody_getVertices__SWIG_2(swigCPtr, this, vertices, vertexSize, posOffset, normalOffset, indices, indexOffset, numVertices, indexMap, indexMapOffset);
4367     }
4368   }
4369 
getFaceCount()4370   public int getFaceCount() {
4371     return SoftbodyJNI.btSoftBody_getFaceCount(swigCPtr, this);
4372   }
4373 
getFace(int idx)4374   public btSoftBody.Face getFace(int idx) {
4375     long cPtr = SoftbodyJNI.btSoftBody_getFace(swigCPtr, this, idx);
4376     return (cPtr == 0) ? null : new btSoftBody.Face(cPtr, false);
4377   }
4378 
getIndices(java.nio.ShortBuffer buffer, int triangleCount)4379   public void getIndices(java.nio.ShortBuffer buffer, int triangleCount) {
4380     assert buffer.isDirect() : "Buffer must be allocated direct.";
4381     {
4382       SoftbodyJNI.btSoftBody_getIndices(swigCPtr, this, buffer, triangleCount);
4383     }
4384   }
4385 
setConfig_kVCF(float v)4386   public void setConfig_kVCF(float v) {
4387     SoftbodyJNI.btSoftBody_setConfig_kVCF(swigCPtr, this, v);
4388   }
4389 
setConfig_kDP(float v)4390   public void setConfig_kDP(float v) {
4391     SoftbodyJNI.btSoftBody_setConfig_kDP(swigCPtr, this, v);
4392   }
4393 
setConfig_kDG(float v)4394   public void setConfig_kDG(float v) {
4395     SoftbodyJNI.btSoftBody_setConfig_kDG(swigCPtr, this, v);
4396   }
4397 
setConfig_kLF(float v)4398   public void setConfig_kLF(float v) {
4399     SoftbodyJNI.btSoftBody_setConfig_kLF(swigCPtr, this, v);
4400   }
4401 
setConfig_kPR(float v)4402   public void setConfig_kPR(float v) {
4403     SoftbodyJNI.btSoftBody_setConfig_kPR(swigCPtr, this, v);
4404   }
4405 
setConfig_kVC(float v)4406   public void setConfig_kVC(float v) {
4407     SoftbodyJNI.btSoftBody_setConfig_kVC(swigCPtr, this, v);
4408   }
4409 
setConfig_kDF(float v)4410   public void setConfig_kDF(float v) {
4411     SoftbodyJNI.btSoftBody_setConfig_kDF(swigCPtr, this, v);
4412   }
4413 
setConfig_kMT(float v)4414   public void setConfig_kMT(float v) {
4415     SoftbodyJNI.btSoftBody_setConfig_kMT(swigCPtr, this, v);
4416   }
4417 
setConfig_kCHR(float v)4418   public void setConfig_kCHR(float v) {
4419     SoftbodyJNI.btSoftBody_setConfig_kCHR(swigCPtr, this, v);
4420   }
4421 
setConfig_kKHR(float v)4422   public void setConfig_kKHR(float v) {
4423     SoftbodyJNI.btSoftBody_setConfig_kKHR(swigCPtr, this, v);
4424   }
4425 
setConfig_kSHR(float v)4426   public void setConfig_kSHR(float v) {
4427     SoftbodyJNI.btSoftBody_setConfig_kSHR(swigCPtr, this, v);
4428   }
4429 
setConfig_kAHR(float v)4430   public void setConfig_kAHR(float v) {
4431     SoftbodyJNI.btSoftBody_setConfig_kAHR(swigCPtr, this, v);
4432   }
4433 
setConfig_kSRHR_CL(float v)4434   public void setConfig_kSRHR_CL(float v) {
4435     SoftbodyJNI.btSoftBody_setConfig_kSRHR_CL(swigCPtr, this, v);
4436   }
4437 
setConfig_kSKHR_CL(float v)4438   public void setConfig_kSKHR_CL(float v) {
4439     SoftbodyJNI.btSoftBody_setConfig_kSKHR_CL(swigCPtr, this, v);
4440   }
4441 
setConfig_kSSHR_CL(float v)4442   public void setConfig_kSSHR_CL(float v) {
4443     SoftbodyJNI.btSoftBody_setConfig_kSSHR_CL(swigCPtr, this, v);
4444   }
4445 
setConfig_kSR_SPLT_CL(float v)4446   public void setConfig_kSR_SPLT_CL(float v) {
4447     SoftbodyJNI.btSoftBody_setConfig_kSR_SPLT_CL(swigCPtr, this, v);
4448   }
4449 
setConfig_kSK_SPLT_CL(float v)4450   public void setConfig_kSK_SPLT_CL(float v) {
4451     SoftbodyJNI.btSoftBody_setConfig_kSK_SPLT_CL(swigCPtr, this, v);
4452   }
4453 
setConfig_kSS_SPLT_CL(float v)4454   public void setConfig_kSS_SPLT_CL(float v) {
4455     SoftbodyJNI.btSoftBody_setConfig_kSS_SPLT_CL(swigCPtr, this, v);
4456   }
4457 
setConfig_maxvolume(float v)4458   public void setConfig_maxvolume(float v) {
4459     SoftbodyJNI.btSoftBody_setConfig_maxvolume(swigCPtr, this, v);
4460   }
4461 
setConfig_timescale(float v)4462   public void setConfig_timescale(float v) {
4463     SoftbodyJNI.btSoftBody_setConfig_timescale(swigCPtr, this, v);
4464   }
4465 
setConfig_viterations(int v)4466   public void setConfig_viterations(int v) {
4467     SoftbodyJNI.btSoftBody_setConfig_viterations(swigCPtr, this, v);
4468   }
4469 
setConfig_piterations(int v)4470   public void setConfig_piterations(int v) {
4471     SoftbodyJNI.btSoftBody_setConfig_piterations(swigCPtr, this, v);
4472   }
4473 
setConfig_diterations(int v)4474   public void setConfig_diterations(int v) {
4475     SoftbodyJNI.btSoftBody_setConfig_diterations(swigCPtr, this, v);
4476   }
4477 
setConfig_citerations(int v)4478   public void setConfig_citerations(int v) {
4479     SoftbodyJNI.btSoftBody_setConfig_citerations(swigCPtr, this, v);
4480   }
4481 
setConfig_collisions(int v)4482   public void setConfig_collisions(int v) {
4483     SoftbodyJNI.btSoftBody_setConfig_collisions(swigCPtr, this, v);
4484   }
4485 
4486 }
4487