------------------------------------------------------------------------------
| 1281 | |
| 1282 | //------------------------------------------------------------------------------ |
| 1283 | void 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 | //------------------------------------------------------------------------------ |
| 1301 | void vtkCellTreeLocator::ForceBuildLocator() |
no test coverage detected