MCPcopy Create free account
hub / github.com/Kitware/VTK / BuildLocator

Method BuildLocator

Common/DataModel/vtkStaticPointLocator.cxx:1595–1615  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1593
1594//------------------------------------------------------------------------------
1595void vtkStaticPointLocator::BuildLocator()
1596{
1597 // Short circuit mtime query process in tight loops
1598 if (this->Static)
1599 {
1600 return;
1601 }
1602 // don't rebuild if build time is newer than modified and dataset modified time
1603 if (this->Buckets && this->BuildTime > this->MTime && this->BuildTime > this->DataSet->GetMTime())
1604 {
1605 return;
1606 }
1607 // don't rebuild if UseExistingSearchStructure is ON and a search structure already exists
1608 if (this->Buckets && this->UseExistingSearchStructure)
1609 {
1610 this->BuildTime.Modified();
1611 vtkDebugMacro(<< "BuildLocator exited - UseExistingSearchStructure");
1612 return;
1613 }
1614 this->BuildLocatorInternal();
1615}
1616
1617//------------------------------------------------------------------------------
1618void vtkStaticPointLocator::ForceBuildLocator()

Callers 12

FindClosestPointMethod · 0.95
FindClosestNPointsMethod · 0.95
FindNPointsInShellMethod · 0.95
IntersectWithLineMethod · 0.95
GetBucketIdsMethod · 0.95
MergePointsMethod · 0.95
MergePointsWithDataMethod · 0.95
BuildLocatorInternalMethod · 0.45

Calls 8

BuildLocatorInternalMethod · 0.95
FreeSearchStructureMethod · 0.95
ComputeDivisionsMethod · 0.80
GetMTimeMethod · 0.45
ModifiedMethod · 0.45
GetNumberOfPointsMethod · 0.45
GetBoundsMethod · 0.45
InflateMethod · 0.45

Tested by

no test coverage detected