------------------------------------------------------------------------------
| 24 | |
| 25 | //------------------------------------------------------------------------------ |
| 26 | vtkIdType vtkGeneralizedKernel::ComputeBasis(double x[3], vtkIdList* pIds, vtkIdType) |
| 27 | { |
| 28 | if (this->KernelFootprint == vtkGeneralizedKernel::RADIUS) |
| 29 | { |
| 30 | this->Locator->FindPointsWithinRadius(this->Radius, x, pIds); |
| 31 | } |
| 32 | else |
| 33 | { |
| 34 | this->Locator->FindClosestNPoints(this->NumberOfPoints, x, pIds); |
| 35 | } |
| 36 | |
| 37 | return pIds->GetNumberOfIds(); |
| 38 | } |
| 39 | |
| 40 | //------------------------------------------------------------------------------ |
| 41 | void vtkGeneralizedKernel::PrintSelf(ostream& os, vtkIndent indent) |
nothing calls this directly
no test coverage detected