|
Blender V5.0
|
#include "btSoftBodyInternals.h"#include "BulletSoftBody/btSoftBodySolvers.h"#include "btSoftBodyData.h"#include "LinearMath/btSerializer.h"#include "LinearMath/btImplicitQRSVD.h"#include "LinearMath/btAlignedAllocator.h"#include "BulletDynamics/Featherstone/btMultiBodyLinkCollider.h"#include "BulletDynamics/Featherstone/btMultiBodyConstraint.h"#include "BulletCollision/NarrowPhaseCollision/btGjkEpa2.h"#include "BulletCollision/CollisionShapes/btTriangleShape.h"#include <iostream>Go to the source code of this file.
Classes | |
| struct | NodeLinks |
Macros | |
| #define | IDX(_x_, _y_) |
| #define | NEXTRAND (seed = (1664525L * seed + 1013904223L) & 0xffffffff) |
| #define | PTR2IDX(_p_, _b_) |
| #define | IDX2PTR(_p_, _b_) |
Functions | |
| static btDbvtNode * | buildTreeBottomUp (btAlignedObjectArray< btDbvtNode * > &leafNodes, btAlignedObjectArray< btAlignedObjectArray< int > > &adj) |
| btSoftBody implementation by Nathanael Presson | |
| static btDbvntNode * | copyToDbvnt (const btDbvtNode *n) |
| static void | calculateNormalCone (btDbvntNode *root) |
| static void | getBarycentric (const btVector3 &p, btVector3 &a, btVector3 &b, btVector3 &c, btVector3 &bary) |
| static btScalar | Dot4 (const btVector4 &a, const btVector4 &b) |
| #define IDX | ( | _x_, | |
| _y_ ) |
Referenced by btSoftBodyHelpers::CreateFromTriMesh(), btSoftBodyHelpers::CreatePatch(), btSoftBodyHelpers::CreatePatchUV(), and btSoftBody::generateBendingConstraints().
| #define IDX2PTR | ( | _p_, | |
| _b_ ) |
Referenced by btSoftBody::indicesToPointers().
| #define PTR2IDX | ( | _p_, | |
| _b_ ) |
Referenced by btSoftBody::pointersToIndices().
|
inlinestatic |
btSoftBody implementation by Nathanael Presson
Definition at line 29 of file btSoftBody.cpp.
References btAlignedAlloc, btDbvtNode::childs, btAlignedObjectArray< T >::clear(), i, N, btDbvtNode::parent, btAlignedObjectArray< T >::push_back(), btAlignedObjectArray< T >::resize(), and btAlignedObjectArray< T >::size().
Referenced by btSoftBody::initializeFaceTree(), and btSoftBody::rebuildNodeTree().
|
inlinestatic |
Definition at line 2592 of file btSoftBody.cpp.
References btDbvntNode::angle, btAngle(), btMax(), btVector3, calculateNormalCone(), btDbvntNode::childs, btDbvntNode::data, btDbvntNode::isleaf(), btSoftBody::Face::m_normal, btDbvntNode::normal, and safeNormalize().
Referenced by calculateNormalCone(), btSoftBody::defaultCollisionHandler(), and btSoftBody::geometricCollisionHandler().
|
inlinestatic |
Definition at line 2577 of file btSoftBody.cpp.
References btDbvntNode::childs, btDbvtNode::childs, copyToDbvnt(), and btDbvtNode::isinternal().
Referenced by copyToDbvnt(), and btSoftBody::initializeFaceTree().
Definition at line 3495 of file btSoftBody.cpp.
References b.
Referenced by btSoftBody::updateDeformation().