Logo Search packages:      
Sourcecode: blender version File versions  Download package

btUniformScalingShape Class Reference

#include <btUniformScalingShape.h>

List of all members.


Detailed Description

The btUniformScalingShape allows to re-use uniform scaled instances of btConvexShape in a memory efficient way. Istead of using btUniformScalingShape, it is better to use the non-uniform setLocalScaling method on convex shapes that implement it.

Definition at line 24 of file btUniformScalingShape.h.


Public Member Functions

virtual void batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
 btUniformScalingShape (btConvexShape *convexChildShape, btScalar uniformScalingFactor)
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia) const
void getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
 getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
virtual void getAabbSlow (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
const btConvexShape * getChildShape () const
btConvexShape * getChildShape ()
virtual const btVector3 & getLocalScaling () const
virtual btScalar getMargin () const
virtual const char * getName () const
virtual int getNumPreferredPenetrationDirections () const
virtual void getPreferredPenetrationDirection (int index, btVector3 &penetrationVector) const
btScalar getUniformScalingFactor () const
virtual btVector3 localGetSupportingVertex (const btVector3 &vec) const
virtual btVector3 localGetSupportingVertexWithoutMargin (const btVector3 &vec) const
virtual void setLocalScaling (const btVector3 &scaling)
virtual void setMargin (btScalar margin)

Private Attributes

btConvexShape * m_childConvexShape
btScalar m_uniformScalingFactor

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

Generated by  Doxygen 1.6.0   Back to index