VTK  9.3.20240423
vtkLinearKernel.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
19#ifndef vtkLinearKernel_h
20#define vtkLinearKernel_h
21
22#include "vtkFiltersPointsModule.h" // For export macro
24
25VTK_ABI_NAMESPACE_BEGIN
26class vtkIdList;
27class vtkDoubleArray;
28
29class VTKFILTERSPOINTS_EXPORT vtkLinearKernel : public vtkGeneralizedKernel
30{
31public:
33
38 void PrintSelf(ostream& os, vtkIndent indent) override;
40
41 // Re-use any superclass signatures that we don't override.
43
59 double x[3], vtkIdList* pIds, vtkDoubleArray* prob, vtkDoubleArray* weights) override;
60
61protected:
63 ~vtkLinearKernel() override;
64
65private:
66 vtkLinearKernel(const vtkLinearKernel&) = delete;
67 void operator=(const vtkLinearKernel&) = delete;
68};
69
70VTK_ABI_NAMESPACE_END
71#endif
dynamic, self-adjusting array of double
flexible, general interpolation kernels
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,...
list of point or cell ids
Definition vtkIdList.h:133
a simple class to control print indentation
Definition vtkIndent.h:108
a linear interpolation kernel
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
~vtkLinearKernel() override
vtkIdType ComputeWeights(double x[3], vtkIdList *pIds, vtkDoubleArray *prob, vtkDoubleArray *weights) override
Given a point x, a list of basis points pIds, and a probability weighting function prob,...
static vtkLinearKernel * New()
Standard methods for instantiation, obtaining type information, and printing.
int vtkIdType
Definition vtkType.h:315