VTK
vtkProbabilisticVoronoiKernel.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkProbabilisticVoronoiKernel.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 =========================================================================*/
36 #ifndef vtkProbabilisticVoronoiKernel_h
37 #define vtkProbabilisticVoronoiKernel_h
38 
39 #include "vtkFiltersPointsModule.h" // For export macro
40 #include "vtkGeneralizedKernel.h"
41 
42 class vtkIdList;
43 class vtkDoubleArray;
44 
45 
46 class VTKFILTERSPOINTS_EXPORT vtkProbabilisticVoronoiKernel : public vtkGeneralizedKernel
47 {
48 public:
50 
55  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
57 
58  // Re-use any superclass signatures that we don't override.
60 
75  vtkIdType ComputeWeights(double x[3], vtkIdList *pIds,
76  vtkDoubleArray *prob, vtkDoubleArray *weights) VTK_OVERRIDE;
77 
78 protected:
80  ~vtkProbabilisticVoronoiKernel() VTK_OVERRIDE;
81 
82 private:
84  void operator=(const vtkProbabilisticVoronoiKernel&) VTK_DELETE_FUNCTION;
85 };
86 
87 #endif
flexible, general interpolation kernels
int vtkIdType
Definition: vtkType.h:345
dynamic, self-adjusting array of double
a simple class to control print indentation
Definition: vtkIndent.h:33
list of point or cell ids
Definition: vtkIdList.h:30
interpolate from the weighted closest point
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...