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 =========================================================================*/
54 #ifndef vtkPCACurvatureEstimation_h
55 #define vtkPCACurvatureEstimation_h
56 
57 #include "vtkFiltersPointsModule.h" // For export macro
58 #include "vtkPolyDataAlgorithm.h"
59 
61 
62 
63 class VTKFILTERSPOINTS_EXPORT vtkPCACurvatureEstimation : public vtkPolyDataAlgorithm
64 {
65 public:
67 
73  void PrintSelf(ostream& os, vtkIndent indent) override;
75 
77 
83  vtkSetClampMacro(SampleSize,int,1,VTK_INT_MAX);
84  vtkGetMacro(SampleSize,int);
86 
88 
93  void SetLocator(vtkAbstractPointLocator *locator);
94  vtkGetObjectMacro(Locator,vtkAbstractPointLocator);
96 
97 protected:
99  ~vtkPCACurvatureEstimation() override;
100 
101  // IVars
104 
106  vtkInformationVector *) override;
107  int FillInputPortInformation(int port, vtkInformation *info) override;
108 
109 private:
111  void operator=(const vtkPCACurvatureEstimation&) = delete;
112 
113 };
114 
115 #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:159
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.