45 #ifndef __vtkSelectEnclosedPoints_h
46 #define __vtkSelectEnclosedPoints_h
48 #include "vtkFiltersModelingModule.h"
49 #include "vtkDataSetAlgorithm.h"
51 class vtkUnsignedCharArray;
63 void PrintSelf(ostream& os, vtkIndent indent);
73 void SetSurfaceData(vtkPolyData *pd);
74 void SetSurfaceConnection(vtkAlgorithmOutput* algOutput);
79 vtkPolyData *GetSurface();
80 vtkPolyData *GetSurface(vtkInformationVector *sourceInfo);
87 vtkSetMacro(InsideOut,
int);
88 vtkBooleanMacro(InsideOut,
int);
89 vtkGetMacro(InsideOut,
int);
95 vtkSetMacro(CheckSurface,
int);
96 vtkBooleanMacro(CheckSurface,
int);
97 vtkGetMacro(CheckSurface,
int);
102 int IsInside(vtkIdType inputPtId);
107 vtkSetClampMacro(Tolerance,
double,0.0,VTK_FLOAT_MAX);
108 vtkGetMacro(Tolerance,
double);
116 void Initialize(vtkPolyData *surface);
117 int IsInsideSurface(
double x,
double y,
double z);
118 int IsInsideSurface(
double x[3]);
130 int IsSurfaceClosed(vtkPolyData *surface);
141 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
142 virtual int FillInputPortInformation(
int, vtkInformation *);
144 virtual void ReportReferences(vtkGarbageCollector*);
vtkUnsignedCharArray * InsideOutsideArray
mark points as to whether they are inside a closed surface
vtkCellLocator * CellLocator