#include <bvh_bottom_up_constructor.h>
List of all members.
Detailed Description
template<typename bvh_type, typename bottom_up_policy = DefaultPriorityBottomUpPolicy<bvh_type>>
class OpenTissue::bvh::BottomUpConstructor< bvh_type, bottom_up_policy >
A graph-based deterministic bottom-up BVH contruction algorithm
The bottom-up policy has to implement the following methods:
void init(graph_type & graph) void update_priorities(node_type * node) edge_type * next_edge(void)const const bool more_edges(void)const bool should_create_bv(node_type * node) volume_type fit(geometry_iterator g0,geometry_iterator g1,volume_iterator v0,volume_iterator v1)
See class DefaultPriorityBottomUpPolicy for details about what these methods are supposed to do.
Member Typedef Documentation
template<typename bvh_type , typename bottom_up_policy = DefaultPriorityBottomUpPolicy<bvh_type>>
template<typename bvh_type , typename bottom_up_policy = DefaultPriorityBottomUpPolicy<bvh_type>>
template<typename bvh_type , typename bottom_up_policy = DefaultPriorityBottomUpPolicy<bvh_type>>
template<typename bvh_type , typename bottom_up_policy = DefaultPriorityBottomUpPolicy<bvh_type>>
template<typename bvh_type , typename bottom_up_policy = DefaultPriorityBottomUpPolicy<bvh_type>>
template<typename bvh_type , typename bottom_up_policy = DefaultPriorityBottomUpPolicy<bvh_type>>
template<typename bvh_type , typename bottom_up_policy = DefaultPriorityBottomUpPolicy<bvh_type>>
template<typename bvh_type , typename bottom_up_policy = DefaultPriorityBottomUpPolicy<bvh_type>>
template<typename bvh_type , typename bottom_up_policy = DefaultPriorityBottomUpPolicy<bvh_type>>
template<typename bvh_type , typename bottom_up_policy = DefaultPriorityBottomUpPolicy<bvh_type>>
Member Function Documentation
template<typename bvh_type , typename bottom_up_policy = DefaultPriorityBottomUpPolicy<bvh_type>>
Run Algorithm.
- Parameters:
-
| graph | Initial graph, nodes represent leaves in resulting BVH, and edges represent possible ways to group BV nodes into parent nodes during the bottom-up construction. |
| bvh | Upon return this argument holds the resulting BVH. |
The documentation for this class was generated from the following file:
- /home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/OpenTissue/OpenTissue/collision/bvh/bottom_up_constructor/bvh_bottom_up_constructor.h