public |
Inheritance Graph
graph BT
OctreeBuilder
OctreeBuilder --> Builder
click OctreeBuilder "classMinSG_1_1TriangleTrees_1_1OctreeBuilder"
click Builder "classMinSG_1_1TriangleTrees_1_1Builder"
Description
Class that creates an octree, which can be a loose octree on request.
Author: Benjamin Eikel
Date: 2011-07-26
Public Functions
OctreeBuilder(std::size_t _trianglesPerNode, float _looseFactor) | |
TriangleTree * | buildTriangleTree( Rendering::Mesh * mesh) |
Documentation
function
MinSG::TriangleTrees::OctreeBuilder::OctreeBuilder
public | inline | explicit |
OctreeBuilder( | std::size_t | _trianglesPerNode, |
float | _looseFactor | |
) |
Defined in MinSG/Ext/TriangleTrees/OctreeBuilder.h:32
function
MinSG::TriangleTrees::OctreeBuilder::buildTriangleTree
public | virtual |
TriangleTree * buildTriangleTree( | Rendering::Mesh * | mesh ) |
Create an octree root by extracting geometry frommesh.
Parameters
- mesh
- Mesh containing geometry.
Returns
Root node of constructed octree.
See also: Octree::Octree()
Defined in MinSG/Ext/TriangleTrees/OctreeBuilder.h:43