VTK  9.0.1
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 =========================================================================*/
51 #ifndef vtkPCACurvatureEstimation_h
52 #define vtkPCACurvatureEstimation_h
53 
54 #include "vtkFiltersPointsModule.h" // For export macro
55 #include "vtkPolyDataAlgorithm.h"
56 
58 
59 class VTKFILTERSPOINTS_EXPORT vtkPCACurvatureEstimation : public vtkPolyDataAlgorithm
60 {
61 public:
63 
69  void PrintSelf(ostream& os, vtkIndent indent) override;
71 
73 
79  vtkSetClampMacro(SampleSize, int, 1, VTK_INT_MAX);
80  vtkGetMacro(SampleSize, int);
82 
84 
89  void SetLocator(vtkAbstractPointLocator* locator);
90  vtkGetObjectMacro(Locator, vtkAbstractPointLocator);
92 
93 protected:
95  ~vtkPCACurvatureEstimation() override;
96 
97  // IVars
100 
102  int FillInputPortInformation(int port, vtkInformation* info) override;
103 
104 private:
106  void operator=(const vtkPCACurvatureEstimation&) = delete;
107 };
108 
109 #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:33
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.