------------------------------------------------------------------------------
| 489 | |
| 490 | //------------------------------------------------------------------------------ |
| 491 | void vtkIncrementalOctreePointLocator::BuildLocator() |
| 492 | { |
| 493 | // don't rebuild if build time is newer than modified and dataset modified time |
| 494 | if (this->OctreeRootNode && this->BuildTime > this->MTime && |
| 495 | this->BuildTime > this->DataSet->GetMTime()) |
| 496 | { |
| 497 | return; |
| 498 | } |
| 499 | // don't rebuild if UseExistingSearchStructure is ON and a search structure already exists |
| 500 | if (this->OctreeRootNode && this->UseExistingSearchStructure) |
| 501 | { |
| 502 | this->BuildTime.Modified(); |
| 503 | vtkDebugMacro(<< "BuildLocator exited - UseExistingSearchStructure"); |
| 504 | return; |
| 505 | } |
| 506 | this->BuildLocatorInternal(); |
| 507 | } |
| 508 | |
| 509 | //------------------------------------------------------------------------------ |
| 510 | void vtkIncrementalOctreePointLocator::ForceBuildLocator() |
no test coverage detected