MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / buildSpatialStructure

Function buildSpatialStructure

openpgl/field/Field.h:397–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395 }
396
397 inline void buildSpatialStructure(const BBox &bounds, SampleContainerInternal &samples)
398 {
399 m_spatialSubdivBuilder.build(m_spatialSubdiv, bounds, samples, m_regionStorageContainer, m_spatialSubdivBuilderSettings);
400 if (m_useStochasticNNLookUp)
401 {
402 m_regionKNNSearchTree.buildRegionSearchTree(m_regionStorageContainer);
403 if (USE_PRECOMPUTED_NN)
404 {
405 m_regionKNNSearchTree.buildRegionNeighbours();
406 }
407 }
408 }
409
410 inline void updateSpatialStructure(SampleContainerInternal &samples, ZeroValueSampleContainerInternal &zeroValueSamples)
411 {

Callers 1

Field.hFile · 0.85

Calls 3

buildMethod · 0.80
buildRegionSearchTreeMethod · 0.80
buildRegionNeighboursMethod · 0.80

Tested by

no test coverage detected