Bullet Collision Detection & Physics Library
Public Member Functions | List of all members
btPlaneShape Class Reference

Class for accessing the plane equation. More...

Inheritance diagram for btPlaneShape:
Inheritance graph
Collaboration diagram for btPlaneShape:
Collaboration graph

Public Member Functions

 btPlaneShape (const btVector3 &v, float f)
void get_plane_equation (btVector4 &equation)
void get_plane_equation_transformed (const btTransform &trans, btVector4 &equation) const
- Public Member Functions inherited from btStaticPlaneShape
 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 btVector3getLocalScaling () const
const btVector3getPlaneNormal () const
const btScalargetPlaneConstant () 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...
- Public Member Functions inherited from btConcaveShape
 btConcaveShape ()
virtual ~btConcaveShape ()
virtual btScalar getMargin () const
virtual void setMargin (btScalar collisionMargin)
- Public Member Functions inherited from btCollisionShape
 btCollisionShape ()
virtual ~btCollisionShape ()
virtual void getBoundingSphere (btVector3 &center, btScalar &radius) const
virtual btScalar getAngularMotionDisc () const
 getAngularMotionDisc returns the maximus 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

Additional Inherited Members

- Protected Attributes inherited from btStaticPlaneShape
btVector3 m_localAabbMin
btVector3 m_localAabbMax
btVector3 m_planeNormal
btScalar m_planeConstant
btVector3 m_localScaling
- Protected Attributes inherited from btConcaveShape
btScalar m_collisionMargin
- Protected Attributes inherited from btCollisionShape
int m_shapeType
void * m_userPointer
int m_userIndex

Detailed Description

Class for accessing the plane equation.

Definition at line 36 of file btGImpactCollisionAlgorithm.cpp.

Constructor & Destructor Documentation

btPlaneShape::btPlaneShape ( const btVector3 v,
float  f 

Definition at line 40 of file btGImpactCollisionAlgorithm.cpp.

Member Function Documentation

void btPlaneShape::get_plane_equation ( btVector4 equation)

Definition at line 45 of file btGImpactCollisionAlgorithm.cpp.

void btPlaneShape::get_plane_equation_transformed ( const btTransform trans,
btVector4 equation 
) const

Definition at line 54 of file btGImpactCollisionAlgorithm.cpp.

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