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

Method FindPointsInArea

Common/DataModel/vtkKdTree.cxx:4609–4621  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

4607
4608//------------------------------------------------------------------------------
4609void vtkKdTree::FindPointsInArea(double* area, vtkIdTypeArray* ids, bool clearArray)
4610{
4611 if (clearArray)
4612 {
4613 ids->Reset();
4614 }
4615 if (!this->LocatorPoints)
4616 {
4617 vtkErrorMacro(<< "vtkKdTree::FindPointsInArea - must build locator first");
4618 return;
4619 }
4620 this->FindPointsInArea(this->Top, area, ids);
4621}
4622
4623//------------------------------------------------------------------------------
4624void vtkKdTree::FindPointsInArea(vtkKdNode* node, double* area, vtkIdTypeArray* ids)

Callers 4

TestKdTreeFunctionsFunction · 0.45
TestKdTreeBoxSelectionFunction · 0.45
RequestDataMethod · 0.45
GetPointsInsideBoundsMethod · 0.45

Calls 5

AddAllPointsInRegionMethod · 0.95
ResetMethod · 0.45
GetBoundsMethod · 0.45
GetNumberOfPointsMethod · 0.45
InsertNextValueMethod · 0.45

Tested by 2

TestKdTreeFunctionsFunction · 0.36
TestKdTreeBoxSelectionFunction · 0.36