51#ifndef vtkGeneralizedKernel_h
52#define vtkGeneralizedKernel_h
54#include "vtkFiltersPointsModule.h"
57VTK_ABI_NAMESPACE_BEGIN
133 vtkSetMacro(KernelFootprint,
int);
134 vtkGetMacro(KernelFootprint,
int);
145 vtkGetMacro(Radius,
double);
154 vtkGetMacro(NumberOfPoints,
int);
163 vtkSetMacro(NormalizeWeights,
bool);
164 vtkGetMacro(NormalizeWeights,
bool);
165 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...