Public Member Functions | Private Attributes

btMinkowskiSumShape Class Reference

The btMinkowskiSumShape is only for advanced users. This shape represents implicit based minkowski sum of two convex implicit shapes. More...

#include <btMinkowskiSumShape.h>

Inheritance diagram for btMinkowskiSumShape:
Inheritance graph
[legend]
Collaboration diagram for btMinkowskiSumShape:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BT_DECLARE_ALIGNED_ALLOCATOR ()
 btMinkowskiSumShape (const btConvexShape *shapeA, const btConvexShape *shapeB)
virtual btVector3 localGetSupportingVertexWithoutMargin (const btVector3 &vec) const
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia) const
void setTransformA (const btTransform &transA)
void setTransformB (const btTransform &transB)
const btTransformgetTransformA () const
const btTransformGetTransformB () const
virtual btScalar getMargin () const
const btConvexShapegetShapeA () const
const btConvexShapegetShapeB () const
virtual const char * getName () const

Private Attributes

btTransform m_transA
btTransform m_transB
const btConvexShapem_shapeA
const btConvexShapem_shapeB

Detailed Description

The btMinkowskiSumShape is only for advanced users. This shape represents implicit based minkowski sum of two convex implicit shapes.

Definition at line 23 of file btMinkowskiSumShape.h.


Constructor & Destructor Documentation

btMinkowskiSumShape::btMinkowskiSumShape ( const btConvexShape shapeA,
const btConvexShape shapeB 
)

Definition at line 20 of file btMinkowskiSumShape.cpp.


Member Function Documentation

void btMinkowskiSumShape::batchedUnitVectorGetSupportingVertexWithoutMargin ( const btVector3 vectors,
btVector3 supportVerticesOut,
int  numVectors 
) const [virtual]

Implements btConvexShape.

Definition at line 37 of file btMinkowskiSumShape.cpp.

btMinkowskiSumShape::BT_DECLARE_ALIGNED_ALLOCATOR (  ) 

Reimplemented from btConvexInternalShape.

void btMinkowskiSumShape::calculateLocalInertia ( btScalar  mass,
btVector3 inertia 
) const [virtual]

Implements btCollisionShape.

Definition at line 55 of file btMinkowskiSumShape.cpp.

btScalar btMinkowskiSumShape::getMargin (  )  const [virtual]

Reimplemented from btConvexInternalShape.

Definition at line 49 of file btMinkowskiSumShape.cpp.

virtual const char* btMinkowskiSumShape::getName (  )  const [inline, virtual]

Implements btCollisionShape.

Definition at line 56 of file btMinkowskiSumShape.h.

const btConvexShape* btMinkowskiSumShape::getShapeA (  )  const [inline]

Definition at line 53 of file btMinkowskiSumShape.h.

const btConvexShape* btMinkowskiSumShape::getShapeB (  )  const [inline]

Definition at line 54 of file btMinkowskiSumShape.h.

const btTransform& btMinkowskiSumShape::getTransformA (  )  const [inline]

Definition at line 47 of file btMinkowskiSumShape.h.

const btTransform& btMinkowskiSumShape::GetTransformB (  )  const [inline]

Definition at line 48 of file btMinkowskiSumShape.h.

btVector3 btMinkowskiSumShape::localGetSupportingVertexWithoutMargin ( const btVector3 vec  )  const [virtual]

Implements btConvexShape.

Definition at line 30 of file btMinkowskiSumShape.cpp.

void btMinkowskiSumShape::setTransformA ( const btTransform transA  )  [inline]

Definition at line 44 of file btMinkowskiSumShape.h.

void btMinkowskiSumShape::setTransformB ( const btTransform transB  )  [inline]

Definition at line 45 of file btMinkowskiSumShape.h.


Member Data Documentation

Definition at line 28 of file btMinkowskiSumShape.h.

Definition at line 29 of file btMinkowskiSumShape.h.

Definition at line 26 of file btMinkowskiSumShape.h.

Definition at line 27 of file btMinkowskiSumShape.h.


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