|
Blender
V3.3
|
#include "btBoxShape.h"#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"#include "LinearMath/btVector3.h"Go to the source code of this file.
Classes | |
| class | btCylinderShapeX |
| class | btCylinderShapeZ |
| struct | btCylinderShapeData |
| do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 More... | |
Functions | |
| BT_DECLARE_ALIGNED_ALLOCATOR () | |
| btVector3 | getHalfExtentsWithMargin () const |
| const btVector3 & | getHalfExtentsWithoutMargin () const |
| btCylinderShape (const btVector3 &halfExtents) | |
| 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 | calculateLocalInertia (btScalar mass, btVector3 &inertia) const |
| CollisionShape Interface. More... | |
| virtual btVector3 | localGetSupportingVertexWithoutMargin (const btVector3 &vec) const |
| btConvexShape Interface More... | |
| virtual void | batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const |
| virtual void | setMargin (btScalar collisionMargin) |
| virtual btVector3 | localGetSupportingVertex (const btVector3 &vec) const |
| int | getUpAxis () const |
| virtual btVector3 | getAnisotropicRollingFrictionDirection () const |
| virtual btScalar | getRadius () const |
| virtual void | setLocalScaling (const btVector3 &scaling) |
| in case we receive negative scaling More... | |
| 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... | |
Variables | |
| btCylinderShape | __pad0__ |
| The btCylinderShape class implements a cylinder shape primitive, centered around the origin. Its central axis aligned with the Y axis. btCylinderShapeX is aligned with the X axis and btCylinderShapeZ around the Z axis. More... | |
|
virtual |
Definition at line 71 of file btBox2dShape.h.
| BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
| btCylinderShape::btCylinderShape | ( | const btVector3 & | halfExtents | ) |
Definition at line 18 of file btCylinderShape.cpp.
References btVector3, CYLINDER_SHAPE_PROXYTYPE, getMargin(), m_implicitShapeDimensions, m_localScaling, and setSafeMargin().
Referenced by btCollisionWorldImporter::createCylinderShapeY(), btCollisionWorld::debugDrawObject(), getMarginNonVirtual(), and localGetSupportVertexWithoutMarginNonVirtual().
CollisionShape Interface.
Definition at line 54 of file btConeShape.h.
|
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.
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
Definition at line 54 of file btCapsuleShape.h.
|
virtual |
Definition at line 94 of file btCylinderShape.h.
References btVector3, and getUpAxis().
| btVector3 getHalfExtentsWithMargin | ( | ) | const |
Definition at line 34 of file btCylinderShape.h.
References btVector3, getHalfExtentsWithoutMargin(), and getMargin().
Referenced by getRadius(), btCylinderShapeX::getRadius(), and btCylinderShapeZ::getRadius().
| const btVector3& getHalfExtentsWithoutMargin | ( | ) | const |
Definition at line 42 of file btCylinderShape.h.
References m_implicitShapeDimensions.
Referenced by getHalfExtentsWithMargin().
|
virtual |
Definition at line 118 of file btCylinderShape.h.
|
virtual |
Definition at line 101 of file btCylinderShape.h.
References getHalfExtentsWithMargin().
| int getUpAxis | ( | ) | const |
Definition at line 89 of file btCylinderShape.h.
References m_upAxis.
Referenced by getAnisotropicRollingFrictionDirection().
Definition at line 68 of file btCylinderShape.h.
References btVector3, getMargin(), localGetSupportingVertexWithoutMargin(), and SIMD_EPSILON.
Referenced by localGetSupportingVertexWithoutMargin().
btConvexShape Interface
Definition at line 62 of file btBox2dShape.h.
Referenced by localGetSupportingVertex().
|
virtual |
fills the dataBuffer and returns the struct name (and 0 on failure)
in case we receive negative scaling
Definition at line 106 of file btCylinderShape.h.
References btVector3, getMargin(), m_implicitShapeDimensions, and m_localScaling.
Definition at line 57 of file btCylinderShape.h.
References btVector3, getMargin(), and m_implicitShapeDimensions.
| btCylinderShape __pad0__ |
The btCylinderShape class implements a cylinder shape primitive, centered around the origin. Its central axis aligned with the Y axis. btCylinderShapeX is aligned with the X axis and btCylinderShapeZ around the Z axis.
Definition at line 25 of file btCylinderShape.h.