55 #ifndef vtkSPHKernel_h 56 #define vtkSPHKernel_h 58 #include "vtkFiltersPointsModule.h" 85 vtkGetMacro(SpatialStep,
double);
92 vtkSetClampMacro(Dimension,
int,1,3);
93 vtkGetMacro(Dimension,
int);
101 vtkGetMacro(CutoffFactor,
double);
168 virtual double ComputeFunctionWeight(
const double d) = 0;
174 virtual double ComputeDerivWeight(
const double d) = 0;
183 vtkGetMacro(NormFactor,
double);
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