------------------------------------------------------------------------------
| 277 | |
| 278 | //------------------------------------------------------------------------------ |
| 279 | void vtkOctreePointLocator::BuildLocator() |
| 280 | { |
| 281 | // don't rebuild if build time is newer than modified and dataset modified time |
| 282 | if (this->Top && this->BuildTime > this->MTime && this->BuildTime > this->DataSet->GetMTime()) |
| 283 | { |
| 284 | return; |
| 285 | } |
| 286 | // don't rebuild if UseExistingSearchStructure is ON and a search structure already exists |
| 287 | if (this->Top && this->UseExistingSearchStructure) |
| 288 | { |
| 289 | this->BuildTime.Modified(); |
| 290 | vtkDebugMacro(<< "BuildLocator exited - UseExistingSearchStructure"); |
| 291 | return; |
| 292 | } |
| 293 | this->BuildLocatorInternal(); |
| 294 | } |
| 295 | |
| 296 | //------------------------------------------------------------------------------ |
| 297 | void vtkOctreePointLocator::ForceBuildLocator() |
no test coverage detected