#include <aabb_tree_single_collision_policy.h>
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) |
Single AABB Tree Collision Policy. This collision policy have been tailored to the needs of particle/point against a BVH query.
typedef bvh_type::annotated_bv_ptr OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::annotated_bv_ptr |
typedef bvh_type::annotated_bv_type OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::annotated_bv_type |
typedef bvh_type::bv_ptr OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::bv_ptr |
typedef aabb_tree_geometry::bvh_type OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::bvh_type |
typedef bvh_type::geometry_iterator OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::geometry_iterator |
typedef bvh_type::geometry_type OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::geometry_type |
typedef volume_type::math_types OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::math_types |
typedef math_types::real_type OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::real_type |
typedef math_types::vector3_type OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::vector3_type |
typedef bvh_type::volume_type OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::volume_type |
bool OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::overlap | ( | coord_transform const & | , | |
bv_ptr | bv, | |||
point_data_type const & | point | |||
) | [inline] |
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(). |
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] |
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(). |
void OpenTissue::aabb_tree::SingleCollisionPolicy< aabb_tree_geometry >::reset | ( | contact_point_container & | ) | [inline] |