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];
167 void TraverseAndFlip (
vtkPoints *inPts,
float *normals,
char *pointMap,
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 SetNormalOrientationToGraphTraversal()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
a simple class to control print indentation
list of point or cell ids
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
generate point normals using local tangent planes
void SetNormalOrientationToAsComputed()
abstract class to quickly locate points in 3-space
Style
This enum is used to control how normals oriented is controlled.
vtkAbstractPointLocator * Locator
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.