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

Method BuildLocator

Common/DataModel/vtkStaticCellLocator.cxx:1446–1461  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1444
1445//------------------------------------------------------------------------------
1446void vtkStaticCellLocator::BuildLocator()
1447{
1448 // don't rebuild if build time is newer than modified and dataset modified time
1449 if (this->Binner && this->BuildTime > this->MTime && this->BuildTime > this->DataSet->GetMTime())
1450 {
1451 return;
1452 }
1453 // don't rebuild if UseExistingSearchStructure is ON and a search structure already exists
1454 if (this->Binner && this->UseExistingSearchStructure)
1455 {
1456 this->BuildTime.Modified();
1457 vtkDebugMacro(<< "BuildLocator exited - UseExistingSearchStructure");
1458 return;
1459 }
1460 this->BuildLocatorInternal();
1461}
1462
1463//------------------------------------------------------------------------------
1464void vtkStaticCellLocator::ForceBuildLocator()

Callers 6

FindCellMethod · 0.95
FindCellsWithinBoundsMethod · 0.95
FindCellsAlongPlaneMethod · 0.95
IntersectWithLineMethod · 0.95

Calls 3

BuildLocatorInternalMethod · 0.95
GetMTimeMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected