public |
Inheritance Graph
graph BT
ABTreeBuilder
ABTreeBuilder --> Builder
click ABTreeBuilder "classMinSG_1_1TriangleTrees_1_1ABTreeBuilder"
click Builder "classMinSG_1_1TriangleTrees_1_1Builder"
Description
Class that creates a kDTree from a MinSG scene given by its root node. It extracts the triangles needed by the kDTree from meshes of the GeometryNodes inside the scene.
Author: Benjamin Eikel
Date: 2009-06-29
Public Functions
ABTreeBuilder(std::size_t _trianglesPerNode, float _allowedBBEnlargement) | |
TriangleTree * | buildTriangleTree( Rendering::Mesh * mesh) |
Documentation
function
MinSG::TriangleTrees::ABTreeBuilder::ABTreeBuilder
public | inline | explicit |
ABTreeBuilder( | std::size_t | _trianglesPerNode, |
float | _allowedBBEnlargement | |
) |
Defined in MinSG/Ext/TriangleTrees/ABTreeBuilder.h:34
function
MinSG::TriangleTrees::ABTreeBuilder::buildTriangleTree
public | virtual |
TriangleTree * buildTriangleTree( | Rendering::Mesh * | mesh ) |
Create an ABTree root by extracting geometry frommesh.
Parameters
- mesh
- Mesh containing geometry.
Returns
Root node of constructed ABTree .
See also: ABTree::ABTree()
Defined in MinSG/Ext/TriangleTrees/ABTreeBuilder.h:45