|
Blender V4.3
|
#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_) ((_y_)*n + (_x_)) |
| #define | NEXTRAND (seed = (1664525L * seed + 1013904223L) & 0xffffffff) |
| #define | PTR2IDX(_p_, _b_) reinterpret_cast<btSoftBody::Node*>((_p_) - (_b_)) |
| #define | IDX2PTR(_p_, _b_) map ? (&(_b_)[map[(((char*)_p_) - (char*)0)]]) : (&(_b_)[(((char*)_p_) - (char*)0)]) |
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_ ) ((_y_)*n + (_x_)) |
| #define IDX2PTR | ( | _p_, | |
| _b_ ) map ? (&(_b_)[map[(((char*)_p_) - (char*)0)]]) : (&(_b_)[(((char*)_p_) - (char*)0)]) |
Referenced by btSoftBody::indicesToPointers().
| #define PTR2IDX | ( | _p_, | |
| _b_ ) reinterpret_cast<btSoftBody::Node*>((_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(), N, node, NULL, 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(), calculateNormalCone(), btDbvntNode::childs, btDbvntNode::data, btDbvntNode::isleaf(), 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().
|
static |
Definition at line 2791 of file btSoftBody.cpp.
Referenced by btSoftBody::checkDeformableFaceContact().