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

btPlaneShape Class Reference

Inheritance diagram for btPlaneShape:

btStaticPlaneShape btConcaveShape btCollisionShape

List of all members.


Detailed Description

Class for accessing the plane equation.

Definition at line 36 of file btGImpactCollisionAlgorithm.cpp.


Public Member Functions

 btPlaneShape (const btVector3 &v, float f)
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia) const
void calculateTemporalAabb (const btTransform &curTrans, const btVector3 &linvel, const btVector3 &angvel, btScalar timeStep, btVector3 &temporalAabbMin, btVector3 &temporalAabbMax) const
void get_plane_equation (btVector4 &equation)
void get_plane_equation_transformed (const btTransform &trans, btVector4 &equation)
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 btScalar getContactBreakingThreshold () const
virtual const btVector3 & getLocalScaling () const
virtual btScalar getMargin () const
virtual const char * getName () const
const btScalar & getPlaneConstant () const
const btVector3 & getPlaneNormal () const
int getShapeType () const
void * getUserPointer () const
SIMD_FORCE_INLINE bool isCompound () const
SIMD_FORCE_INLINE bool isConcave () const
SIMD_FORCE_INLINE bool isConvex () const
SIMD_FORCE_INLINE bool isInfinite () const
 isInfinite is used to catch simulation error (aabb check)
SIMD_FORCE_INLINE 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)
void setUserPointer (void *userPtr)
 optional user data pointer

Protected Attributes

btScalar m_collisionMargin
btVector3 m_localAabbMax
btVector3 m_localAabbMin
btVector3 m_localScaling
btScalar m_planeConstant
btVector3 m_planeNormal
int m_shapeType
void * m_userPointer

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

Generated by  Doxygen 1.6.0   Back to index