63 #ifndef vtkGeneralizedKernel_h 64 #define vtkGeneralizedKernel_h 66 #include "vtkFiltersPointsModule.h" 145 vtkSetMacro(KernelFootprint,
int);
146 vtkGetMacro(KernelFootprint,
int);
148 { this->SetKernelFootprint(RADIUS); }
150 { this->SetKernelFootprint(N_CLOSEST); }
159 vtkGetMacro(Radius,
double);
167 vtkSetClampMacro(NumberOfPoints,
int,1,
VTK_INT_MAX);
168 vtkGetMacro(NumberOfPoints,
int);
177 vtkSetMacro(NormalizeWeights,
bool);
178 vtkGetMacro(NormalizeWeights,
bool);
179 vtkBooleanMacro(NormalizeWeights,
bool);
virtual vtkIdType ComputeBasis(double x[3], vtkIdList *pIds, vtkIdType ptId=0)=0
Given a point x (and optional associated point id), determine the points around x which form an inter...
void SetKernelFootprintToNClosest()
Specify the interpolation basis style.
base class for interpolation kernels
flexible, general 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...
void SetKernelFootprintToRadius()
Specify the interpolation basis style.
dynamic, self-adjusting array of double
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...
a simple class to control print indentation
list of point or cell ids
void PrintSelf(ostream &os, vtkIndent indent) override
Standard method for type and printing.
KernelStyle
Enum used to select the interpolation basis form.