The btStaticPlaneShape simulates an infinite non-moving (static) collision plane. More...
#include <btStaticPlaneShape.h>


Public Member Functions | |
| btStaticPlaneShape (const btVector3 &planeNormal, btScalar planeConstant) | |
| virtual | ~btStaticPlaneShape () |
| 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 void | processAllTriangles (btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const |
| virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const |
| virtual void | setLocalScaling (const btVector3 &scaling) |
| virtual const btVector3 & | getLocalScaling () const |
| const btVector3 & | getPlaneNormal () const |
| const btScalar & | getPlaneConstant () const |
| virtual const char * | getName () const |
| virtual int | calculateSerializeBufferSize () const |
| virtual const char * | serialize (void *dataBuffer, btSerializer *serializer) const |
| fills the dataBuffer and returns the struct name (and 0 on failure) | |
Protected Attributes | |
| btVector3 | m_localAabbMin |
| btVector3 | m_localAabbMax |
| btVector3 | m_planeNormal |
| btScalar | m_planeConstant |
| btVector3 | m_localScaling |
The btStaticPlaneShape simulates an infinite non-moving (static) collision plane.
Definition at line 23 of file btStaticPlaneShape.h.
Definition at line 21 of file btStaticPlaneShape.cpp.
| btStaticPlaneShape::~btStaticPlaneShape | ( | ) | [virtual] |
Definition at line 31 of file btStaticPlaneShape.cpp.
| void btStaticPlaneShape::calculateLocalInertia | ( | btScalar | mass, | |
| btVector3 & | inertia | |||
| ) | const [virtual] |
Implements btCollisionShape.
Definition at line 91 of file btStaticPlaneShape.cpp.
| SIMD_FORCE_INLINE int btStaticPlaneShape::calculateSerializeBufferSize | ( | ) | const [virtual] |
Reimplemented from btCollisionShape.
Definition at line 81 of file btStaticPlaneShape.h.
| void btStaticPlaneShape::getAabb | ( | const btTransform & | t, | |
| btVector3 & | aabbMin, | |||
| btVector3 & | aabbMax | |||
| ) | const [virtual] |
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
Implements btCollisionShape.
Definition at line 37 of file btStaticPlaneShape.cpp.
| const btVector3 & btStaticPlaneShape::getLocalScaling | ( | ) | const [virtual] |
Implements btCollisionShape.
Definition at line 104 of file btStaticPlaneShape.cpp.
| virtual const char* btStaticPlaneShape::getName | ( | ) | const [inline, virtual] |
Implements btCollisionShape.
Definition at line 59 of file btStaticPlaneShape.h.
| const btScalar& btStaticPlaneShape::getPlaneConstant | ( | ) | const [inline] |
Definition at line 53 of file btStaticPlaneShape.h.
| const btVector3& btStaticPlaneShape::getPlaneNormal | ( | ) | const [inline] |
Definition at line 48 of file btStaticPlaneShape.h.
| void btStaticPlaneShape::processAllTriangles | ( | btTriangleCallback * | callback, | |
| const btVector3 & | aabbMin, | |||
| const btVector3 & | aabbMax | |||
| ) | const [virtual] |
Implements btConcaveShape.
Definition at line 58 of file btStaticPlaneShape.cpp.
| SIMD_FORCE_INLINE const char * btStaticPlaneShape::serialize | ( | void * | dataBuffer, | |
| btSerializer * | serializer | |||
| ) | const [virtual] |
fills the dataBuffer and returns the struct name (and 0 on failure)
Reimplemented from btCollisionShape.
Definition at line 87 of file btStaticPlaneShape.h.
| void btStaticPlaneShape::setLocalScaling | ( | const btVector3 & | scaling | ) | [virtual] |
Implements btCollisionShape.
Definition at line 100 of file btStaticPlaneShape.cpp.
btVector3 btStaticPlaneShape::m_localAabbMax [protected] |
Definition at line 27 of file btStaticPlaneShape.h.
btVector3 btStaticPlaneShape::m_localAabbMin [protected] |
Definition at line 26 of file btStaticPlaneShape.h.
btVector3 btStaticPlaneShape::m_localScaling [protected] |
Definition at line 31 of file btStaticPlaneShape.h.
btScalar btStaticPlaneShape::m_planeConstant [protected] |
Definition at line 30 of file btStaticPlaneShape.h.
btVector3 btStaticPlaneShape::m_planeNormal [protected] |
Definition at line 29 of file btStaticPlaneShape.h.
1.6.1