63#ifndef vtkGeneralizedKernel_h
64#define vtkGeneralizedKernel_h
66#include "vtkFiltersPointsModule.h"
144 vtkSetMacro(KernelFootprint,
int);
145 vtkGetMacro(KernelFootprint,
int);
156 vtkGetMacro(Radius,
double);
165 vtkGetMacro(NumberOfPoints,
int);
174 vtkSetMacro(NormalizeWeights,
bool);
175 vtkGetMacro(NormalizeWeights,
bool);
176 vtkBooleanMacro(NormalizeWeights,
bool);
dynamic, self-adjusting array of double
flexible, general interpolation kernels
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type and printing.
vtkIdType ComputeBasis(double x[3], vtkIdList *pIds, vtkIdType ptId=0) override
Based on the kernel style, invoke the appropriate locator method to obtain the points making up the b...
vtkIdType ComputeWeights(double x[3], vtkIdList *pIds, vtkDoubleArray *weights) override
Given a point x, and a list of basis points pIds, compute interpolation weights associated with these...
void SetKernelFootprintToRadius()
Specify the interpolation basis style.
void SetKernelFootprintToNClosest()
Specify the interpolation basis style.
KernelStyle
Enum used to select the interpolation basis form.
virtual vtkIdType ComputeWeights(double x[3], vtkIdList *pIds, vtkDoubleArray *prob, vtkDoubleArray *weights)=0
Given a point x, a list of basis points pIds, and a probability weighting function prob,...
~vtkGeneralizedKernel() override
list of point or cell ids
a simple class to control print indentation
base class for interpolation kernels
virtual vtkIdType ComputeWeights(double x[3], vtkIdList *pIds, vtkDoubleArray *weights)=0
Given a point x, and a list of basis points pIds, compute interpolation weights associated with these...