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_LinearMath_WRAP_H_ 12 #define SWIG_LinearMath_WRAP_H_ 13 14 class SwigDirector_btIDebugDraw : public btIDebugDraw, 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_btIDebugDraw(JNIEnv *jenv); 19 virtual ~SwigDirector_btIDebugDraw(); 20 virtual btIDebugDraw::DefaultColors getDefaultColors() const; 21 virtual void setDefaultColors(btIDebugDraw::DefaultColors const &arg0); 22 virtual void drawLine(btVector3 const &from, btVector3 const &to, btVector3 const &color); 23 virtual void drawLine(btVector3 const &from, btVector3 const &to, btVector3 const &fromColor, btVector3 const &toColor); 24 virtual void drawSphere(btScalar radius, btTransform const &transform, btVector3 const &color); 25 virtual void drawSphere(btVector3 const &p, btScalar radius, btVector3 const &color); 26 virtual void drawTriangle(btVector3 const &v0, btVector3 const &v1, btVector3 const &v2, btVector3 const &arg3, btVector3 const &arg4, btVector3 const &arg5, btVector3 const &color, btScalar alpha); 27 virtual void drawTriangle(btVector3 const &v0, btVector3 const &v1, btVector3 const &v2, btVector3 const &color, btScalar arg4); 28 virtual void drawContactPoint(btVector3 const &PointOnB, btVector3 const &normalOnB, btScalar distance, int lifeTime, btVector3 const &color); 29 virtual void reportErrorWarning(char const *warningString); 30 virtual void draw3dText(btVector3 const &location, char const *textString); 31 virtual void setDebugMode(int debugMode); 32 virtual int getDebugMode() const; 33 virtual void drawAabb(btVector3 const &from, btVector3 const &to, btVector3 const &color); 34 virtual void drawTransform(btTransform const &transform, btScalar orthoLen); 35 virtual void drawArc(btVector3 const ¢er, btVector3 const &normal, btVector3 const &axis, btScalar radiusA, btScalar radiusB, btScalar minAngle, btScalar maxAngle, btVector3 const &color, bool drawSect, btScalar stepDegrees = btScalar(10.f)); 36 virtual void drawSpherePatch(btVector3 const ¢er, btVector3 const &up, btVector3 const &axis, btScalar radius, btScalar minTh, btScalar maxTh, btScalar minPs, btScalar maxPs, btVector3 const &color, btScalar stepDegrees = btScalar(10.f), bool drawCenter = true); 37 virtual void drawBox(btVector3 const &bbMin, btVector3 const &bbMax, btVector3 const &color); 38 virtual void drawBox(btVector3 const &bbMin, btVector3 const &bbMax, btTransform const &trans, btVector3 const &color); 39 virtual void drawCapsule(btScalar radius, btScalar halfHeight, int upAxis, btTransform const &transform, btVector3 const &color); 40 virtual void drawCylinder(btScalar radius, btScalar halfHeight, int upAxis, btTransform const &transform, btVector3 const &color); 41 virtual void drawCone(btScalar radius, btScalar height, int upAxis, btTransform const &transform, btVector3 const &color); 42 virtual void drawPlane(btVector3 const &planeNormal, btScalar planeConst, btTransform const &transform, btVector3 const &color); 43 virtual void flushLines(); 44 public: swig_overrides(int n)45 bool swig_overrides(int n) { 46 return (n < 27 ? swig_override[n] : false); 47 } 48 protected: 49 Swig::BoolArray<27> swig_override; 50 }; 51 52 class SwigDirector_btMotionState : public btMotionState, public Swig::Director { 53 54 public: 55 void swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global); 56 SwigDirector_btMotionState(JNIEnv *jenv); 57 virtual ~SwigDirector_btMotionState(); 58 virtual void getWorldTransform(btTransform &worldTrans) const; 59 virtual void setWorldTransform(btTransform const &worldTrans); 60 public: swig_overrides(int n)61 bool swig_overrides(int n) { 62 return (n < 2 ? swig_override[n] : false); 63 } 64 protected: 65 Swig::BoolArray<2> swig_override; 66 }; 67 68 69 #endif 70