Blender
V3.3
|
Go to the source code of this file.
Functions | |
virtual int | getNumVertices () const |
btVector3 & | getVertexPtr (int index) |
virtual void | getVertex (int index, btVector3 &vert) const |
virtual int | getNumEdges () const |
virtual void | getEdge (int i, btVector3 &pa, btVector3 &pb) const |
virtual void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version More... | |
btVector3 | localGetSupportingVertexWithoutMargin (const btVector3 &dir) const |
btConvexShape Interface More... | |
virtual void | batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const |
btTriangleShape () | |
btTriangleShape (const btVector3 &p0, const btVector3 &p1, const btVector3 &p2) | |
virtual void | getPlane (btVector3 &planeNormal, btVector3 &planeSupport, int i) const |
virtual int | getNumPlanes () const |
void | calcNormal (btVector3 &normal) const |
virtual void | getPlaneEquation (int i, btVector3 &planeNormal, btVector3 &planeSupport) const |
virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const |
CollisionShape Interface. More... | |
virtual bool | isInside (const btVector3 &pt, btScalar tolerance) const |
virtual const char * | getName () const |
getName is for debugging More... | |
virtual int | getNumPreferredPenetrationDirections () const |
virtual void | getPreferredPenetrationDirection (int index, btVector3 &penetrationVector) const |
Variables | |
btTriangleShape | __pad0__ |
btVector3 | m_vertices1 [3] |
|
virtual |
Definition at line 72 of file btTriangleShape.h.
References btVector3, and m_vertices1.
btTriangleShape | ( | ) |
Definition at line 82 of file btTriangleShape.h.
References TRIANGLE_SHAPE_PROXYTYPE.
Referenced by btAdjustInternalEdgeContacts(), btSoftBodyConcaveCollisionAlgorithm::calculateTimeOfImpact(), btSoftBody::checkDeformableFaceContact(), getAabbNonVirtual(), getMarginNonVirtual(), localGetSupportVertexWithoutMarginNonVirtual(), btConvexConvexAlgorithm::processCollision(), btSphereTriangleCollisionAlgorithm::processCollision(), btConnectivityProcessor::processTriangle(), and btTriangleConvexcastCallback::processTriangle().
Definition at line 87 of file btTriangleShape.h.
References m_vertices1, and TRIANGLE_SHAPE_PROXYTYPE.
Definition at line 105 of file btTriangleShape.h.
References blender::math::cross(), m_vertices1, and normal.
Referenced by getPlaneEquation(), getPreferredPenetrationDirection(), and isInside().
CollisionShape Interface.
Definition at line 118 of file btTriangleShape.h.
References btAssert, btTransform, btVector3, getAabb(), void, and x2.
|
virtual |
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 60 of file btTriangleShape.h.
References btMatrix3x3, btVector3, center, getAabbSlow(), getHalfHeight(), getRadius(), m_upAxis, and t.
Referenced by calculateLocalInertia(), calculateTemporalAabb(), getAabbNonVirtual(), and getBoundingSphere().
|
virtual |
getName is for debugging
Definition at line 157 of file btTriangleShape.h.
|
virtual |
Definition at line 49 of file btTriangleShape.h.
|
virtual |
Definition at line 100 of file btTriangleShape.h.
|
virtual |
Definition at line 162 of file btTriangleShape.h.
|
virtual |
Definition at line 30 of file btTriangleShape.h.
Definition at line 95 of file btTriangleShape.h.
References getPlaneEquation().
|
virtual |
Definition at line 111 of file btTriangleShape.h.
References calcNormal(), m_vertices1, and void.
Referenced by getPlane().
|
virtual |
Definition at line 167 of file btTriangleShape.h.
References calcNormal().
const btVector3 & getVertexPtr | ( | int | index | ) |
Definition at line 35 of file btTriangleShape.h.
References m_vertices1.
Definition at line 125 of file btTriangleShape.h.
References btVector3, calcNormal(), getEdge(), m_vertices1, and normal.
btConvexShape Interface
Definition at line 66 of file btTriangleShape.h.
References btVector3, and m_vertices1.
Referenced by localGetSupportingVertex().
btTriangleShape __pad0__ |
Definition at line 23 of file btTriangleShape.h.
btVector3 m_vertices1[3] |
Definition at line 28 of file btTriangleShape.h.
Referenced by btTriangleShapeEx::applyTransform(), batchedUnitVectorGetSupportingVertexWithoutMargin(), btTriangleShape(), btTriangleShapeEx::buildTriPlane(), calcNormal(), btTriangleShapeEx::getAabb(), getPlaneEquation(), getVertex(), getVertexPtr(), isInside(), localGetSupportingVertexWithoutMargin(), and btTriangleShapeEx::overlap_test_conservative().