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

Function updateSpatialStructure

openpgl/field/Field.h:410–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408 }
409
410 inline void updateSpatialStructure(SampleContainerInternal &samples, ZeroValueSampleContainerInternal &zeroValueSamples)
411 {
412 m_spatialSubdivBuilder.updateTree(m_spatialSubdiv, samples, m_regionStorageContainer, m_spatialSubdivBuilderSettings);
413 m_spatialSubdivBuilder.insertTree(m_spatialSubdiv, zeroValueSamples, m_regionStorageContainer);
414 if (m_useStochasticNNLookUp)
415 {
416 m_regionKNNSearchTree.reset();
417 m_regionKNNSearchTree.buildRegionSearchTree(m_regionStorageContainer);
418 if (USE_PRECOMPUTED_NN)
419 {
420 m_regionKNNSearchTree.buildRegionNeighbours();
421 }
422 }
423 }
424
425 inline void fitRegions(SampleContainerInternal &samples, ZeroValueSampleContainerInternal &zeroValueSamples)
426 {

Callers 1

Field.hFile · 0.85

Calls 5

updateTreeMethod · 0.80
insertTreeMethod · 0.80
buildRegionSearchTreeMethod · 0.80
buildRegionNeighboursMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected