public

Inheritance Graph

graph BT
	kDTreeBuilder
	kDTreeBuilder --> Builder
	click kDTreeBuilder "classMinSG_1_1TriangleTrees_1_1kDTreeBuilder"
	click Builder "classMinSG_1_1TriangleTrees_1_1Builder"

Description

Class that creates a kDTree .

Author: Benjamin Eikel

Date: 2009-06-29

Public Functions

   
   
  kDTreeBuilder(std::size_t _trianglesPerNode, float _allowedBBEnlargement)
   
TriangleTree * buildTriangleTree( Rendering::Mesh * mesh)

Documentation

function
MinSG::TriangleTrees::kDTreeBuilder::kDTreeBuilder

public inline explicit
     
     
kDTreeBuilder( std::size_t _trianglesPerNode,
  float _allowedBBEnlargement
)    

Defined in MinSG/Ext/TriangleTrees/kDTreeBuilder.h:32


function
MinSG::TriangleTrees::kDTreeBuilder::buildTriangleTree

public virtual
     
     
TriangleTree * buildTriangleTree( Rendering::Mesh * mesh )

Create an kDTree root by extracting geometry frommesh.

Parameters

mesh
Mesh containing geometry.

Returns

Root node of constructed kDTree .

See also: kDTree::kdTree()

Defined in MinSG/Ext/TriangleTrees/kDTreeBuilder.h:43