Blender  V3.3
Functions | Variables
btMinkowskiSumShape.h File Reference
#include "btConvexInternalShape.h"
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"

Go to the source code of this file.

Functions

 BT_DECLARE_ALIGNED_ALLOCATOR ()
 
 btMinkowskiSumShape (const btConvexShape *shapeA, const btConvexShape *shapeB)
 
virtual btVector3 localGetSupportingVertexWithoutMargin (const btVector3 &vec) const
 btConvexShape Interface More...
 
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
 
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia) const
 CollisionShape Interface. More...
 
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
 

Variables

btMinkowskiSumShape __pad0__
 The btMinkowskiSumShape is only for advanced users. This shape represents implicit based minkowski sum of two convex implicit shapes. More...
 
btTransform m_transB
 
const btConvexShapem_shapeA
 
const btConvexShapem_shapeB
 

Function Documentation

◆ batchedUnitVectorGetSupportingVertexWithoutMargin()

virtual void batchedUnitVectorGetSupportingVertexWithoutMargin ( const btVector3 vectors,
btVector3 supportVerticesOut,
int  numVectors 
) const
virtual

Definition at line 71 of file btBox2dShape.h.

◆ BT_DECLARE_ALIGNED_ALLOCATOR()

BT_DECLARE_ALIGNED_ALLOCATOR ( )

◆ btMinkowskiSumShape()

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

Definition at line 18 of file btMinkowskiSumShape.cpp.

References m_transB, and MINKOWSKI_DIFFERENCE_SHAPE_PROXYTYPE.

◆ calculateLocalInertia()

virtual void calculateLocalInertia ( btScalar  mass,
btVector3 inertia 
) const
virtual

CollisionShape Interface.

Definition at line 54 of file btConeShape.h.

◆ getMargin()

virtual btScalar getMargin ( ) const
virtual

Definition at line 137 of file btCompoundShape.h.

◆ getName()

virtual const char* getName ( ) const
virtual

Definition at line 53 of file btMinkowskiSumShape.h.

◆ getShapeA()

const btConvexShape* getShapeA ( ) const

Definition at line 50 of file btMinkowskiSumShape.h.

References m_shapeA.

◆ getShapeB()

const btConvexShape* getShapeB ( ) const

Definition at line 51 of file btMinkowskiSumShape.h.

References m_shapeB.

◆ getTransformA()

const btTransform& getTransformA ( ) const

Definition at line 45 of file btMinkowskiSumShape.h.

◆ GetTransformB()

const btTransform& GetTransformB ( ) const

Definition at line 46 of file btMinkowskiSumShape.h.

References m_transB.

◆ localGetSupportingVertexWithoutMargin()

virtual btVector3 localGetSupportingVertexWithoutMargin ( const btVector3 vec) const
virtual

btConvexShape Interface

Definition at line 62 of file btBox2dShape.h.

◆ setTransformA()

void setTransformA ( const btTransform transA)

Definition at line 42 of file btMinkowskiSumShape.h.

◆ setTransformB()

void setTransformB ( const btTransform transB)

Definition at line 43 of file btMinkowskiSumShape.h.

References m_transB.

Variable Documentation

◆ __pad0__

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

Definition at line 24 of file btMinkowskiSumShape.h.

◆ m_shapeA

const btConvexShape* m_shapeA

Definition at line 28 of file btMinkowskiSumShape.h.

Referenced by getShapeA().

◆ m_shapeB

const btConvexShape* m_shapeB

Definition at line 29 of file btMinkowskiSumShape.h.

Referenced by getShapeB().

◆ m_transB

btTransform m_transB

Definition at line 27 of file btMinkowskiSumShape.h.

Referenced by btMinkowskiSumShape(), GetTransformB(), and setTransformB().