55 #ifndef vtkPCANormalEstimation_h
56 #define vtkPCANormalEstimation_h
58 #include "vtkFiltersPointsModule.h"
85 vtkGetMacro(SampleSize,
int);
111 vtkSetMacro(NormalOrientation,
int);
112 vtkGetMacro(NormalOrientation,
int);
125 vtkSetVector3Macro(OrientationPoint,
double);
126 vtkGetVectorMacro(OrientationPoint,
double, 3);
133 vtkSetMacro(FlipNormals,
bool);
134 vtkGetMacro(FlipNormals,
bool);
135 vtkBooleanMacro(FlipNormals,
bool);
156 double OrientationPoint[3];
abstract class to quickly locate points in 3-space
list of point or cell ids
a simple class to control print indentation
generate point normals using local tangent planes
void SetLocator(vtkAbstractPointLocator *locator)
Specify a point locator.
vtkAbstractPointLocator * Locator
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkPCANormalEstimation() override
void SetNormalOrientationToPoint()
void TraverseAndFlip(vtkPoints *inPts, float *normals, char *pointMap, vtkIdList *wave, vtkIdList *wave2)
void SetNormalOrientationToAsComputed()
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
Fill the input port information objects for this algorithm.
void SetNormalOrientationToGraphTraversal()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.