------------------------------------------------------------------------------
| 1444 | |
| 1445 | //------------------------------------------------------------------------------ |
| 1446 | void 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 | //------------------------------------------------------------------------------ |
| 1464 | void vtkStaticCellLocator::ForceBuildLocator() |
no test coverage detected