|
Blender V4.5
|
#include "btSoftBodyInternals.h"#include <stdio.h>#include <string>#include <iostream>#include <sstream>#include <string.h>#include <algorithm>#include "btSoftBodyHelpers.h"#include "LinearMath/btConvexHull.h"#include "LinearMath/btConvexHullComputer.h"#include <map>#include <vector>Go to the source code of this file.
Classes | |
| class | LinkDeps_t |
Macros | |
| #define | USE_NEW_CONVEX_HULL_COMPUTER |
| #define | REOP_NOT_DEPENDENT -1 |
| #define | REOP_NODE_COMPLETE -2 |
| #define | IDX(_x_, _y_) |
| #define | IDX(_x_, _y_) |
| #define | IDX(_x_, _y_) |
Typedefs | |
| typedef LinkDeps_t * | LinkDepsPtr_t |
Functions | |
| static void | drawVertex (btIDebugDraw *idraw, const btVector3 &x, btScalar s, const btVector3 &c) |
| btSoftBodyHelpers.cpp by Nathanael Presson | |
| static void | drawBox (btIDebugDraw *idraw, const btVector3 &mins, const btVector3 &maxs, const btVector3 &color) |
| static void | drawTree (btIDebugDraw *idraw, const btDbvtNode *node, int depth, const btVector3 &ncolor, const btVector3 &lcolor, int mindepth, int maxdepth) |
| template<typename T> | |
| static T | sum (const btAlignedObjectArray< T > &items) |
| template<typename T, typename Q> | |
| static void | add (btAlignedObjectArray< T > &items, const Q &value) |
| template<typename T, typename Q> | |
| static void | mul (btAlignedObjectArray< T > &items, const Q &value) |
| template<typename T> | |
| static T | average (const btAlignedObjectArray< T > &items) |
| static int | nextLine (const char *buffer) |
| #define IDX | ( | _x_, | |
| _y_ ) |
| #define IDX | ( | _x_, | |
| _y_ ) |
| #define IDX | ( | _x_, | |
| _y_ ) |
| #define REOP_NODE_COMPLETE -2 |
Definition at line 540 of file btSoftBodyHelpers.cpp.
Referenced by btSoftBodyHelpers::ReoptimizeLinkOrder().
| #define REOP_NOT_DEPENDENT -1 |
Definition at line 539 of file btSoftBodyHelpers.cpp.
Referenced by btSoftBodyHelpers::ReoptimizeLinkOrder().
| #define USE_NEW_CONVEX_HULL_COMPUTER |
Definition at line 536 of file btSoftBodyHelpers.cpp.
|
inlinestatic |
Definition at line 110 of file btSoftBodyHelpers.cpp.
References add(), i, and btAlignedObjectArray< T >::size().
Referenced by add(), add(), alloc_utf16_from_8(), alloc_utf_8_from_16(), btSoftBodyHelpers::Draw(), filenum_newname(), find_first_points(), flatten_closure_tree(), gwl_scaled_fixed_t_add_and_calc_rounded_delta(), make(), region_azone_tab_plus(), txt_add_char(), txt_add_char_intern(), txt_add_raw_char(), txt_insert_buf(), txt_insert_buf(), txt_replace_char(), txt_select_prefix(), and ui_colorpicker_wheel_cb().
|
inlinestatic |
Definition at line 130 of file btSoftBodyHelpers.cpp.
References average(), btAlignedObjectArray< T >::size(), sum(), and T.
|
static |
Definition at line 39 of file btSoftBodyHelpers.cpp.
References btVector3, drawBox(), and btIDebugDraw::drawLine().
Referenced by drawBox(), and drawTree().
|
static |
Definition at line 67 of file btSoftBodyHelpers.cpp.
References btVector3, btDbvtAabbMm::Center(), drawBox(), drawTree(), btDbvtAabbMm::Extents(), btDbvtNode::isinternal(), btDbvtNode::isleaf(), and btDbvtNode::volume.
Referenced by btSoftBodyHelpers::DrawClusterTree(), btSoftBodyHelpers::DrawFaceTree(), btSoftBodyHelpers::DrawNodeTree(), and drawTree().
|
static |
btSoftBodyHelpers.cpp by Nathanael Presson
Definition at line 30 of file btSoftBodyHelpers.cpp.
References btVector3, btIDebugDraw::drawLine(), drawVertex(), and x.
Referenced by btSoftBodyHelpers::Draw(), btSoftBodyHelpers::DrawFrame(), and drawVertex().
|
inlinestatic |
Definition at line 120 of file btSoftBodyHelpers.cpp.
References i, mul(), and btAlignedObjectArray< T >::size().
Referenced by addAlphaOverFloat(), boid_brain(), calculate_struct_sizes(), collision_interpolate_element(), btSoftBodyHelpers::Draw(), flatten_closure_tree(), IMB_alpha_under_color_byte(), IMB_alpha_under_color_float(), iterate_lengths_iter(), mul(), normalize_v3_length_db(), project_plane_normalized_v3_v3v3(), project_plane_v3_v3v3(), project_v2_v2v2(), project_v2_v2v2_normalized(), project_v3_plane(), project_v3_v3v3(), project_v3_v3v3_normalized(), rule_follow_leader(), rule_goal_avoid(), and utf8_as_char32_test_at_buffer_size().
|
static |
Definition at line 1121 of file btSoftBodyHelpers.cpp.
References nextLine().
Referenced by btSoftBodyHelpers::CreateFromTetGenData(), and nextLine().
|
inlinestatic |
Definition at line 94 of file btSoftBodyHelpers.cpp.
References i, btAlignedObjectArray< T >::size(), T, and v.
Referenced by average().