55 #ifndef vtkPCANormalEstimation_h
56 #define vtkPCANormalEstimation_h
58 #include "vtkFiltersPointsModule.h"
86 vtkGetMacro(SampleSize,
int);
113 vtkGetMacro(NormalOrientation,
int);
115 { this->SetNormalOrientation(AS_COMPUTED); }
117 { this->SetNormalOrientation(POINT); }
119 { this->SetNormalOrientation(GRAPH_TRAVERSAL); }
129 vtkSetVector3Macro(OrientationPoint,
double);
130 vtkGetVectorMacro(OrientationPoint,
double,3);
138 vtkGetMacro(FlipNormals,
bool);
159 int NormalOrientation;
160 double OrientationPoint[3];
164 void TraverseAndFlip (
vtkPoints *inPts,
float *normals,
char *pointMap,
169 vtkInformationVector *) VTK_OVERRIDE;
170 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.