------------------------------------------------------------------------------
| 1609 | |
| 1610 | //------------------------------------------------------------------------------ |
| 1611 | void vtkStaticPointLocator2D::BuildLocator() |
| 1612 | { |
| 1613 | // Short circuit mtime query process in tight loops |
| 1614 | if (this->Static) |
| 1615 | { |
| 1616 | return; |
| 1617 | } |
| 1618 | // don't rebuild if build time is newer than modified and dataset modified time |
| 1619 | if (this->Buckets && this->BuildTime > this->MTime && this->BuildTime > this->DataSet->GetMTime()) |
| 1620 | { |
| 1621 | return; |
| 1622 | } |
| 1623 | // don't rebuild if UseExistingSearchStructure is ON and a search structure already exists |
| 1624 | if (this->Buckets && this->UseExistingSearchStructure) |
| 1625 | { |
| 1626 | this->BuildTime.Modified(); |
| 1627 | vtkDebugMacro(<< "BuildLocator exited - UseExistingSearchStructure"); |
| 1628 | return; |
| 1629 | } |
| 1630 | this->BuildLocatorInternal(); |
| 1631 | } |
| 1632 | |
| 1633 | //------------------------------------------------------------------------------ |
| 1634 | void vtkStaticPointLocator2D::ForceBuildLocator() |
no test coverage detected