VTK
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 
41 class VTKFILTERSPOINTS_EXPORT vtkLinearKernel : public vtkGeneralizedKernel
42 {
43 public:
45 
48  static vtkLinearKernel *New();
50  void PrintSelf(ostream& os, vtkIndent indent);
52 
53  // Re-use any superclass signatures that we don't override.
55 
70  virtual vtkIdType ComputeWeights(double x[3], vtkIdList *pIds,
71  vtkDoubleArray *prob, vtkDoubleArray *weights);
72 
73 protected:
76 
77 private:
78  vtkLinearKernel(const vtkLinearKernel&) VTK_DELETE_FUNCTION;
79  void operator=(const vtkLinearKernel&) VTK_DELETE_FUNCTION;
80 };
81 
82 #endif
vtkIdType
int vtkIdType
Definition: vtkType.h:287
vtkLinearKernel
a linear interpolation kernel
Definition: vtkLinearKernel.h:42
vtkGeneralizedKernel.h
vtkLinearKernel::~vtkLinearKernel
~vtkLinearKernel()
vtkLinearKernel::ComputeWeights
virtual vtkIdType ComputeWeights(double x[3], vtkIdList *pIds, vtkDoubleArray *prob, vtkDoubleArray *weights)
Given a point x, a list of basis points pIds, and a probability weighting function prob,...
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkGeneralizedKernel
flexible, general interpolation kernels
Definition: vtkGeneralizedKernel.h:71
vtkLinearKernel::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:37
vtkLinearKernel::vtkLinearKernel
vtkLinearKernel()
vtkDoubleArray
dynamic, self-adjusting array of double
Definition: vtkDoubleArray.h:42
vtkGeneralizedKernel::ComputeWeights
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,...
vtkLinearKernel::New
static vtkLinearKernel * New()
Standard methods for instantiation, obtaining type information, and printing.