#include <bvh_model_collision_query.h>
Public Member Functions | |
template<typename coordsys_type , typename bvh_type , typename results_container > | |
void | run (coordsys_type const &A2B, bvh_type const &bvh_A, bvh_type const &bvh_B, results_container &results) |
Model Frame Query. This query assems that bvh A needs to be transformed into bvh B, this is called a model update. Thus we call this a model collision query.
void OpenTissue::bvh::ModelCollisionQuery< collision_policy >::run | ( | coordsys_type const & | A2B, | |
bvh_type const & | bvh_A, | |||
bvh_type const & | bvh_B, | |||
results_container & | results | |||
) | [inline] |
Model Frame Query.
A2B | Model transform, brings bvh A into same frame as bvh B. | |
bvh_A | bvh A. | |
bvh_B | bvh B | |
results | Upon return this container contains any results from the collision query. |
Reimplemented in OpenTissue::obb_tree::CollisionQuery< collision_policy >.