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

Method CreateDefaultLocator

Filters/Generic/vtkGenericContourFilter.cxx:268–276  ·  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

266// Specify a spatial locator for merging points. By default,
267// an instance of vtkMergePoints is used.
268void vtkGenericContourFilter::CreateDefaultLocator()
269{
270 if (this->Locator == nullptr)
271 {
272 this->Locator = vtkMergePoints::New();
273 this->Locator->Register(this);
274 this->Locator->Delete();
275 }
276}
277
278//------------------------------------------------------------------------------
279void vtkGenericContourFilter::SelectInputScalars(const char* fieldName)

Callers 1

RequestDataMethod · 0.95

Calls 3

DeleteMethod · 0.65
NewFunction · 0.50
RegisterMethod · 0.45

Tested by

no test coverage detected