55 #ifndef vtkPCANormalEstimation_h 56 #define vtkPCANormalEstimation_h 58 #include "vtkFiltersPointsModule.h" 86 vtkGetMacro(SampleSize,
int);
112 vtkSetMacro(NormalOrientation,
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);
137 vtkSetMacro(FlipNormals,
bool);
138 vtkGetMacro(FlipNormals,
bool);
139 vtkBooleanMacro(FlipNormals,
bool);
160 double OrientationPoint[3];
164 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.
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.
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.