Public Member Functions

OpenTissue::bvh::SingleCollisionQuery< collision_policy > Class Template Reference

#include <bvh_single_collision_query.h>

Inheritance diagram for OpenTissue::bvh::SingleCollisionQuery< collision_policy >:
collision_policy

List of all members.

Public Member Functions

template<typename coordsys_type , typename bvh_type , typename user_geometry_type , typename results_container >
void run (coordsys_type const &xform, bvh_type const &bvh, user_geometry_type const &geometry, results_container &results)

Detailed Description

template<typename collision_policy>
class OpenTissue::bvh::SingleCollisionQuery< collision_policy >

Single Collision Query. This query tests the BVH recursively against a user specified geometry.


Member Function Documentation

template<typename collision_policy>
template<typename coordsys_type , typename bvh_type , typename user_geometry_type , typename results_container >
void OpenTissue::bvh::SingleCollisionQuery< collision_policy >::run ( coordsys_type const &  xform,
bvh_type const &  bvh,
user_geometry_type const &  geometry,
results_container &  results 
) [inline]

Collision Query.

Parameters:
xform Coordinate transform, can be used to bring bvh into geometry frame or vice versa.
bvh The bvh.
geometry The geometry.
results Upon return this container contains any results from the collision query.

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