VTK
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 
60 class VTKFILTERSPOINTS_EXPORT vtkPCACurvatureEstimation : public vtkPolyDataAlgorithm
61 {
62 public:
64 
70  void PrintSelf(ostream& os, vtkIndent indent) override;
72 
74 
80  vtkSetClampMacro(SampleSize,int,1,VTK_INT_MAX);
81  vtkGetMacro(SampleSize,int);
83 
85 
90  void SetLocator(vtkAbstractPointLocator *locator);
91  vtkGetObjectMacro(Locator,vtkAbstractPointLocator);
93 
94 protected:
96  ~vtkPCACurvatureEstimation() override;
97 
98  // IVars
101 
103  vtkInformationVector *) override;
104  int FillInputPortInformation(int port, vtkInformation *info) override;
105 
106 private:
108  void operator=(const vtkPCACurvatureEstimation&) = delete;
109 
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:157
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.