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=========================================================================*/
39#ifndef vtkProbabilisticVoronoiKernel_h
40#define vtkProbabilisticVoronoiKernel_h
41
42#include "vtkFiltersPointsModule.h" // For export macro
44
45class vtkIdList;
46class vtkDoubleArray;
47
48
49class VTKFILTERSPOINTS_EXPORT vtkProbabilisticVoronoiKernel : public vtkGeneralizedKernel
50{
51public:
53
58 void PrintSelf(ostream& os, vtkIndent indent);
60
61 // Re-use any superclass signatures that we don't override.
63
78 virtual vtkIdType ComputeWeights(double x[3], vtkIdList *pIds,
79 vtkDoubleArray *prob, vtkDoubleArray *weights);
80
81protected:
84
85private:
87 void operator=(const vtkProbabilisticVoronoiKernel&) VTK_DELETE_FUNCTION;
88};
89
90#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:37
a simple class to control print indentation
Definition: vtkIndent.h:40
interpolate from the weighted closest point
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,...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkProbabilisticVoronoiKernel * New()
Standard methods for instantiation, obtaining type information, and printing.
int vtkIdType
Definition: vtkType.h:287