#include <bvh_graph.h>
List of all members.
Detailed Description
template<typename bvh_type>
class OpenTissue::bvh::BVHGraph< bvh_type >
A BVH Graph. This data structure is used exclusively for bottom-up construction of BVHs.
Member Typedef Documentation
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
Constructor & Destructor Documentation
template<typename bvh_type >
template<typename bvh_type >
Member Function Documentation
template<typename bvh_type >
Clear Graph. Removes all edges and nodes.
template<typename bvh_type >
Edge Collapse.
- Parameters:
-
| edge | A pointer to the edge that should be collapsed into a node. |
- Returns:
- A pointer to the new node that corresponds to the collapsed edge. The previous incident nodes are now sub-nodes of the new node.
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
Insert Edge. This method inserts and edge between the two specified nodes.
The method guards against self-loofs and redudant edges, both of which is illegal.
- Parameters:
-
| A | A pointer to the first node. |
| B | A pointer to the second node. |
- Returns:
- A pointer to the newly created edge.
template<typename bvh_type >
Insert Node.
- Parameters:
-
| geometry | The initial geometry covered by the new node. |
- Returns:
- A pointer to the new node.
template<typename bvh_type >
Insert Node.
- Parameters:
-
| volume | The initial volume of the new node. |
- Returns:
- A pointer to the new node.
template<typename bvh_type >
Insert Node.
- Parameters:
-
| volume | The initial volume of the new node. |
| geometry | The initial geometry covered by the new node. |
- Returns:
- A pointer to the new node.
template<typename bvh_type >
Insert Node.
- Parameters:
-
| volume | The initial volume of the new node. |
| geometry | The initial geometry covered by the new node. |
- Returns:
- A pointer to the new node.
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
template<typename bvh_type >
Remove Node. This method is invoked by the remove_subnodes() method.
- Parameters:
-
| node | A pointer to the node that should be removed. |
template<typename bvh_type >
Remove Edge. This method is invoked by the collapse method.
- Parameters:
-
| edge | A poiniter to the edge that should be removed. |
template<typename bvh_type >
Remove Subnodes. This method is invoked by the BottomUpConstructor algorithm.
- Parameters:
-
| node | A pointer to the node where all subnode should be removed. |
template<typename bvh_type >
Retrive the number of edges in graph.
- Returns:
- Number of edges.
template<typename bvh_type >
Retrive the number of nodes in graph.
- Returns:
- Number of nodes.
Member Data Documentation
template<typename bvh_type >
template<typename bvh_type >
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_graph.h