#include <mbd_spatial_hashing.h>
Classes | |
class | collision_policy |
class | constraint_traits |
class | edge_traits |
class | node_traits |
Public Member Functions | |
SpatialHashing () | |
void | clear () |
void | add (body_type *) |
void | remove (body_type *) |
void | init (configuration_type &configuration) |
void | run (edge_ptr_container &edges) |
Protected Types | |
typedef types::math_policy::index_type | size_type |
typedef types::math_policy::real_type | real_type |
typedef types::math_policy::vector3_type | vector3_type |
typedef types::math_policy::matrix3x3_type | matrix3x3_type |
typedef types::configuration_type | configuration_type |
typedef types::body_type | body_type |
typedef types::edge_type | edge_type |
typedef types::edge_ptr_container | edge_ptr_container |
typedef OpenTissue::spatial_hashing::AABBDataQuery < typename collision_policy::hash_grid, collision_policy > | query_algorithm |
Protected Attributes | |
query_algorithm | m_query |
The Spatial Hashing Broad Phase Collision Detection Algorithm.
typedef types::body_type OpenTissue::mbd::SpatialHashing< types >::body_type [protected] |
typedef types::configuration_type OpenTissue::mbd::SpatialHashing< types >::configuration_type [protected] |
typedef types::edge_ptr_container OpenTissue::mbd::SpatialHashing< types >::edge_ptr_container [protected] |
typedef types::edge_type OpenTissue::mbd::SpatialHashing< types >::edge_type [protected] |
typedef types::math_policy::matrix3x3_type OpenTissue::mbd::SpatialHashing< types >::matrix3x3_type [protected] |
typedef OpenTissue::spatial_hashing::AABBDataQuery< typename collision_policy::hash_grid, collision_policy > OpenTissue::mbd::SpatialHashing< types >::query_algorithm [protected] |
typedef types::math_policy::real_type OpenTissue::mbd::SpatialHashing< types >::real_type [protected] |
typedef types::math_policy::index_type OpenTissue::mbd::SpatialHashing< types >::size_type [protected] |
typedef types::math_policy::vector3_type OpenTissue::mbd::SpatialHashing< types >::vector3_type [protected] |
OpenTissue::mbd::SpatialHashing< types >::SpatialHashing | ( | ) | [inline] |
void OpenTissue::mbd::SpatialHashing< types >::add | ( | body_type * | ) | [inline] |
void OpenTissue::mbd::SpatialHashing< types >::clear | ( | ) | [inline] |
void OpenTissue::mbd::SpatialHashing< types >::init | ( | configuration_type & | configuration | ) | [inline] |
void OpenTissue::mbd::SpatialHashing< types >::remove | ( | body_type * | ) | [inline] |
void OpenTissue::mbd::SpatialHashing< types >::run | ( | edge_ptr_container & | edges | ) | [inline] |
query_algorithm OpenTissue::mbd::SpatialHashing< types >::m_query [protected] |