Public Types | Public Member Functions | Public Attributes

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

#include <mbd_spatial_hashing.h>

List of all members.

Public Types

typedef
types::math_policy::index_type 
size_type
typedef
types::math_policy::real_type 
real_type
typedef body_type data_type
typedef body_type query_type
typedef edge_type result_type
typedef edge_ptr_container result_container
typedef
OpenTissue::spatial_hashing::PrimeNumberHashFunction 
hash_function
typedef
OpenTissue::spatial_hashing::Grid
< OpenTissue::math::Vector3
< real_type >
, OpenTissue::math::Vector3
< int >, data_type,
hash_function
hash_grid

Public Member Functions

 collision_policy ()
vector3_type min_coord (body_type const &body) const
vector3_type max_coord (body_type const &body) const
void reset (result_container &results)
void report (data_type const &data, query_type const &query, result_container &results)

Public Attributes

size_type m_policy_time_stamp
configuration_typem_configuration

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


Member Typedef Documentation

template<typename types >
typedef types::math_policy::index_type OpenTissue::mbd::SpatialHashing< types >::collision_policy::size_type

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename types >
vector3_type OpenTissue::mbd::SpatialHashing< types >::collision_policy::max_coord ( body_type const &  body  )  const [inline]
template<typename types >
vector3_type OpenTissue::mbd::SpatialHashing< types >::collision_policy::min_coord ( body_type const &  body  )  const [inline]
template<typename types >
void OpenTissue::mbd::SpatialHashing< types >::collision_policy::report ( data_type const &  data,
query_type const &  query,
result_container results 
) [inline]
template<typename types >
void OpenTissue::mbd::SpatialHashing< types >::collision_policy::reset ( result_container results  )  [inline]

Member Data Documentation


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