Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btCollisionWorld::ClosestConvexResultCallback Struct Reference

#include <btCollisionWorld.h>

Inheritance diagram for btCollisionWorld::ClosestConvexResultCallback:
Inheritance graph
[legend]
Collaboration diagram for btCollisionWorld::ClosestConvexResultCallback:
Collaboration graph
[legend]

Public Member Functions

 ClosestConvexResultCallback (const btVector3 &convexFromWorld, const btVector3 &convexToWorld)
 
virtual btScalar addSingleResult (LocalConvexResult &convexResult, bool normalInWorldSpace)
 
- Public Member Functions inherited from btCollisionWorld::ConvexResultCallback
 ConvexResultCallback ()
 
virtual ~ConvexResultCallback ()
 
bool hasHit () const
 
virtual bool needsCollision (btBroadphaseProxy *proxy0) const
 

Public Attributes

btVector3 m_convexFromWorld
 
btVector3 m_convexToWorld
 
btVector3 m_hitNormalWorld
 
btVector3 m_hitPointWorld
 
const btCollisionObjectm_hitCollisionObject
 
- Public Attributes inherited from btCollisionWorld::ConvexResultCallback
btScalar m_closestHitFraction
 
short int m_collisionFilterGroup
 
short int m_collisionFilterMask
 

Detailed Description

Definition at line 374 of file btCollisionWorld.h.

Constructor & Destructor Documentation

btCollisionWorld::ClosestConvexResultCallback::ClosestConvexResultCallback ( const btVector3 convexFromWorld,
const btVector3 convexToWorld 
)
inline

Definition at line 376 of file btCollisionWorld.h.

Member Function Documentation

virtual btScalar btCollisionWorld::ClosestConvexResultCallback::addSingleResult ( LocalConvexResult convexResult,
bool  normalInWorldSpace 
)
inlinevirtual

need to transform normal into worldspace

Implements btCollisionWorld::ConvexResultCallback.

Reimplemented in btClosestNotMeConvexResultCallback, and btKinematicClosestNotMeConvexResultCallback.

Definition at line 390 of file btCollisionWorld.h.

Member Data Documentation

btVector3 btCollisionWorld::ClosestConvexResultCallback::m_convexFromWorld

Definition at line 383 of file btCollisionWorld.h.

btVector3 btCollisionWorld::ClosestConvexResultCallback::m_convexToWorld

Definition at line 384 of file btCollisionWorld.h.

const btCollisionObject* btCollisionWorld::ClosestConvexResultCallback::m_hitCollisionObject

Definition at line 388 of file btCollisionWorld.h.

btVector3 btCollisionWorld::ClosestConvexResultCallback::m_hitNormalWorld

Definition at line 386 of file btCollisionWorld.h.

btVector3 btCollisionWorld::ClosestConvexResultCallback::m_hitPointWorld

Definition at line 387 of file btCollisionWorld.h.


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