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

btStaticPlaneShape Class Reference

#include <btStaticPlaneShape.h>

Inheritance diagram for btStaticPlaneShape:

btConcaveShape btCollisionShape

List of all members.


Detailed Description

StaticPlaneShape simulates an 'infinite' plane by dynamically reporting triangles approximated by intersection of the plane with the AABB. Assumed is that the other objects is not also infinite, so a reasonable sized AABB.

Definition at line 24 of file btStaticPlaneShape.h.


Public Member Functions

 btStaticPlaneShape (const btVector3 &planeNormal, btScalar planeConstant)
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia)
void calculateTemporalAabb (const btTransform &curTrans, const btVector3 &linvel, const btVector3 &angvel, btScalar timeStep, btVector3 &temporalAabbMin, btVector3 &temporalAabbMax)
virtual void getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
 getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
virtual btScalar getAngularMotionDisc () const
 getAngularMotionDisc returns the maximus radius needed for Conservative Advancement to handle time-of-impact with rotations.
virtual void getBoundingSphere (btVector3 &center, btScalar &radius) const
virtual const btVector3getLocalScaling () const
virtual btScalar getMargin () const
virtual char * getName () const
virtual int getShapeType () const
bool isCompound () const
bool isConcave () const
bool isConvex () const
bool isInfinite () const
 isInfinite is used to catch simulation error (aabb check)
bool isPolyhedral () const
virtual void processAllTriangles (btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const
virtual void setLocalScaling (const btVector3 &scaling)
virtual void setMargin (btScalar collisionMargin)

Protected Attributes

btScalar m_collisionMargin
btVector3 m_localAabbMax
btVector3 m_localAabbMin
btVector3 m_localScaling
btScalar m_planeConstant
btVector3 m_planeNormal

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

Generated by  Doxygen 1.6.0   Back to index