Public Member Functions | Private Member Functions | Private Attributes
btContinuousConvexCollision Class Reference

#include <btContinuousConvexCollision.h>

Inheritance diagram for btContinuousConvexCollision:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 btContinuousConvexCollision (const btConvexShape *shapeA, const btConvexShape *shapeB, btSimplexSolverInterface *simplexSolver, btConvexPenetrationDepthSolver *penetrationDepthSolver)
 btContinuousConvexCollision (const btConvexShape *shapeA, const btStaticPlaneShape *plane)
virtual bool calcTimeOfImpact (const btTransform &fromA, const btTransform &toA, const btTransform &fromB, const btTransform &toB, CastResult &result)
 cast a convex against another convex object

Private Member Functions

void computeClosestPoints (const btTransform &transA, const btTransform &transB, struct btPointCollector &pointCollector)

Private Attributes

const btConvexShape * m_convexA
const btConvexShape * m_convexB1
btConvexPenetrationDepthSolverm_penetrationDepthSolver
const btStaticPlaneShape * m_planeShape
btSimplexSolverInterfacem_simplexSolver

Detailed Description

btContinuousConvexCollision implements angular and linear time of impact for convex objects. Based on Brian Mirtich's Conservative Advancement idea (PhD thesis). Algorithm operates in worldspace, in order to keep inbetween motion globally consistent. It uses GJK at the moment. Future improvement would use minkowski sum / supporting vertex, merging innerloops

Definition at line 30 of file btContinuousConvexCollision.h.


Constructor & Destructor Documentation

btContinuousConvexCollision::btContinuousConvexCollision ( const btConvexShape *  shapeA,
const btConvexShape *  shapeB,
btSimplexSolverInterface simplexSolver,
btConvexPenetrationDepthSolver penetrationDepthSolver 
)
btContinuousConvexCollision::btContinuousConvexCollision ( const btConvexShape *  shapeA,
const btStaticPlaneShape *  plane 
)

Member Function Documentation

virtual bool btContinuousConvexCollision::calcTimeOfImpact ( const btTransform fromA,
const btTransform toA,
const btTransform fromB,
const btTransform toB,
CastResult result 
) [virtual]

cast a convex against another convex object

Implements btConvexCast.

void btContinuousConvexCollision::computeClosestPoints ( const btTransform transA,
const btTransform transB,
struct btPointCollector pointCollector 
) [private]

Member Data Documentation

const btConvexShape* btContinuousConvexCollision::m_convexA [private]

Definition at line 34 of file btContinuousConvexCollision.h.

const btConvexShape* btContinuousConvexCollision::m_convexB1 [private]

Definition at line 36 of file btContinuousConvexCollision.h.

Definition at line 33 of file btContinuousConvexCollision.h.

const btStaticPlaneShape* btContinuousConvexCollision::m_planeShape [private]

Definition at line 37 of file btContinuousConvexCollision.h.

Definition at line 32 of file btContinuousConvexCollision.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:32