The btStaticPlaneShape simulates an infinite non-moving (static) collision plane.
More...
#include <btStaticPlaneShape.h>
|
| | BT_DECLARE_ALIGNED_ALLOCATOR () |
| |
| | 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. More...
|
| |
| 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) More...
|
| |
| | BT_DECLARE_ALIGNED_ALLOCATOR () |
| |
| | btConcaveShape () |
| |
| virtual | ~btConcaveShape () |
| |
| virtual btScalar | getMargin () const |
| |
| virtual void | setMargin (btScalar collisionMargin) |
| |
| | BT_DECLARE_ALIGNED_ALLOCATOR () |
| |
| | btCollisionShape () |
| |
| virtual | ~btCollisionShape () |
| |
| virtual void | getBoundingSphere (btVector3 ¢er, btScalar &radius) const |
| |
| virtual btScalar | getAngularMotionDisc () const |
| | getAngularMotionDisc returns the maximum radius needed for Conservative Advancement to handle time-of-impact with rotations. More...
|
| |
| virtual btScalar | getContactBreakingThreshold (btScalar defaultContactThresholdFactor) const |
| |
| void | calculateTemporalAabb (const btTransform &curTrans, const btVector3 &linvel, const btVector3 &angvel, btScalar timeStep, btVector3 &temporalAabbMin, btVector3 &temporalAabbMax) const |
| | calculateTemporalAabb calculates the enclosing aabb for the moving object over interval [0..timeStep) result is conservative More...
|
| |
| bool | isPolyhedral () const |
| |
| bool | isConvex2d () const |
| |
| bool | isConvex () const |
| |
| bool | isNonMoving () const |
| |
| bool | isConcave () const |
| |
| bool | isCompound () const |
| |
| bool | isSoftBody () const |
| |
| bool | isInfinite () const |
| | isInfinite is used to catch simulation error (aabb check) More...
|
| |
| int | getShapeType () const |
| |
| virtual btVector3 | getAnisotropicRollingFrictionDirection () const |
| | the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See Bullet/Demos/RollingFrictionDemo for an example More...
|
| |
| void | setUserPointer (void *userPtr) |
| | optional user data pointer More...
|
| |
| void * | getUserPointer () const |
| |
| void | setUserIndex (int index) |
| |
| int | getUserIndex () const |
| |
| virtual void | serializeSingleShape (btSerializer *serializer) const |
| |
The btStaticPlaneShape simulates an infinite non-moving (static) collision plane.
Definition at line 23 of file btStaticPlaneShape.h.
◆ btStaticPlaneShape()
| btStaticPlaneShape::btStaticPlaneShape |
( |
const btVector3 & |
planeNormal, |
|
|
btScalar |
planeConstant |
|
) |
| |
◆ ~btStaticPlaneShape()
| btStaticPlaneShape::~btStaticPlaneShape |
( |
| ) |
|
|
virtual |
◆ BT_DECLARE_ALIGNED_ALLOCATOR()
| btStaticPlaneShape::BT_DECLARE_ALIGNED_ALLOCATOR |
( |
| ) |
|
◆ calculateLocalInertia()
| void btStaticPlaneShape::calculateLocalInertia |
( |
btScalar |
mass, |
|
|
btVector3 & |
inertia |
|
) |
| const |
|
virtual |
◆ calculateSerializeBufferSize()
| int btStaticPlaneShape::calculateSerializeBufferSize |
( |
| ) |
const |
|
inlinevirtual |
◆ getAabb()
◆ getLocalScaling()
| const btVector3 & btStaticPlaneShape::getLocalScaling |
( |
| ) |
const |
|
virtual |
◆ getName()
| virtual const char* btStaticPlaneShape::getName |
( |
| ) |
const |
|
inlinevirtual |
◆ getPlaneConstant()
| const btScalar& btStaticPlaneShape::getPlaneConstant |
( |
| ) |
const |
|
inline |
◆ getPlaneNormal()
| const btVector3& btStaticPlaneShape::getPlaneNormal |
( |
| ) |
const |
|
inline |
◆ processAllTriangles()
◆ serialize()
| const char * btStaticPlaneShape::serialize |
( |
void * |
dataBuffer, |
|
|
btSerializer * |
serializer |
|
) |
| const |
|
inlinevirtual |
◆ setLocalScaling()
| void btStaticPlaneShape::setLocalScaling |
( |
const btVector3 & |
scaling | ) |
|
|
virtual |
◆ m_localAabbMax
◆ m_localAabbMin
◆ m_localScaling
◆ m_planeConstant
| btScalar btStaticPlaneShape::m_planeConstant |
|
protected |
◆ m_planeNormal
The documentation for this class was generated from the following files: