|
Bullet Collision Detection & Physics Library
|
#include <btGhostObject.h>


Public Member Functions | |
| btPairCachingGhostObject () | |
| virtual | ~btPairCachingGhostObject () |
| virtual void | addOverlappingObjectInternal (btBroadphaseProxy *otherProxy, btBroadphaseProxy *thisProxy=0) |
| this method is mainly for expert/internal use only. More... | |
| virtual void | removeOverlappingObjectInternal (btBroadphaseProxy *otherProxy, btDispatcher *dispatcher, btBroadphaseProxy *thisProxy=0) |
| this method is mainly for expert/internal use only. More... | |
| btHashedOverlappingPairCache * | getOverlappingPairCache () |
Public Member Functions inherited from btGhostObject | |
| btGhostObject () | |
| virtual | ~btGhostObject () |
| void | convexSweepTest (const class btConvexShape *castShape, const btTransform &convexFromWorld, const btTransform &convexToWorld, btCollisionWorld::ConvexResultCallback &resultCallback, btScalar allowedCcdPenetration=0.f) const |
| void | rayTest (const btVector3 &rayFromWorld, const btVector3 &rayToWorld, btCollisionWorld::RayResultCallback &resultCallback) const |
| int | getNumOverlappingObjects () const |
| btCollisionObject * | getOverlappingObject (int index) |
| const btCollisionObject * | getOverlappingObject (int index) const |
| btAlignedObjectArray < btCollisionObject * > & | getOverlappingPairs () |
| const btAlignedObjectArray < btCollisionObject * > | getOverlappingPairs () const |
Public Member Functions inherited from btCollisionObject | |
| BT_DECLARE_ALIGNED_ALLOCATOR () | |
| bool | mergesSimulationIslands () const |
| const btVector3 & | getAnisotropicFriction () const |
| void | setAnisotropicFriction (const btVector3 &anisotropicFriction, int frictionMode=CF_ANISOTROPIC_FRICTION) |
| bool | hasAnisotropicFriction (int frictionMode=CF_ANISOTROPIC_FRICTION) const |
| void | setContactProcessingThreshold (btScalar contactProcessingThreshold) |
| the constraint solver can discard solving contacts, if the distance is above this threshold. More... | |
| btScalar | getContactProcessingThreshold () const |
| bool | isStaticObject () const |
| bool | isKinematicObject () const |
| bool | isStaticOrKinematicObject () const |
| bool | hasContactResponse () const |
| btCollisionObject () | |
| virtual | ~btCollisionObject () |
| virtual void | setCollisionShape (btCollisionShape *collisionShape) |
| const btCollisionShape * | getCollisionShape () const |
| btCollisionShape * | getCollisionShape () |
| void * | internalGetExtensionPointer () const |
| Avoid using this internal API call, the extension pointer is used by some Bullet extensions. More... | |
| void | internalSetExtensionPointer (void *pointer) |
| Avoid using this internal API call, the extension pointer is used by some Bullet extensions If you need to store your own user pointer, use 'setUserPointer/getUserPointer' instead. More... | |
| int | getActivationState () const |
| void | setActivationState (int newState) const |
| void | setDeactivationTime (btScalar time) |
| btScalar | getDeactivationTime () const |
| void | forceActivationState (int newState) const |
| void | activate (bool forceActivation=false) const |
| bool | isActive () const |
| void | setRestitution (btScalar rest) |
| btScalar | getRestitution () const |
| void | setFriction (btScalar frict) |
| btScalar | getFriction () const |
| void | setRollingFriction (btScalar frict) |
| btScalar | getRollingFriction () const |
| int | getInternalType () const |
| reserved for Bullet internal usage More... | |
| btTransform & | getWorldTransform () |
| const btTransform & | getWorldTransform () const |
| void | setWorldTransform (const btTransform &worldTrans) |
| btBroadphaseProxy * | getBroadphaseHandle () |
| const btBroadphaseProxy * | getBroadphaseHandle () const |
| void | setBroadphaseHandle (btBroadphaseProxy *handle) |
| const btTransform & | getInterpolationWorldTransform () const |
| btTransform & | getInterpolationWorldTransform () |
| void | setInterpolationWorldTransform (const btTransform &trans) |
| void | setInterpolationLinearVelocity (const btVector3 &linvel) |
| void | setInterpolationAngularVelocity (const btVector3 &angvel) |
| const btVector3 & | getInterpolationLinearVelocity () const |
| const btVector3 & | getInterpolationAngularVelocity () const |
| int | getIslandTag () const |
| void | setIslandTag (int tag) |
| int | getCompanionId () const |
| void | setCompanionId (int id) |
| btScalar | getHitFraction () const |
| void | setHitFraction (btScalar hitFraction) |
| int | getCollisionFlags () const |
| void | setCollisionFlags (int flags) |
| btScalar | getCcdSweptSphereRadius () const |
| Swept sphere radius (0.0 by default), see btConvexConvexAlgorithm:: More... | |
| void | setCcdSweptSphereRadius (btScalar radius) |
| Swept sphere radius (0.0 by default), see btConvexConvexAlgorithm:: More... | |
| btScalar | getCcdMotionThreshold () const |
| btScalar | getCcdSquareMotionThreshold () const |
| void | setCcdMotionThreshold (btScalar ccdMotionThreshold) |
| Don't do continuous collision detection if the motion (in one step) is less then m_ccdMotionThreshold. More... | |
| void * | getUserPointer () const |
| users can point to their objects, userPointer is not used by Bullet More... | |
| void | setUserPointer (void *userPointer) |
| users can point to their objects, userPointer is not used by Bullet More... | |
| bool | checkCollideWith (const btCollisionObject *co) const |
| virtual int | calculateSerializeBufferSize () const |
| virtual const char * | serialize (void *dataBuffer, class btSerializer *serializer) const |
| fills the dataBuffer and returns the struct name (and 0 on failure) More... | |
| virtual void | serializeSingleObject (class btSerializer *serializer) const |
Private Attributes | |
| btHashedOverlappingPairCache * | m_hashPairCache |
Definition at line 99 of file btGhostObject.h.
| btPairCachingGhostObject::btPairCachingGhostObject | ( | ) |
Definition at line 59 of file btGhostObject.cpp.
|
virtual |
Definition at line 64 of file btGhostObject.cpp.
|
virtual |
this method is mainly for expert/internal use only.
Reimplemented from btGhostObject.
Definition at line 70 of file btGhostObject.cpp.
|
inline |
Definition at line 114 of file btGhostObject.h.
|
virtual |
this method is mainly for expert/internal use only.
Reimplemented from btGhostObject.
Definition at line 85 of file btGhostObject.cpp.
|
private |
Definition at line 101 of file btGhostObject.h.
1.8.4