Public Member Functions | |
| virtual void | init (Ogre::Root *root, Ogre::RenderWindow *win, OgreBulletApplication *application) |
| virtual void | shutdown () |
| void | setPhysicGUI () |
| void | setBasicLight () |
| const BULLET_KEY_CODE | getNextKey () const |
| void | setNextKey (BULLET_KEY_CODE code) |
| void | setInfoText () |
| const Ogre::String | getName () |
| virtual bool | frameStarted (Ogre::Real elapsedTime) |
| virtual bool | frameEnded (Ogre::Real elapsedTime) |
| bool | checkIfEnoughPlaceToAddObject (float maxDist) |
| void | throwDynamicObject (BULLET_KEY_CODE key) |
| void | dropDynamicObject (BULLET_KEY_CODE key) |
| OgreBulletInputListener * | getInputListener () |
| virtual void | mouseMoved () |
| virtual void | button0Pressed () |
| virtual void | button1Pressed () |
| virtual void | button2Pressed () |
| virtual void | button0Released () |
| virtual void | button1Released () |
| virtual void | button2Released () |
| virtual void | keyPressed (BULLET_KEY_CODE key) |
| virtual void | keyReleased (BULLET_KEY_CODE key) |
| bool * | getBoolActivator () |
| void | setDebugText (const Ogre::String &debugText) |
Protected Member Functions | |
| void | initWorld (const Ogre::Vector3 &gravityVector=Ogre::Vector3(0,-9.81, 0), const Ogre::AxisAlignedBox &bounds=Ogre::AxisAlignedBox(Ogre::Vector3(-10000,-10000,-10000), Ogre::Vector3(10000, 10000, 10000))) |
| void | addGround () |
| OgreBulletDynamics::RigidBody * | addCube (const Ogre::String instanceName, const Ogre::Vector3 &pos, const Ogre::Quaternion &q, const Ogre::Vector3 &size, const Ogre::Real bodyRestitution, const Ogre::Real bodyFriction, const Ogre::Real bodyMass) |
| OgreBulletDynamics::RigidBody * | addCylinder (const Ogre::String instanceName, const Ogre::Vector3 &pos, const Ogre::Quaternion &q, const Ogre::Vector3 &size, const Ogre::Real bodyRestitution, const Ogre::Real bodyFriction, const Ogre::Real bodyMass) |
| OgreBulletDynamics::RigidBody * | addSphere (const Ogre::String instanceName, const Ogre::Vector3 &pos, const Ogre::Quaternion &q, const Ogre::Real radius, const Ogre::Real bodyRestitution, const Ogre::Real bodyFriction, const Ogre::Real bodyMass) |
| OgreBulletDynamics::RigidBody * | addCone (const Ogre::String instanceName, const Ogre::Vector3 &pos, const Ogre::Quaternion &q, const Ogre::Vector3 &size, const Ogre::Real bodyRestitution, const Ogre::Real bodyFriction, const Ogre::Real bodyMass) |
| OgreBulletDynamics::RigidBody * | addStaticTrimesh (const Ogre::String &instanceName, const Ogre::String &meshName, const Ogre::Vector3 &pos, const Ogre::Quaternion &q, const Ogre::Real bodyRestitution, const Ogre::Real bodyFriction, const bool castShadow=true) |
| OgreBulletDynamics::RigidBody * | addStaticPlane (const Ogre::Real bodyRestitution, const Ogre::Real bodyFriction) |
| void | getDebugLines () |
| OgreBulletDynamics::RigidBody * | getBodyUnderCursorUsingBullet (Ogre::Vector3 &intersectionPoint, Ogre::Ray &rayTo) |
| OgreBulletDynamics::RigidBody * | getBodyUnderCursorUsingOgre (Ogre::Vector3 &intersectionPoint, Ogre::Ray &rayTo) |
| void | updateStats () |
Protected Attributes | |
| Ogre::RenderWindow * | mWindow |
| Ogre::Root * | mRoot |
| Ogre::SceneManager * | mSceneMgr |
| int | mCurrentShadowTechnique |
| Ogre::Light * | mSunLight |
| Ogre::Light * | mLight |
| Ogre::Light * | mLight2 |
| Ogre::Camera * | mCamera |
| Ogre::Radian | mCameraRotX |
| Ogre::Radian | mCameraRotY |
| float | mCameraMove |
| Ogre::Vector3 | mCameraTrans |
| OgreBulletDynamics::DynamicsWorld * | mWorld |
| OgreBulletApplication * | mApplication |
| std::deque< Ogre::Entity * > | mEntities |
|
std::deque < OgreBulletDynamics::RigidBody * > | mBodies |
|
std::deque < OgreBulletCollisions::CollisionShape * > | mShapes |
| bool | mStatsOn |
| bool | mQuit |
| bool | mDoOnestep |
| float | mShootSpeed |
| float | mImpulseForce |
| bool | mPaused |
| bool | mWireFrame |
| bool | mDrawAabb |
| bool | mDrawFeaturesText |
| bool | mDrawContactPoints |
| bool | mNoDeactivation |
| bool | mNoHelpText |
| bool | mDrawText |
| bool | mProfileTimings |
| bool | mEnableSatComparison |
| bool | mDisableBulletLCP |
| bool | mEnableCCD |
| BetaGUI::StaticText * | mFpsStaticText |
| OgreBulletDynamics::RigidBody * | mPickedBody |
| OgreBulletDynamics::TypedConstraint * | mPickConstraint |
| Ogre::Vector3 | mOldPickingPos |
| Ogre::Vector3 | mOldPickingDist |
| OgreBulletCollisions::CollisionClosestRayResultCallback * | mCollisionClosestRayResultCallback |
| OgreBulletCollisions::DebugLines * | mDebugRayLine |
| Ogre::RaySceneQuery * | mRayQuery |
| BULLET_KEY_CODE | mActivationKeyCode |
| bool | mActivationBool |
| OgreBulletInputListener * | mInputListener |
| OgreBulletGuiListener * | mGuiListener |
| Ogre::String | mDebugText |
| Ogre::String | mName |
| std::vector< Ogre::String > | mHelpKeys |
Static Protected Attributes | |
| static size_t | mNumEntitiesInstanced = 0 |
1.7.1