Panda3D
|
Utility class used in building links between a tetrahedron mesh (soft body) and a triangle mesh used for rendering the soft body. More...
#include "physxMeshHash.h"
Public Member Functions | |
void | add (const NxBounds3 &bounds, int itemIndex) |
void | add (const NxVec3 &pos, int itemIndex) |
NxF32 | get_grid_spacing () const |
void | query (const NxBounds3 &bounds, pvector< int > &itemIndices, int maxIndices=-1) |
void | query (const NxVec3 &pos, pvector< int > &itemIndices, int maxIndices=-1) |
void | query_unique (const NxBounds3 &bounds, pvector< int > &itemIndices, int maxIndices=-1) |
void | query_unique (const NxVec3 &pos, pvector< int > &itemIndices, int maxIndices=-1) |
void | reset () |
void | set_grid_spacing (float spacing) |
Utility class used in building links between a tetrahedron mesh (soft body) and a triangle mesh used for rendering the soft body.
Definition at line 25 of file physxMeshHash.h.
|
inline |
Definition at line 17 of file physxMeshHash.I.
|
inline |
Definition at line 37 of file physxMeshHash.I.
void PhysxMeshHash::add | ( | const NxBounds3 & | bounds, |
int | itemIndex ) |
Definition at line 99 of file physxMeshHash.cxx.
void PhysxMeshHash::add | ( | const NxVec3 & | pos, |
int | itemIndex ) |
Definition at line 137 of file physxMeshHash.cxx.
|
inline |
Definition at line 66 of file physxMeshHash.I.
void PhysxMeshHash::query | ( | const NxBounds3 & | bounds, |
pvector< int > & | itemIndices, | ||
int | maxIndices = -1 ) |
Definition at line 165 of file physxMeshHash.cxx.
void PhysxMeshHash::query | ( | const NxVec3 & | pos, |
pvector< int > & | itemIndices, | ||
int | maxIndices = -1 ) |
Definition at line 211 of file physxMeshHash.cxx.
void PhysxMeshHash::query_unique | ( | const NxBounds3 & | bounds, |
pvector< int > & | itemIndices, | ||
int | maxIndices = -1 ) |
Definition at line 201 of file physxMeshHash.cxx.
void PhysxMeshHash::query_unique | ( | const NxVec3 & | pos, |
pvector< int > & | itemIndices, | ||
int | maxIndices = -1 ) |
Definition at line 236 of file physxMeshHash.cxx.
void PhysxMeshHash::reset | ( | ) |
Definition at line 89 of file physxMeshHash.cxx.
void PhysxMeshHash::set_grid_spacing | ( | float | spacing | ) |
Definition at line 77 of file physxMeshHash.cxx.