58 #ifndef vtkPCANormalEstimation_h
59 #define vtkPCANormalEstimation_h
61 #include "vtkFiltersPointsModule.h"
89 vtkGetMacro(SampleSize,
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);
141 vtkGetMacro(FlipNormals,
bool);
163 double OrientationPoint[3];
167 void TraverseAndFlip (
vtkPoints *inPts,
float *normals,
char *pointMap,
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void SetNormalOrientationToPoint()
Configure how the filter addresses consistency in normal oreientation.
static vtkPolyDataAlgorithm * New()
void SetNormalOrientationToGraphTraversal()
Configure how the filter addresses consistency in normal oreientation.
Superclass for algorithms that produce only polydata as output.
generate point normals using local tangent planes
a simple class to control print indentation
abstract class to quickly locate points in 3-space
list of point or cell ids
void SetNormalOrientationToAsComputed()
Configure how the filter addresses consistency in normal oreientation.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkAbstractPointLocator * Locator
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.