65#ifndef vtkPCANormalEstimation_h
66#define vtkPCANormalEstimation_h
69#include "vtkFiltersPointsModule.h"
74VTK_ABI_NAMESPACE_BEGIN
77struct vtkOrientNormalsWorker;
234 template <
typename TPo
intsRange>
236 TPointsRange& inPts,
float* normals,
char* pointMap,
vtkIdList* wave,
vtkIdList* wave2);
abstract class to quickly locate points in 3-space
list of point or cell ids
a simple class to control print indentation
vtkSmartPointer< vtkAbstractPointLocator > Locator
void SetSearchModeToRadius()
Configure how the filter selects the neighbor points used to calculate the PCA.
void SetLocator(vtkAbstractPointLocator *locator)
Specify a point locator.
friend struct vtkOrientNormalsWorker
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiating, obtaining type information, and printing information.
virtual void SetSearchMode(int)
Configure how the filter selects the neighbor points used to calculate the PCA.
~vtkPCANormalEstimation() override
void TraverseAndFlip(TPointsRange &inPts, float *normals, char *pointMap, vtkIdList *wave, vtkIdList *wave2)
void SetNormalOrientationToPoint()
Configure how the filter addresses consistency in normal oreientation.
double OrientationPoint[3]
void SetNormalOrientationToAsComputed()
Configure how the filter addresses consistency in normal oreientation.
vtkPCANormalEstimation()=default
void SetSearchModeToKNN()
Configure how the filter selects the neighbor points used to calculate the PCA.
virtual void SetNormalOrientation(int)
Configure how the filter addresses consistency in normal oreientation.
static vtkPCANormalEstimation * New()
Standard methods for instantiating, obtaining type information, and printing information.
Style
This enum is used to control how normals oriented is controlled.
int FillInputPortInformation(int port, vtkInformation *info) override
void SetNormalOrientationToGraphTraversal()
Configure how the filter addresses consistency in normal oreientation.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Hold a reference to a vtkObjectBase instance.
static vtkStaticPointLocator * New()
Construct with automatic computation of divisions, averaging 5 points per bucket.