80 #ifndef __vtkSelectPolyData_h
81 #define __vtkSelectPolyData_h
83 #include "vtkFiltersModelingModule.h"
86 #define VTK_INSIDE_SMALLEST_REGION 0
87 #define VTK_INSIDE_LARGEST_REGION 1
88 #define VTK_INSIDE_CLOSEST_POINT_REGION 2
103 void PrintSelf(ostream& os, vtkIndent indent);
111 vtkSetMacro(GenerateSelectionScalars,
int);
112 vtkGetMacro(GenerateSelectionScalars,
int);
113 vtkBooleanMacro(GenerateSelectionScalars,
int);
119 vtkSetMacro(InsideOut,
int);
120 vtkGetMacro(InsideOut,
int);
121 vtkBooleanMacro(InsideOut,
int);
127 virtual void SetLoop(vtkPoints*);
128 vtkGetObjectMacro(Loop,vtkPoints);
133 vtkSetClampMacro(SelectionMode,
int,
135 vtkGetMacro(SelectionMode,
int);
142 const char *GetSelectionModeAsString();
148 vtkSetMacro(GenerateUnselectedOutput,
int);
149 vtkGetMacro(GenerateUnselectedOutput,
int);
150 vtkBooleanMacro(GenerateUnselectedOutput,
int);
161 unsigned long int GetMTime();
167 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
173 double ClosestPoint[3];
178 void GetPointNeighbors (vtkIdType ptId, vtkIdList *nei);
190 return "InsideSmallestRegion";
194 return "InsideLargestRegion";
198 return "InsideClosestPointRegion";
void SetSelectionModeToClosestPointRegion()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int GenerateSelectionScalars
concrete dataset represents vertices, lines, polygons, and triangle strips
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
void SetSelectionModeToSmallestRegion()
const char * GetSelectionModeAsString()
select portion of polygonal mesh; generate selection scalars
void SetSelectionModeToLargestRegion()
#define VTK_INSIDE_LARGEST_REGION
#define VTK_INSIDE_SMALLEST_REGION
#define VTK_INSIDE_CLOSEST_POINT_REGION
int GenerateUnselectedOutput