|
Blender V4.5
|
#include "BulletCollision/CollisionShapes/btPolyhedralConvexShape.h"#include "BulletCollision/CollisionShapes/btCollisionMargin.h"#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"#include "LinearMath/btVector3.h"#include "LinearMath/btMinMax.h"Go to the source code of this file.
Functions | |
| BT_DECLARE_ALIGNED_ALLOCATOR () | |
| btVector3 | getHalfExtentsWithMargin () const |
| const btVector3 & | getHalfExtentsWithoutMargin () const |
| virtual btVector3 | localGetSupportingVertex (const btVector3 &vec) const |
| SIMD_FORCE_INLINE btVector3 | localGetSupportingVertexWithoutMargin (const btVector3 &vec) const |
| btConvexShape Interface | |
| virtual void | batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const |
| btBox2dShape (const btVector3 &boxHalfExtents) | |
| a btBox2dShape is a flat 2D box in the X-Y plane (Z extents are zero) | |
| virtual void | setMargin (btScalar collisionMargin) |
| virtual void | setLocalScaling (const btVector3 &scaling) |
| virtual void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
| virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const |
| int | getVertexCount () const |
| virtual int | getNumVertices () const |
| const btVector3 * | getVertices () const |
| const btVector3 * | getNormals () const |
| virtual void | getPlane (btVector3 &planeNormal, btVector3 &planeSupport, int i) const |
| const btVector3 & | getCentroid () const |
| virtual int | getNumPlanes () const |
| virtual int | getNumEdges () const |
| virtual void | getVertex (int i, btVector3 &vtx) const |
| virtual void | getPlaneEquation (btVector4 &plane, int i) const |
| virtual void | getEdge (int i, btVector3 &pa, btVector3 &pb) const |
| virtual bool | isInside (const btVector3 &pt, btScalar tolerance) const |
| virtual const char * | getName () const |
| virtual int | getNumPreferredPenetrationDirections () const |
| virtual void | getPreferredPenetrationDirection (int index, btVector3 &penetrationVector) const |
Variables | |
| btBox2dShape | __pad0__ |
| The btBox2dShape is a box primitive around the origin, its sides axis aligned with length specified by half extents, in local shape coordinates. When used as part of a btCollisionObject or btRigidBody it will be an oriented box in world space. | |
| btVector3 | m_vertices [4] |
| btVector3 | m_normals [4] |
|
virtual |
Definition at line 71 of file btBox2dShape.h.
References batchedUnitVectorGetSupportingVertexWithoutMargin(), btFsels, btVector3, getHalfExtentsWithoutMargin(), and i.
Referenced by batchedUnitVectorGetSupportingVertexWithoutMargin(), BT_DECLARE_ALIGNED_ALLOCATOR(), project(), btConvexInternalAabbCachingShape::recalcLocalAabb(), and btPolyhedralConvexAabbCachingShape::recalcLocalAabb().
| BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
References BT_DECLARE_ALIGNED_ALLOCATOR.
| btBox2dShape | ( | const btVector3 & | boxHalfExtents | ) |
a btBox2dShape is a flat 2D box in the X-Y plane (Z extents are zero)
Definition at line 85 of file btBox2dShape.h.
References BOX_2D_SHAPE_PROXYTYPE, btBox2dShape(), btPolyhedralConvexShape(), btVector3, getMargin(), if(), m_implicitShapeDimensions, m_localScaling, m_normals, m_vertices, and setSafeMargin().
Referenced by b2CollidePolygons(), btBox2dShape(), EdgeSeparation(), FindIncidentEdge(), FindMaxSeparation(), and btBox2dBox2dCollisionAlgorithm::processCollision().
Definition at line 54 of file btConeShape.h.
References btAssert, btTransform, btVector3, calculateLocalInertia(), and getAabb().
Referenced by BT_DECLARE_ALIGNED_ALLOCATOR(), calculateLocalInertia(), and recalcLocalAabb().
|
virtual |
Definition at line 54 of file btCapsuleShape.h.
References btMatrix3x3, btTransform, btVector3, getAabb(), getAabbSlow(), getHalfHeight(), getRadius(), and m_upAxis.
Referenced by BT_DECLARE_ALIGNED_ALLOCATOR(), calculateLocalInertia(), calculateTemporalAabb(), getAabb(), getAabbNonVirtual(), getBoundingSphere(), project(), and recalcLocalAabb().
| const btVector3 & getCentroid | ( | ) | const |
Definition at line 164 of file btBox2dShape.h.
References btVector3, and getCentroid().
Referenced by getCentroid().
Definition at line 218 of file btBox2dShape.h.
References btAssert, btVector3, getEdge(), getVertex(), and i.
Referenced by getEdge(), and isInside().
| btVector3 getHalfExtentsWithMargin | ( | ) | const |
Definition at line 38 of file btBox2dShape.h.
References btVector3, getHalfExtentsWithMargin(), getHalfExtentsWithoutMargin(), and getMargin().
Referenced by getHalfExtentsWithMargin(), getRadius(), and getVertex().
| const btVector3 & getHalfExtentsWithoutMargin | ( | ) | const |
Definition at line 46 of file btBox2dShape.h.
References btVector3, getHalfExtentsWithoutMargin(), and m_implicitShapeDimensions.
Referenced by batchedUnitVectorGetSupportingVertexWithoutMargin(), getHalfExtentsWithMargin(), getHalfExtentsWithoutMargin(), getPlaneEquation(), getVertex(), isInside(), localGetSupportingVertex(), and localGetSupportingVertexWithoutMargin().
|
virtual |
Definition at line 301 of file btBox2dShape.h.
References getName().
Referenced by MeshImporter::create_mesh_object(), getName(), and DocumentImporter::write_node().
| const btVector3 * getNormals | ( | ) | const |
Definition at line 150 of file btBox2dShape.h.
References btVector3, getNormals(), and m_normals.
Referenced by getNormals().
|
virtual |
Definition at line 174 of file btBox2dShape.h.
References getNumEdges().
Referenced by getNumEdges(), and set_ccgdm_all_geometry().
|
virtual |
Definition at line 169 of file btBox2dShape.h.
References getNumPlanes().
Referenced by getNumPlanes().
|
virtual |
Definition at line 306 of file btBox2dShape.h.
References getNumPreferredPenetrationDirections().
Referenced by getAabbSlow(), getAabbSlow(), and getNumPreferredPenetrationDirections().
|
virtual |
Definition at line 140 of file btBox2dShape.h.
References getNumVertices().
Referenced by getNumVertices(), and initializePolyhedralFeatures().
|
virtual |
Definition at line 155 of file btBox2dShape.h.
References btVector3, getPlane(), getPlaneEquation(), i, and localGetSupportingVertex().
Referenced by getPlane().
|
virtual |
Definition at line 189 of file btBox2dShape.h.
References btAssert, btVector3, getHalfExtentsWithoutMargin(), getPlaneEquation(), i, and btVector4::setValue().
Referenced by getPlane(), getPlaneEquation(), and getPlaneEquation().
|
virtual |
Definition at line 311 of file btBox2dShape.h.
References btAssert, btVector3, and getPreferredPenetrationDirection().
Referenced by getAabbSlow(), getAabbSlow(), and getPreferredPenetrationDirection().
|
virtual |
Definition at line 179 of file btBox2dShape.h.
References btVector3, getHalfExtentsWithoutMargin(), getVertex(), and i.
Referenced by getEdge(), getVertex(), getVertex(), getVertex(), and initializePolyhedralFeatures().
| int getVertexCount | ( | ) | const |
Definition at line 135 of file btBox2dShape.h.
References getVertexCount().
Referenced by EdgeSeparation(), FindIncidentEdge(), and getVertexCount().
| const btVector3 * getVertices | ( | ) | const |
Definition at line 145 of file btBox2dShape.h.
References btVector3, getVertices(), and m_vertices.
Referenced by Freestyle::firstIntersectionGridVisitor::examineOccluder(), and getVertices().
Definition at line 284 of file btBox2dShape.h.
References btVector3, getHalfExtentsWithoutMargin(), isInside(), and result.
Referenced by GHOST_IsInsideRectangle(), and isInside().
Definition at line 51 of file btBox2dShape.h.
References btFsels, btVector3, getHalfExtentsWithoutMargin(), getMargin(), and localGetSupportingVertex().
Referenced by BT_DECLARE_ALIGNED_ALLOCATOR(), getPlane(), localGetSupportingVertex(), localGetSupportingVertexWithoutMargin(), btConvexInternalAabbCachingShape::recalcLocalAabb(), and btPolyhedralConvexAabbCachingShape::recalcLocalAabb().
| SIMD_FORCE_INLINE btVector3 localGetSupportingVertexWithoutMargin | ( | const btVector3 & | vec | ) | const |
btConvexShape Interface
Definition at line 62 of file btBox2dShape.h.
References btFsels, btVector3, getHalfExtentsWithoutMargin(), localGetSupportingVertexWithoutMargin(), and SIMD_FORCE_INLINE.
Referenced by BT_DECLARE_ALIGNED_ALLOCATOR(), localGetSupportingVertex(), localGetSupportingVertexWithoutMargin(), localGetSupportingVertexWithoutMargin(), and localGetSupportVertexWithoutMarginNonVirtual().
|
virtual |
Definition at line 120 of file btBox2dShape.h.
References btVector3, getMargin(), m_implicitShapeDimensions, m_localScaling, and setLocalScaling().
Referenced by BT_DECLARE_ALIGNED_ALLOCATOR(), getAabbSlow(), getAabbSlow(), recalcLocalAabb(), and setLocalScaling().
|
virtual |
Definition at line 110 of file btBox2dShape.h.
References btVector3, getMargin(), m_implicitShapeDimensions, and setMargin().
Referenced by getAabbSlow(), getAabbSlow(), setMargin(), setMargin(), and setSafeMargin().
| btBox2dShape __pad0__ |
The btBox2dShape is a box primitive around the origin, its sides axis aligned with length specified by half extents, in local shape coordinates. When used as part of a btCollisionObject or btRigidBody it will be an oriented box in world space.
Definition at line 27 of file btBox2dShape.h.
| btVector3 m_normals[4] |
Definition at line 33 of file btBox2dShape.h.
Referenced by btBox2dShape(), and getNormals().
| btVector3 m_vertices[4] |
Definition at line 32 of file btBox2dShape.h.
Referenced by addVertex(), btBox2dShape(), buildHull(), getVertexPointer(), getVertices(), initialize2(), numVertices(), btTetrahedronShapeEx::setVertices(), and ~btShapeHull().