1 /* ----------------------------------------------------------------------------
\r
2 * This file was automatically generated by SWIG (http://www.swig.org).
\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
9 package com.badlogic.gdx.physics.bullet;
\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
16 public class btSoftBodyFloatData extends BulletBase {
\r
17 private long swigCPtr;
\r
19 protected btSoftBodyFloatData(final String className, long cPtr, boolean cMemoryOwn) {
\r
20 super(className, cPtr, cMemoryOwn);
\r
24 protected btSoftBodyFloatData(long cPtr, boolean cMemoryOwn) {
\r
25 this("btSoftBodyFloatData", cPtr, cMemoryOwn);
\r
29 public static long getCPtr(btSoftBodyFloatData obj) {
\r
30 return (obj == null) ? 0 : obj.swigCPtr;
\r
34 protected void finalize() throws Throwable {
\r
40 @Override protected synchronized void delete() {
\r
41 if (swigCPtr != 0) {
\r
43 swigCMemOwn = false;
\r
44 gdxBulletJNI.delete_btSoftBodyFloatData(swigCPtr);
\r
51 public void setCollisionObjectData(btCollisionObjectFloatData value) {
\r
52 gdxBulletJNI.btSoftBodyFloatData_collisionObjectData_set(swigCPtr, this, btCollisionObjectFloatData.getCPtr(value), value);
\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
60 public void setPose(SoftBodyPoseData value) {
\r
61 gdxBulletJNI.btSoftBodyFloatData_pose_set(swigCPtr, this, SoftBodyPoseData.getCPtr(value), value);
\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
69 public void setMaterials(SWIGTYPE_p_p_SoftBodyMaterialData value) {
\r
70 gdxBulletJNI.btSoftBodyFloatData_materials_set(swigCPtr, this, SWIGTYPE_p_p_SoftBodyMaterialData.getCPtr(value));
\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
78 public void setNodes(SoftBodyNodeData value) {
\r
79 gdxBulletJNI.btSoftBodyFloatData_nodes_set(swigCPtr, this, SoftBodyNodeData.getCPtr(value), value);
\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
87 public void setLinks(SoftBodyLinkData value) {
\r
88 gdxBulletJNI.btSoftBodyFloatData_links_set(swigCPtr, this, SoftBodyLinkData.getCPtr(value), value);
\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
96 public void setFaces(SoftBodyFaceData value) {
\r
97 gdxBulletJNI.btSoftBodyFloatData_faces_set(swigCPtr, this, SoftBodyFaceData.getCPtr(value), value);
\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
105 public void setTetrahedra(SoftBodyTetraData value) {
\r
106 gdxBulletJNI.btSoftBodyFloatData_tetrahedra_set(swigCPtr, this, SoftBodyTetraData.getCPtr(value), value);
\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
114 public void setAnchors(SoftRigidAnchorData value) {
\r
115 gdxBulletJNI.btSoftBodyFloatData_anchors_set(swigCPtr, this, SoftRigidAnchorData.getCPtr(value), value);
\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
123 public void setClusters(SoftBodyClusterData value) {
\r
124 gdxBulletJNI.btSoftBodyFloatData_clusters_set(swigCPtr, this, SoftBodyClusterData.getCPtr(value), value);
\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
132 public void setJoints(btSoftBodyJointData value) {
\r
133 gdxBulletJNI.btSoftBodyFloatData_joints_set(swigCPtr, this, btSoftBodyJointData.getCPtr(value), value);
\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
141 public void setNumMaterials(int value) {
\r
142 gdxBulletJNI.btSoftBodyFloatData_numMaterials_set(swigCPtr, this, value);
\r
145 public int getNumMaterials() {
\r
146 return gdxBulletJNI.btSoftBodyFloatData_numMaterials_get(swigCPtr, this);
\r
149 public void setNumNodes(int value) {
\r
150 gdxBulletJNI.btSoftBodyFloatData_numNodes_set(swigCPtr, this, value);
\r
153 public int getNumNodes() {
\r
154 return gdxBulletJNI.btSoftBodyFloatData_numNodes_get(swigCPtr, this);
\r
157 public void setNumLinks(int value) {
\r
158 gdxBulletJNI.btSoftBodyFloatData_numLinks_set(swigCPtr, this, value);
\r
161 public int getNumLinks() {
\r
162 return gdxBulletJNI.btSoftBodyFloatData_numLinks_get(swigCPtr, this);
\r
165 public void setNumFaces(int value) {
\r
166 gdxBulletJNI.btSoftBodyFloatData_numFaces_set(swigCPtr, this, value);
\r
169 public int getNumFaces() {
\r
170 return gdxBulletJNI.btSoftBodyFloatData_numFaces_get(swigCPtr, this);
\r
173 public void setNumTetrahedra(int value) {
\r
174 gdxBulletJNI.btSoftBodyFloatData_numTetrahedra_set(swigCPtr, this, value);
\r
177 public int getNumTetrahedra() {
\r
178 return gdxBulletJNI.btSoftBodyFloatData_numTetrahedra_get(swigCPtr, this);
\r
181 public void setNumAnchors(int value) {
\r
182 gdxBulletJNI.btSoftBodyFloatData_numAnchors_set(swigCPtr, this, value);
\r
185 public int getNumAnchors() {
\r
186 return gdxBulletJNI.btSoftBodyFloatData_numAnchors_get(swigCPtr, this);
\r
189 public void setNumClusters(int value) {
\r
190 gdxBulletJNI.btSoftBodyFloatData_numClusters_set(swigCPtr, this, value);
\r
193 public int getNumClusters() {
\r
194 return gdxBulletJNI.btSoftBodyFloatData_numClusters_get(swigCPtr, this);
\r
197 public void setNumJoints(int value) {
\r
198 gdxBulletJNI.btSoftBodyFloatData_numJoints_set(swigCPtr, this, value);
\r
201 public int getNumJoints() {
\r
202 return gdxBulletJNI.btSoftBodyFloatData_numJoints_get(swigCPtr, this);
\r
205 public void setConfig(SoftBodyConfigData value) {
\r
206 gdxBulletJNI.btSoftBodyFloatData_config_set(swigCPtr, this, SoftBodyConfigData.getCPtr(value), value);
\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
214 public btSoftBodyFloatData() {
\r
215 this(gdxBulletJNI.new_btSoftBodyFloatData(), true);
\r