VTK  9.2.6
vtkPCACurvatureEstimation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPCACurvatureEstimation.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See LICENSE file 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 =========================================================================*/
54 #ifndef vtkPCACurvatureEstimation_h
55 #define vtkPCACurvatureEstimation_h
56 
57 #include "vtkFiltersPointsModule.h" // For export macro
58 #include "vtkPolyDataAlgorithm.h"
59 
61 
62 class VTKFILTERSPOINTS_EXPORT vtkPCACurvatureEstimation : public vtkPolyDataAlgorithm
63 {
64 public:
66 
72  void PrintSelf(ostream& os, vtkIndent indent) override;
74 
76 
82  vtkSetClampMacro(SampleSize, int, 1, VTK_INT_MAX);
83  vtkGetMacro(SampleSize, int);
85 
87 
92  void SetLocator(vtkAbstractPointLocator* locator);
93  vtkGetObjectMacro(Locator, vtkAbstractPointLocator);
95 
96 protected:
98  ~vtkPCACurvatureEstimation() override;
99 
100  // IVars
103 
105  int FillInputPortInformation(int port, vtkInformation* info) override;
106 
107 private:
109  void operator=(const vtkPCACurvatureEstimation&) = delete;
110 };
111 
112 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
#define VTK_INT_MAX
Definition: vtkType.h:155
vtkAbstractPointLocator * Locator
generate curvature estimates using principal component analysis
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
abstract class to quickly locate points in 3-space
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.