Bullet Collision Detection & Physics Library
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
btMultiBodyLinkCollider Class Reference

#include <btMultiBodyLinkCollider.h>

Inheritance diagram for btMultiBodyLinkCollider:
Inheritance graph
Collaboration diagram for btMultiBodyLinkCollider:
Collaboration graph

Public Member Functions

 btMultiBodyLinkCollider (btMultiBody *multiBody, int link)
virtual bool checkCollideWithOverride (const btCollisionObject *co) const
- Public Member Functions inherited from btCollisionObject
bool mergesSimulationIslands () const
const btVector3getAnisotropicFriction () 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 btCollisionShapegetCollisionShape () const
btCollisionShapegetCollisionShape ()
void setIgnoreCollisionCheck (const btCollisionObject *co, bool ignoreCollisionCheck)
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...
btTransformgetWorldTransform ()
const btTransformgetWorldTransform () const
void setWorldTransform (const btTransform &worldTrans)
btBroadphaseProxygetBroadphaseHandle ()
const btBroadphaseProxygetBroadphaseHandle () const
void setBroadphaseHandle (btBroadphaseProxy *handle)
const btTransformgetInterpolationWorldTransform () const
btTransformgetInterpolationWorldTransform ()
void setInterpolationWorldTransform (const btTransform &trans)
void setInterpolationLinearVelocity (const btVector3 &linvel)
void setInterpolationAngularVelocity (const btVector3 &angvel)
const btVector3getInterpolationLinearVelocity () const
const btVector3getInterpolationAngularVelocity () 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...
int getUserIndex () const
void setUserPointer (void *userPointer)
 users can point to their objects, userPointer is not used by Bullet More...
void setUserIndex (int index)
 users can point to their objects, userPointer is not used by Bullet More...
int getUpdateRevisionInternal () const
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

Static Public Member Functions

static btMultiBodyLinkColliderupcast (btCollisionObject *colObj)
static const btMultiBodyLinkColliderupcast (const btCollisionObject *colObj)

Public Attributes

int m_link

Additional Inherited Members

- Public Types inherited from btCollisionObject
enum  CollisionFlags {
enum  CollisionObjectTypes {
  CO_HF_FLUID =16,
enum  AnisotropicFrictionFlags {
- Protected Attributes inherited from btCollisionObject
btTransform m_worldTransform
btTransform m_interpolationWorldTransform
 m_interpolationWorldTransform is used for CCD and interpolation it can be either previous or future (predicted) transform More...
btVector3 m_interpolationLinearVelocity
btVector3 m_interpolationAngularVelocity
btVector3 m_anisotropicFriction
int m_hasAnisotropicFriction
btScalar m_contactProcessingThreshold
void * m_extensionPointer
 m_extensionPointer is used by some internal low-level Bullet extensions. More...
 m_rootCollisionShape is temporarily used to store the original collision shape The m_collisionShape might be temporarily replaced by a child collision shape during collision detection purposes If it is NULL, the m_collisionShape is not temporarily replaced. More...
int m_collisionFlags
int m_islandTag1
int m_companionId
int m_activationState1
btScalar m_deactivationTime
btScalar m_friction
btScalar m_restitution
btScalar m_rollingFriction
int m_internalType
 m_internalType is reserved to distinguish Bullet's btCollisionObject, btRigidBody, btSoftBody, btGhostObject etc. More...
void * m_userObjectPointer
 users can point to their objects, m_userPointer is not used by Bullet, see setUserPointer/getUserPointer More...
int m_userIndex
btScalar m_hitFraction
 time of impact calculation More...
btScalar m_ccdSweptSphereRadius
 Swept sphere radius (0.0 by default), see btConvexConvexAlgorithm:: More...
btScalar m_ccdMotionThreshold
 Don't do continuous collision detection if the motion (in one step) is less then m_ccdMotionThreshold. More...
int m_checkCollideWith
 If some object should have elaborate collision filtering by sub-classes. More...
btAlignedObjectArray< const btCollisionObject * > m_objectsWithoutCollisionCheck
int m_updateRevision
 internal update revision number. It will be increased when the object changes. This allows some subsystems to perform lazy evaluation. More...

Detailed Description

Definition at line 23 of file btMultiBodyLinkCollider.h.

Constructor & Destructor Documentation

btMultiBodyLinkCollider::btMultiBodyLinkCollider ( btMultiBody multiBody,
int  link 

Definition at line 32 of file btMultiBodyLinkCollider.h.

Member Function Documentation

virtual bool btMultiBodyLinkCollider::checkCollideWithOverride ( const btCollisionObject co) const

Reimplemented from btCollisionObject.

Definition at line 63 of file btMultiBodyLinkCollider.h.

static btMultiBodyLinkCollider* btMultiBodyLinkCollider::upcast ( btCollisionObject colObj)

Definition at line 50 of file btMultiBodyLinkCollider.h.

static const btMultiBodyLinkCollider* btMultiBodyLinkCollider::upcast ( const btCollisionObject colObj)

Definition at line 56 of file btMultiBodyLinkCollider.h.

Member Data Documentation

int btMultiBodyLinkCollider::m_link

Definition at line 29 of file btMultiBodyLinkCollider.h.

btMultiBody* btMultiBodyLinkCollider::m_multiBody

Definition at line 28 of file btMultiBodyLinkCollider.h.

The documentation for this class was generated from the following file: