Go to the documentation of this file.
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];
represent and manipulate 3D points
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SetNormalOrientationToPoint()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void TraverseAndFlip(vtkPoints *inPts, float *normals, char *pointMap, vtkIdList *wave, vtkIdList *wave2)
void SetNormalOrientationToGraphTraversal()
void SetLocator(vtkAbstractPointLocator *locator)
Specify a point locator.
a simple class to control print indentation
list of point or cell ids
generate point normals using local tangent planes
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
~vtkPCANormalEstimation()
void SetNormalOrientationToAsComputed()
static vtkPCANormalEstimation * New()
Standard methods for instantiating, obtaining type information, and printing information.
abstract class to quickly locate points in 3-space
Style
This enum is used to control how normals oriented is controlled.
vtkAbstractPointLocator * Locator
Superclass for algorithms that produce only polydata as output.