43 #ifndef vtkSPHKernel_h
44 #define vtkSPHKernel_h
46 #include "vtkFiltersPointsModule.h"
49 VTK_ABI_NAMESPACE_BEGIN
72 vtkGetMacro(SpatialStep,
double);
79 vtkSetClampMacro(Dimension,
int, 1, 3);
80 vtkGetMacro(Dimension,
int);
88 vtkGetMacro(CutoffFactor,
double);
152 virtual double ComputeFunctionWeight(
double d) = 0;
158 virtual double ComputeDerivWeight(
double d) = 0;
167 vtkGetMacro(NormFactor,
double);
199 VTK_ABI_NAMESPACE_END
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...
base class for interpolation kernels
represent and manipulate point attribute data
abstract class to specify dataset behavior
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...
dynamic, self-adjusting array of float
dynamic, self-adjusting array of double
vtkDataArray * CutoffArray
a simple class to control print indentation
abstract class to quickly locate points in 3-space
list of point or cell ids
abstract superclass for arrays of numeric data
virtual void Initialize(vtkAbstractPointLocator *loc, vtkDataSet *ds, vtkPointData *pd)
Initialize the kernel.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard method for type and printing.
vtkDataArray * DensityArray
a family of SPH interpolation kernels