MCPcopy Create free account
hub / github.com/Kitware/VTK / CreateDefaultLocator

Method CreateDefaultLocator

Filters/General/vtkBoxClipDataSet.cxx:487–495  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Specify a spatial locator for merging points. By default, an instance of vtkMergePoints is used.

Source from the content-addressed store, hash-verified

485// Specify a spatial locator for merging points. By default,
486// an instance of vtkMergePoints is used.
487void vtkBoxClipDataSet::CreateDefaultLocator()
488{
489 if (this->Locator == nullptr)
490 {
491 this->Locator = vtkMergePoints::New();
492 this->Locator->Register(this);
493 this->Locator->Delete();
494 }
495}
496
497//------------------------------------------------------------------------------
498// Set the box for clipping

Callers 1

RequestDataMethod · 0.95

Calls 3

DeleteMethod · 0.65
NewFunction · 0.50
RegisterMethod · 0.45

Tested by

no test coverage detected