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

Method CreateDefaultLocator

Filters/Modeling/vtkAdaptiveSubdivisionFilter.cxx:40–48  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

38
39//------------------------------------------------------------------------------
40void vtkAdaptiveSubdivisionFilter::CreateDefaultLocator()
41{
42 if (this->Locator == nullptr)
43 {
44 this->Locator = vtkMergePoints::New();
45 this->Locator->Register(this);
46 this->Locator->Delete();
47 }
48}
49
50//------------------------------------------------------------------------------
51// Overload standard modified time function.

Callers 1

RequestDataMethod · 0.95

Calls 3

DeleteMethod · 0.65
NewFunction · 0.50
RegisterMethod · 0.45

Tested by

no test coverage detected