![]() |
TAPs 0.7.7.3
|
Include dependency graph for TAPsCDLib.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| template<typename T > | |
| BEGIN_NAMESPACE_TAPs__CD BVHTree< T > * | BuildBVHTree (TransformationSupport< T > &transform, HEFaceList< T > *heFaceList, Enum::CD treeType) |
| Build a BVH tree from a half-edge face list, i.e., for any model that is an instance of a HalfEdgeModel. | |
A header file for including TAPs CD (Collision Detection) libraries.
Definition in file TAPsCDLib.hpp.
| BEGIN_NAMESPACE_TAPs__CD BVHTree<T>* BuildBVHTree | ( | TransformationSupport< T > & | transform, |
| HEFaceList< T > * | heFaceList, | ||
| Enum::CD | treeType | ||
| ) |
Build a BVH tree from a half-edge face list, i.e., for any model that is an instance of a HalfEdgeModel.
| transform | I/P: Transformation for the face list |
| heFaceList | I/P: half-edge face list |
| treeType | I/P: BVHTree type |
Definition at line 98 of file TAPsCDLib.hpp.
References BVH_TREE_BINARY_SPHERE.
Referenced by ModelSurgicalSutureWithHeadNeedle_CD< T >::CreateCD(), and ElasticRodCD< T >::CreateCD().
{
switch ( treeType ) {
case Enum::BVH_TREE_BINARY_SPHERE:
return new BVHTree_BinarySphere<T>( transform, heFaceList );
break;
default:
std::cout << "(TAPsCDLib.hpp) TAPs::CD::BuildBVHTree for Tree Type (" << treeType << ") NOT IMPLEMENTED YET!\n";
break;
}
return NULL;
}
Here is the caller graph for this function: