VTK  9.2.6
vtkLinearKernel.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLinearKernel.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
31 #ifndef vtkLinearKernel_h
32 #define vtkLinearKernel_h
33 
34 #include "vtkFiltersPointsModule.h" // For export macro
35 #include "vtkGeneralizedKernel.h"
36 
37 class vtkIdList;
38 class vtkDoubleArray;
39 
40 class VTKFILTERSPOINTS_EXPORT vtkLinearKernel : public vtkGeneralizedKernel
41 {
42 public:
44 
47  static vtkLinearKernel* New();
49  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
52  // Re-use any superclass signatures that we don't override.
54 
70  double x[3], vtkIdList* pIds, vtkDoubleArray* prob, vtkDoubleArray* weights) override;
71 
72 protected:
74  ~vtkLinearKernel() override;
75 
76 private:
77  vtkLinearKernel(const vtkLinearKernel&) = delete;
78  void operator=(const vtkLinearKernel&) = delete;
79 };
80 
81 #endif
flexible, general interpolation kernels
int vtkIdType
Definition: vtkType.h:332
a linear interpolation kernel
dynamic, self-adjusting array of double
a simple class to control print indentation
Definition: vtkIndent.h:39
list of point or cell ids
Definition: vtkIdList.h:33
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...
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type and printing.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...