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

Method BuildLocator

Common/DataModel/vtkCellTreeLocator.cxx:1283–1298  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1281
1282//------------------------------------------------------------------------------
1283void vtkCellTreeLocator::BuildLocator()
1284{
1285 // don't rebuild if build time is newer than modified and dataset modified time
1286 if (this->Tree && this->BuildTime > this->MTime && this->BuildTime > this->DataSet->GetMTime())
1287 {
1288 return;
1289 }
1290 // don't rebuild if UseExistingSearchStructure is ON and a search structure already exists
1291 if (this->Tree && this->UseExistingSearchStructure)
1292 {
1293 this->BuildTime.Modified();
1294 vtkDebugMacro(<< "BuildLocator exited - UseExistingSearchStructure");
1295 return;
1296 }
1297 this->BuildLocatorInternal();
1298}
1299
1300//------------------------------------------------------------------------------
1301void vtkCellTreeLocator::ForceBuildLocator()

Callers 4

FindCellMethod · 0.95
FindCellsWithinBoundsMethod · 0.95
IntersectWithLineMethod · 0.95

Calls 3

BuildLocatorInternalMethod · 0.95
GetMTimeMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected