OSDN Git Service

b6d2f89c7e4102081243a227c7c40ad71e5bb8b5
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / btSoftBodyFloatData.java
1 /* ----------------------------------------------------------------------------\r
2  * This file was automatically generated by SWIG (http://www.swig.org).\r
3  * Version 2.0.10\r
4  *\r
5  * Do not make changes to this file unless you know what you are doing--modify\r
6  * the SWIG interface file instead.\r
7  * ----------------------------------------------------------------------------- */\r
8 \r
9 package com.badlogic.gdx.physics.bullet;\r
10 \r
11 import com.badlogic.gdx.math.Vector3;\r
12 import com.badlogic.gdx.math.Quaternion;\r
13 import com.badlogic.gdx.math.Matrix3;\r
14 import com.badlogic.gdx.math.Matrix4;\r
15 \r
16 public class btSoftBodyFloatData extends BulletBase {\r
17         private long swigCPtr;\r
18         \r
19         protected btSoftBodyFloatData(final String className, long cPtr, boolean cMemoryOwn) {\r
20                 super(className, cPtr, cMemoryOwn);\r
21                 swigCPtr = cPtr;\r
22         }\r
23         \r
24         protected btSoftBodyFloatData(long cPtr, boolean cMemoryOwn) {\r
25                 this("btSoftBodyFloatData", cPtr, cMemoryOwn);\r
26                 construct();\r
27         }\r
28         \r
29         public static long getCPtr(btSoftBodyFloatData obj) {\r
30                 return (obj == null) ? 0 : obj.swigCPtr;\r
31         }\r
32 \r
33         @Override\r
34         protected void finalize() throws Throwable {\r
35                 if (!destroyed)\r
36                         destroy();\r
37                 super.finalize();\r
38         }\r
39 \r
40   @Override protected synchronized void delete() {\r
41                 if (swigCPtr != 0) {\r
42                         if (swigCMemOwn) {\r
43                                 swigCMemOwn = false;\r
44                                 gdxBulletJNI.delete_btSoftBodyFloatData(swigCPtr);\r
45                         }\r
46                         swigCPtr = 0;\r
47                 }\r
48                 super.delete();\r
49         }\r
50 \r
51   public void setCollisionObjectData(btCollisionObjectFloatData value) {\r
52     gdxBulletJNI.btSoftBodyFloatData_collisionObjectData_set(swigCPtr, this, btCollisionObjectFloatData.getCPtr(value), value);\r
53   }\r
54 \r
55   public btCollisionObjectFloatData getCollisionObjectData() {\r
56     long cPtr = gdxBulletJNI.btSoftBodyFloatData_collisionObjectData_get(swigCPtr, this);\r
57     return (cPtr == 0) ? null : new btCollisionObjectFloatData(cPtr, false);\r
58   }\r
59 \r
60   public void setPose(SoftBodyPoseData value) {\r
61     gdxBulletJNI.btSoftBodyFloatData_pose_set(swigCPtr, this, SoftBodyPoseData.getCPtr(value), value);\r
62   }\r
63 \r
64   public SoftBodyPoseData getPose() {\r
65     long cPtr = gdxBulletJNI.btSoftBodyFloatData_pose_get(swigCPtr, this);\r
66     return (cPtr == 0) ? null : new SoftBodyPoseData(cPtr, false);\r
67   }\r
68 \r
69   public void setMaterials(SWIGTYPE_p_p_SoftBodyMaterialData value) {\r
70     gdxBulletJNI.btSoftBodyFloatData_materials_set(swigCPtr, this, SWIGTYPE_p_p_SoftBodyMaterialData.getCPtr(value));\r
71   }\r
72 \r
73   public SWIGTYPE_p_p_SoftBodyMaterialData getMaterials() {\r
74     long cPtr = gdxBulletJNI.btSoftBodyFloatData_materials_get(swigCPtr, this);\r
75     return (cPtr == 0) ? null : new SWIGTYPE_p_p_SoftBodyMaterialData(cPtr, false);\r
76   }\r
77 \r
78   public void setNodes(SoftBodyNodeData value) {\r
79     gdxBulletJNI.btSoftBodyFloatData_nodes_set(swigCPtr, this, SoftBodyNodeData.getCPtr(value), value);\r
80   }\r
81 \r
82   public SoftBodyNodeData getNodes() {\r
83     long cPtr = gdxBulletJNI.btSoftBodyFloatData_nodes_get(swigCPtr, this);\r
84     return (cPtr == 0) ? null : new SoftBodyNodeData(cPtr, false);\r
85   }\r
86 \r
87   public void setLinks(SoftBodyLinkData value) {\r
88     gdxBulletJNI.btSoftBodyFloatData_links_set(swigCPtr, this, SoftBodyLinkData.getCPtr(value), value);\r
89   }\r
90 \r
91   public SoftBodyLinkData getLinks() {\r
92     long cPtr = gdxBulletJNI.btSoftBodyFloatData_links_get(swigCPtr, this);\r
93     return (cPtr == 0) ? null : new SoftBodyLinkData(cPtr, false);\r
94   }\r
95 \r
96   public void setFaces(SoftBodyFaceData value) {\r
97     gdxBulletJNI.btSoftBodyFloatData_faces_set(swigCPtr, this, SoftBodyFaceData.getCPtr(value), value);\r
98   }\r
99 \r
100   public SoftBodyFaceData getFaces() {\r
101     long cPtr = gdxBulletJNI.btSoftBodyFloatData_faces_get(swigCPtr, this);\r
102     return (cPtr == 0) ? null : new SoftBodyFaceData(cPtr, false);\r
103   }\r
104 \r
105   public void setTetrahedra(SoftBodyTetraData value) {\r
106     gdxBulletJNI.btSoftBodyFloatData_tetrahedra_set(swigCPtr, this, SoftBodyTetraData.getCPtr(value), value);\r
107   }\r
108 \r
109   public SoftBodyTetraData getTetrahedra() {\r
110     long cPtr = gdxBulletJNI.btSoftBodyFloatData_tetrahedra_get(swigCPtr, this);\r
111     return (cPtr == 0) ? null : new SoftBodyTetraData(cPtr, false);\r
112   }\r
113 \r
114   public void setAnchors(SoftRigidAnchorData value) {\r
115     gdxBulletJNI.btSoftBodyFloatData_anchors_set(swigCPtr, this, SoftRigidAnchorData.getCPtr(value), value);\r
116   }\r
117 \r
118   public SoftRigidAnchorData getAnchors() {\r
119     long cPtr = gdxBulletJNI.btSoftBodyFloatData_anchors_get(swigCPtr, this);\r
120     return (cPtr == 0) ? null : new SoftRigidAnchorData(cPtr, false);\r
121   }\r
122 \r
123   public void setClusters(SoftBodyClusterData value) {\r
124     gdxBulletJNI.btSoftBodyFloatData_clusters_set(swigCPtr, this, SoftBodyClusterData.getCPtr(value), value);\r
125   }\r
126 \r
127   public SoftBodyClusterData getClusters() {\r
128     long cPtr = gdxBulletJNI.btSoftBodyFloatData_clusters_get(swigCPtr, this);\r
129     return (cPtr == 0) ? null : new SoftBodyClusterData(cPtr, false);\r
130   }\r
131 \r
132   public void setJoints(btSoftBodyJointData value) {\r
133     gdxBulletJNI.btSoftBodyFloatData_joints_set(swigCPtr, this, btSoftBodyJointData.getCPtr(value), value);\r
134   }\r
135 \r
136   public btSoftBodyJointData getJoints() {\r
137     long cPtr = gdxBulletJNI.btSoftBodyFloatData_joints_get(swigCPtr, this);\r
138     return (cPtr == 0) ? null : new btSoftBodyJointData(cPtr, false);\r
139   }\r
140 \r
141   public void setNumMaterials(int value) {\r
142     gdxBulletJNI.btSoftBodyFloatData_numMaterials_set(swigCPtr, this, value);\r
143   }\r
144 \r
145   public int getNumMaterials() {\r
146     return gdxBulletJNI.btSoftBodyFloatData_numMaterials_get(swigCPtr, this);\r
147   }\r
148 \r
149   public void setNumNodes(int value) {\r
150     gdxBulletJNI.btSoftBodyFloatData_numNodes_set(swigCPtr, this, value);\r
151   }\r
152 \r
153   public int getNumNodes() {\r
154     return gdxBulletJNI.btSoftBodyFloatData_numNodes_get(swigCPtr, this);\r
155   }\r
156 \r
157   public void setNumLinks(int value) {\r
158     gdxBulletJNI.btSoftBodyFloatData_numLinks_set(swigCPtr, this, value);\r
159   }\r
160 \r
161   public int getNumLinks() {\r
162     return gdxBulletJNI.btSoftBodyFloatData_numLinks_get(swigCPtr, this);\r
163   }\r
164 \r
165   public void setNumFaces(int value) {\r
166     gdxBulletJNI.btSoftBodyFloatData_numFaces_set(swigCPtr, this, value);\r
167   }\r
168 \r
169   public int getNumFaces() {\r
170     return gdxBulletJNI.btSoftBodyFloatData_numFaces_get(swigCPtr, this);\r
171   }\r
172 \r
173   public void setNumTetrahedra(int value) {\r
174     gdxBulletJNI.btSoftBodyFloatData_numTetrahedra_set(swigCPtr, this, value);\r
175   }\r
176 \r
177   public int getNumTetrahedra() {\r
178     return gdxBulletJNI.btSoftBodyFloatData_numTetrahedra_get(swigCPtr, this);\r
179   }\r
180 \r
181   public void setNumAnchors(int value) {\r
182     gdxBulletJNI.btSoftBodyFloatData_numAnchors_set(swigCPtr, this, value);\r
183   }\r
184 \r
185   public int getNumAnchors() {\r
186     return gdxBulletJNI.btSoftBodyFloatData_numAnchors_get(swigCPtr, this);\r
187   }\r
188 \r
189   public void setNumClusters(int value) {\r
190     gdxBulletJNI.btSoftBodyFloatData_numClusters_set(swigCPtr, this, value);\r
191   }\r
192 \r
193   public int getNumClusters() {\r
194     return gdxBulletJNI.btSoftBodyFloatData_numClusters_get(swigCPtr, this);\r
195   }\r
196 \r
197   public void setNumJoints(int value) {\r
198     gdxBulletJNI.btSoftBodyFloatData_numJoints_set(swigCPtr, this, value);\r
199   }\r
200 \r
201   public int getNumJoints() {\r
202     return gdxBulletJNI.btSoftBodyFloatData_numJoints_get(swigCPtr, this);\r
203   }\r
204 \r
205   public void setConfig(SoftBodyConfigData value) {\r
206     gdxBulletJNI.btSoftBodyFloatData_config_set(swigCPtr, this, SoftBodyConfigData.getCPtr(value), value);\r
207   }\r
208 \r
209   public SoftBodyConfigData getConfig() {\r
210     long cPtr = gdxBulletJNI.btSoftBodyFloatData_config_get(swigCPtr, this);\r
211     return (cPtr == 0) ? null : new SoftBodyConfigData(cPtr, false);\r
212   }\r
213 \r
214   public btSoftBodyFloatData() {\r
215     this(gdxBulletJNI.new_btSoftBodyFloatData(), true);\r
216   }\r
217 \r
218 }\r