#include <btSoftBodyHelpers.h>
Static Public Member Functions | |
| static float | CalculateUV (int resx, int resy, int ix, int iy, int id) |
| static btSoftBody * | CreateEllipsoid (btSoftBodyWorldInfo &worldInfo, const btVector3 ¢er, const btVector3 &radius, int res) |
| static btSoftBody * | CreateFromConvexHull (btSoftBodyWorldInfo &worldInfo, const btVector3 *vertices, int nvertices, bool randomizeConstraints=true) |
| static btSoftBody * | CreateFromTetGenData (btSoftBodyWorldInfo &worldInfo, const char *ele, const char *face, const char *node, bool bfacelinks, bool btetralinks, bool bfacesfromtetras) |
| static btSoftBody * | CreateFromTetGenFile (btSoftBodyWorldInfo &worldInfo, const char *ele, const char *face, const char *node, bool bfacelinks, bool btetralinks, bool bfacesfromtetras) |
| static btSoftBody * | CreateFromTriMesh (btSoftBodyWorldInfo &worldInfo, const btScalar *vertices, const int *triangles, int ntriangles, bool randomizeConstraints=true) |
| static btSoftBody * | CreatePatch (btSoftBodyWorldInfo &worldInfo, const btVector3 &corner00, const btVector3 &corner10, const btVector3 &corner01, const btVector3 &corner11, int resx, int resy, int fixeds, bool gendiags) |
| static btSoftBody * | CreatePatchUV (btSoftBodyWorldInfo &worldInfo, const btVector3 &corner00, const btVector3 &corner10, const btVector3 &corner01, const btVector3 &corner11, int resx, int resy, int fixeds, bool gendiags, float *tex_coords=0) |
| static btSoftBody * | CreateRope (btSoftBodyWorldInfo &worldInfo, const btVector3 &from, const btVector3 &to, int res, int fixeds) |
| static void | Draw (btSoftBody *psb, btIDebugDraw *idraw, int drawflags=fDrawFlags::Std) |
| static void | DrawClusterTree (btSoftBody *psb, btIDebugDraw *idraw, int mindepth=0, int maxdepth=-1) |
| static void | DrawFaceTree (btSoftBody *psb, btIDebugDraw *idraw, int mindepth=0, int maxdepth=-1) |
| static void | DrawFrame (btSoftBody *psb, btIDebugDraw *idraw) |
| static void | DrawInfos (btSoftBody *psb, btIDebugDraw *idraw, bool masses, bool areas, bool stress) |
| static void | DrawNodeTree (btSoftBody *psb, btIDebugDraw *idraw, int mindepth=0, int maxdepth=-1) |
| static void | ExportAsSMeshFile (btSoftBody *psb, const char *filename) |
Definition at line 45 of file btSoftBodyHelpers.h.
| static float btSoftBodyHelpers::CalculateUV | ( | int | resx, | |
| int | resy, | |||
| int | ix, | |||
| int | iy, | |||
| int | id | |||
| ) | [static] |
| static btSoftBody* btSoftBodyHelpers::CreateEllipsoid | ( | btSoftBodyWorldInfo & | worldInfo, | |
| const btVector3 & | center, | |||
| const btVector3 & | radius, | |||
| int | res | |||
| ) | [static] |
| static btSoftBody* btSoftBodyHelpers::CreateFromConvexHull | ( | btSoftBodyWorldInfo & | worldInfo, | |
| const btVector3 * | vertices, | |||
| int | nvertices, | |||
| bool | randomizeConstraints = true | |||
| ) | [static] |
| static btSoftBody* btSoftBodyHelpers::CreateFromTetGenData | ( | btSoftBodyWorldInfo & | worldInfo, | |
| const char * | ele, | |||
| const char * | face, | |||
| const char * | node, | |||
| bool | bfacelinks, | |||
| bool | btetralinks, | |||
| bool | bfacesfromtetras | |||
| ) | [static] |
| static btSoftBody* btSoftBodyHelpers::CreateFromTetGenFile | ( | btSoftBodyWorldInfo & | worldInfo, | |
| const char * | ele, | |||
| const char * | face, | |||
| const char * | node, | |||
| bool | bfacelinks, | |||
| bool | btetralinks, | |||
| bool | bfacesfromtetras | |||
| ) | [static] |
| static btSoftBody* btSoftBodyHelpers::CreateFromTriMesh | ( | btSoftBodyWorldInfo & | worldInfo, | |
| const btScalar * | vertices, | |||
| const int * | triangles, | |||
| int | ntriangles, | |||
| bool | randomizeConstraints = true | |||
| ) | [static] |
| static btSoftBody* btSoftBodyHelpers::CreatePatch | ( | btSoftBodyWorldInfo & | worldInfo, | |
| const btVector3 & | corner00, | |||
| const btVector3 & | corner10, | |||
| const btVector3 & | corner01, | |||
| const btVector3 & | corner11, | |||
| int | resx, | |||
| int | resy, | |||
| int | fixeds, | |||
| bool | gendiags | |||
| ) | [static] |
| static btSoftBody* btSoftBodyHelpers::CreatePatchUV | ( | btSoftBodyWorldInfo & | worldInfo, | |
| const btVector3 & | corner00, | |||
| const btVector3 & | corner10, | |||
| const btVector3 & | corner01, | |||
| const btVector3 & | corner11, | |||
| int | resx, | |||
| int | resy, | |||
| int | fixeds, | |||
| bool | gendiags, | |||
| float * | tex_coords = 0 | |||
| ) | [static] |
| static btSoftBody* btSoftBodyHelpers::CreateRope | ( | btSoftBodyWorldInfo & | worldInfo, | |
| const btVector3 & | from, | |||
| const btVector3 & | to, | |||
| int | res, | |||
| int | fixeds | |||
| ) | [static] |
| static void btSoftBodyHelpers::Draw | ( | btSoftBody * | psb, | |
| btIDebugDraw * | idraw, | |||
| int | drawflags = fDrawFlags::Std | |||
| ) | [static] |
| static void btSoftBodyHelpers::DrawClusterTree | ( | btSoftBody * | psb, | |
| btIDebugDraw * | idraw, | |||
| int | mindepth = 0, |
|||
| int | maxdepth = -1 | |||
| ) | [static] |
| static void btSoftBodyHelpers::DrawFaceTree | ( | btSoftBody * | psb, | |
| btIDebugDraw * | idraw, | |||
| int | mindepth = 0, |
|||
| int | maxdepth = -1 | |||
| ) | [static] |
| static void btSoftBodyHelpers::DrawFrame | ( | btSoftBody * | psb, | |
| btIDebugDraw * | idraw | |||
| ) | [static] |
| static void btSoftBodyHelpers::DrawInfos | ( | btSoftBody * | psb, | |
| btIDebugDraw * | idraw, | |||
| bool | masses, | |||
| bool | areas, | |||
| bool | stress | |||
| ) | [static] |
| static void btSoftBodyHelpers::DrawNodeTree | ( | btSoftBody * | psb, | |
| btIDebugDraw * | idraw, | |||
| int | mindepth = 0, |
|||
| int | maxdepth = -1 | |||
| ) | [static] |
| static void btSoftBodyHelpers::ExportAsSMeshFile | ( | btSoftBody * | psb, | |
| const char * | filename | |||
| ) | [static] |