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];
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
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void SetLocator(vtkAbstractPointLocator *locator)
Specify a point locator.
vtkAbstractPointLocator * Locator
~vtkPCANormalEstimation()
void SetNormalOrientationToPoint()
void TraverseAndFlip(vtkPoints *inPts, float *normals, char *pointMap, vtkIdList *wave, vtkIdList *wave2)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
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.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetNormalOrientationToGraphTraversal()
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.