Public Types | Public Member Functions

OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry > Class Template Reference

#include <aabb_tree_single_collision_policy.h>

List of all members.

Public Types

typedef
aabb_tree_geometry::bvh_type 
bvh_type
typedef bvh_type::volume_type volume_type
typedef bvh_type::geometry_type geometry_type
typedef bvh_type::geometry_iterator geometry_iterator
typedef bvh_type::bv_ptr bv_ptr
typedef bvh_type::annotated_bv_ptr annotated_bv_ptr
typedef bvh_type::annotated_bv_type annotated_bv_type
typedef volume_type::math_types math_types
typedef math_types::real_type real_type
typedef math_types::vector3_type vector3_type

Public Member Functions

template<typename contact_point_container >
void reset (contact_point_container &)
template<typename coord_transform , typename point_data_type >
bool overlap (coord_transform const &, bv_ptr bv, point_data_type const &point)
template<typename coord_transform , typename contact_point_container , typename point_data_type >
void report (coord_transform const &, bv_ptr bv, point_data_type const &point, contact_point_container &contacts)

Detailed Description

template<typename aabb_tree_geometry>
class OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >

Single AABB Tree Collision Policy. This collision policy have been tailored to the needs of particle/point against a BVH query.


Member Typedef Documentation

template<typename aabb_tree_geometry >
typedef bvh_type::annotated_bv_ptr OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::annotated_bv_ptr
template<typename aabb_tree_geometry >
typedef bvh_type::annotated_bv_type OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::annotated_bv_type
template<typename aabb_tree_geometry >
typedef bvh_type::bv_ptr OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::bv_ptr
template<typename aabb_tree_geometry >
typedef aabb_tree_geometry::bvh_type OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::bvh_type
template<typename aabb_tree_geometry >
typedef bvh_type::geometry_iterator OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::geometry_iterator
template<typename aabb_tree_geometry >
typedef bvh_type::geometry_type OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::geometry_type
template<typename aabb_tree_geometry >
typedef volume_type::math_types OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::math_types
template<typename aabb_tree_geometry >
typedef math_types::real_type OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::real_type
template<typename aabb_tree_geometry >
typedef math_types::vector3_type OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::vector3_type
template<typename aabb_tree_geometry >
typedef bvh_type::volume_type OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::volume_type

Member Function Documentation

template<typename aabb_tree_geometry >
template<typename coord_transform , typename point_data_type >
bool OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::overlap ( coord_transform const &  ,
bv_ptr  bv,
point_data_type const &  point 
) [inline]
Parameters:
point The point/particle data type that should be tested for collision with the BVH. The data type must support the two methods position() and old_position().
template<typename aabb_tree_geometry >
template<typename coord_transform , typename contact_point_container , typename point_data_type >
void OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::report ( coord_transform const &  ,
bv_ptr  bv,
point_data_type const &  point,
contact_point_container &  contacts 
) [inline]
Parameters:
point The point/particle data type that should be tested for collision with the BVH. The data type must support the two methods position() and old_position().
template<typename aabb_tree_geometry >
template<typename contact_point_container >
void OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::reset ( contact_point_container &   )  [inline]

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