Go to the documentation of this file.
58 #ifndef vtkPCANormalEstimation_h
59 #define vtkPCANormalEstimation_h
61 #include "vtkFiltersPointsModule.h"
89 vtkGetMacro(SampleSize,
int);
115 vtkSetMacro(NormalOrientation,
int);
116 vtkGetMacro(NormalOrientation,
int);
118 { this->SetNormalOrientation(AS_COMPUTED); }
120 { this->SetNormalOrientation(POINT); }
122 { this->SetNormalOrientation(GRAPH_TRAVERSAL); }
132 vtkSetVector3Macro(OrientationPoint,
double);
133 vtkGetVectorMacro(OrientationPoint,
double,3);
140 vtkSetMacro(FlipNormals,
bool);
141 vtkGetMacro(FlipNormals,
bool);
142 vtkBooleanMacro(FlipNormals,
bool);
163 double OrientationPoint[3];
represent and manipulate 3D points
void SetNormalOrientationToPoint()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void TraverseAndFlip(vtkPoints *inPts, float *normals, char *pointMap, vtkIdList *wave, vtkIdList *wave2)
void SetNormalOrientationToGraphTraversal()
void SetLocator(vtkAbstractPointLocator *locator)
Specify a point locator.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
list of point or cell ids
~vtkPCANormalEstimation() override
generate point normals using local tangent planes
void SetNormalOrientationToAsComputed()
static vtkPCANormalEstimation * New()
Standard methods for instantiating, obtaining type information, and printing information.
abstract class to quickly locate points in 3-space
Style
This enum is used to control how normals oriented is controlled.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkAbstractPointLocator * Locator
Superclass for algorithms that produce only polydata as output.