Classes | Public Member Functions | Protected Types | Protected Attributes

OpenTissue::mbd::SpatialHashing< types > Class Template Reference

#include <mbd_spatial_hashing.h>

List of all members.

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

Detailed Description

template<typename types>
class OpenTissue::mbd::SpatialHashing< types >

The Spatial Hashing Broad Phase Collision Detection Algorithm.


Member Typedef Documentation

template<typename types >
typedef types::body_type OpenTissue::mbd::SpatialHashing< types >::body_type [protected]
template<typename types >
typedef types::configuration_type OpenTissue::mbd::SpatialHashing< types >::configuration_type [protected]
template<typename types >
typedef types::edge_ptr_container OpenTissue::mbd::SpatialHashing< types >::edge_ptr_container [protected]
template<typename types >
typedef types::edge_type OpenTissue::mbd::SpatialHashing< types >::edge_type [protected]
template<typename types >
typedef types::math_policy::matrix3x3_type OpenTissue::mbd::SpatialHashing< types >::matrix3x3_type [protected]
template<typename types >
typedef types::math_policy::real_type OpenTissue::mbd::SpatialHashing< types >::real_type [protected]
template<typename types >
typedef types::math_policy::index_type OpenTissue::mbd::SpatialHashing< types >::size_type [protected]
template<typename types >
typedef types::math_policy::vector3_type OpenTissue::mbd::SpatialHashing< types >::vector3_type [protected]

Constructor & Destructor Documentation

template<typename types >
OpenTissue::mbd::SpatialHashing< types >::SpatialHashing (  )  [inline]

Member Function Documentation

template<typename types >
void OpenTissue::mbd::SpatialHashing< types >::add ( body_type  )  [inline]
template<typename types >
void OpenTissue::mbd::SpatialHashing< types >::clear (  )  [inline]
template<typename types >
void OpenTissue::mbd::SpatialHashing< types >::init ( configuration_type configuration  )  [inline]
template<typename types >
void OpenTissue::mbd::SpatialHashing< types >::remove ( body_type  )  [inline]
template<typename types >
void OpenTissue::mbd::SpatialHashing< types >::run ( edge_ptr_container edges  )  [inline]

Member Data Documentation

template<typename types >
query_algorithm OpenTissue::mbd::SpatialHashing< types >::m_query [protected]

The documentation for this class was generated from the following file: