1 /* ---------------------------------------------------------------------------- 2 * This file was automatically generated by SWIG (http://www.swig.org). 3 * Version 3.0.8 4 * 5 * This file is not intended to be easily readable and contains a number of 6 * coding conventions designed to improve portability and efficiency. Do not make 7 * changes to this file unless you know what you are doing--modify the SWIG 8 * interface file instead. 9 * ----------------------------------------------------------------------------- */ 10 11 #ifndef SWIG_Extras_WRAP_H_ 12 #define SWIG_Extras_WRAP_H_ 13 14 class SwigDirector_btBulletWorldImporter : public btBulletWorldImporter, public Swig::Director { 15 16 public: 17 void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); 18 SwigDirector_btBulletWorldImporter(JNIEnv *jenv, btDynamicsWorld *world = 0); 19 virtual ~SwigDirector_btBulletWorldImporter(); 20 virtual void deleteAllData(); 21 virtual void setDynamicsWorldInfo(btVector3 const &gravity, btContactSolverInfo const &solverInfo); 22 virtual btRigidBody *createRigidBody(bool isDynamic, btScalar mass, btTransform const &startTransform, btCollisionShape *shape, char const *bodyName); 23 virtual btCollisionObject *createCollisionObject(btTransform const &startTransform, btCollisionShape *shape, char const *bodyName); 24 virtual btCollisionShape *createPlaneShape(btVector3 const &planeNormal, btScalar planeConstant); 25 virtual btCollisionShape *createBoxShape(btVector3 const &halfExtents); 26 virtual btCollisionShape *createSphereShape(btScalar radius); 27 virtual btCollisionShape *createCapsuleShapeX(btScalar radius, btScalar height); 28 virtual btCollisionShape *createCapsuleShapeY(btScalar radius, btScalar height); 29 virtual btCollisionShape *createCapsuleShapeZ(btScalar radius, btScalar height); 30 virtual btCollisionShape *createCylinderShapeX(btScalar radius, btScalar height); 31 virtual btCollisionShape *createCylinderShapeY(btScalar radius, btScalar height); 32 virtual btCollisionShape *createCylinderShapeZ(btScalar radius, btScalar height); 33 virtual btCollisionShape *createConeShapeX(btScalar radius, btScalar height); 34 virtual btCollisionShape *createConeShapeY(btScalar radius, btScalar height); 35 virtual btCollisionShape *createConeShapeZ(btScalar radius, btScalar height); 36 virtual btTriangleIndexVertexArray *createTriangleMeshContainer(); 37 virtual btBvhTriangleMeshShape *createBvhTriangleMeshShape(btStridingMeshInterface *trimesh, btOptimizedBvh *bvh); 38 virtual btCollisionShape *createConvexTriangleMeshShape(btStridingMeshInterface *trimesh); 39 virtual btGImpactMeshShape *createGimpactShape(btStridingMeshInterface *trimesh); 40 virtual btStridingMeshInterfaceData *createStridingMeshInterfaceData(btStridingMeshInterfaceData *interfaceData); 41 virtual btConvexHullShape *createConvexHullShape(); 42 virtual btCompoundShape *createCompoundShape(); 43 virtual btScaledBvhTriangleMeshShape *createScaledTrangleMeshShape(btBvhTriangleMeshShape *meshShape, btVector3 const &localScalingbtBvhTriangleMeshShape); 44 virtual btTriangleIndexVertexArray *createMeshInterface(btStridingMeshInterfaceData &meshData); 45 virtual btOptimizedBvh *createOptimizedBvh(); 46 virtual btTriangleInfoMap *createTriangleInfoMap(); 47 virtual btPoint2PointConstraint *createPoint2PointConstraint(btRigidBody &rbA, btRigidBody &rbB, btVector3 const &pivotInA, btVector3 const &pivotInB); 48 virtual btPoint2PointConstraint *createPoint2PointConstraint(btRigidBody &rbA, btVector3 const &pivotInA); 49 virtual btHingeConstraint *createHingeConstraint(btRigidBody &rbA, btRigidBody &rbB, btTransform const &rbAFrame, btTransform const &rbBFrame, bool useReferenceFrameA = false); 50 virtual btHingeConstraint *createHingeConstraint(btRigidBody &rbA, btTransform const &rbAFrame, bool useReferenceFrameA = false); 51 virtual btConeTwistConstraint *createConeTwistConstraint(btRigidBody &rbA, btRigidBody &rbB, btTransform const &rbAFrame, btTransform const &rbBFrame); 52 virtual btConeTwistConstraint *createConeTwistConstraint(btRigidBody &rbA, btTransform const &rbAFrame); 53 virtual btGeneric6DofConstraint *createGeneric6DofConstraint(btRigidBody &rbA, btRigidBody &rbB, btTransform const &frameInA, btTransform const &frameInB, bool useLinearReferenceFrameA); 54 virtual btGeneric6DofConstraint *createGeneric6DofConstraint(btRigidBody &rbB, btTransform const &frameInB, bool useLinearReferenceFrameB); 55 virtual btGeneric6DofSpringConstraint *createGeneric6DofSpringConstraint(btRigidBody &rbA, btRigidBody &rbB, btTransform const &frameInA, btTransform const &frameInB, bool useLinearReferenceFrameA); 56 virtual btGeneric6DofSpring2Constraint *createGeneric6DofSpring2Constraint(btRigidBody &rbA, btRigidBody &rbB, btTransform const &frameInA, btTransform const &frameInB, int rotateOrder); 57 virtual btSliderConstraint *createSliderConstraint(btRigidBody &rbA, btRigidBody &rbB, btTransform const &frameInA, btTransform const &frameInB, bool useLinearReferenceFrameA); 58 virtual btSliderConstraint *createSliderConstraint(btRigidBody &rbB, btTransform const &frameInB, bool useLinearReferenceFrameA); 59 virtual btGearConstraint *createGearConstraint(btRigidBody &rbA, btRigidBody &rbB, btVector3 const &axisInA, btVector3 const &axisInB, btScalar ratio); 60 virtual bool convertAllObjects(bParse::btBulletFile *file); 61 public: 62 bool swig_overrides(int n) { 63 return (n < 43 ? swig_override[n] : false); 64 } 65 protected: 66 Swig::BoolArray<43> swig_override; 67 }; 68 69 70 #endif 71