Public Member Functions

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

#include <bvh_model_collision_query.h>

Inheritance diagram for OpenTissue::bvh::ModelCollisionQuery< collision_policy >:
collision_policy OpenTissue::obb_tree::CollisionQuery< collision_policy >

List of all members.

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)

Detailed Description

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

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.


Member Function Documentation

template<typename collision_policy >
template<typename coordsys_type , typename bvh_type , typename results_container >
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.

Parameters:
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 >.


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