92 #ifndef vtkSelectPolyData_h
93 #define vtkSelectPolyData_h
95 #include "vtkFiltersModelingModule.h"
98 #define VTK_INSIDE_SMALLEST_REGION 0
99 #define VTK_INSIDE_LARGEST_REGION 1
100 #define VTK_INSIDE_CLOSEST_POINT_REGION 2
102 #define VTK_GREEDY_EDGE_SEARCH 0
103 #define VTK_DIJKSTRA_EDGE_SEARCH 1
130 vtkSetMacro(GenerateSelectionScalars,
vtkTypeBool);
131 vtkGetMacro(GenerateSelectionScalars,
vtkTypeBool);
132 vtkBooleanMacro(GenerateSelectionScalars,
vtkTypeBool);
155 vtkGetMacro(EdgeSearchMode,
int);
158 const char* GetEdgeSearchModeAsString();
174 vtkSetVector3Macro(ClosestPoint,
double);
175 vtkGetVector3Macro(ClosestPoint,
double);
183 vtkGetMacro(SelectionMode,
int);
190 const char* GetSelectionModeAsString();
198 vtkSetMacro(GenerateUnselectedOutput,
vtkTypeBool);
199 vtkGetMacro(GenerateUnselectedOutput,
vtkTypeBool);
200 vtkBooleanMacro(GenerateUnselectedOutput,
vtkTypeBool);
255 double ClosestPoint[3];
277 return "InsideSmallestRegion";
281 return "InsideLargestRegion";
285 return "InsideClosestPointRegion";
296 return "GreedyEdgeSearch";
300 return "DijkstraEdgeSearch";
#define VTK_GREEDY_EDGE_SEARCH
void SetSelectionModeToClosestPointRegion()
Control how inside/outside of loop is defined.
represent and manipulate point attribute data
vtkTypeUInt32 vtkMTimeType
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
represent and manipulate cell attribute data
vtkTypeBool GenerateSelectionScalars
concrete dataset represents vertices, lines, polygons, and triangle strips
#define VTK_DIJKSTRA_EDGE_SEARCH
Proxy object to connect input/output ports.
static vtkPolyDataAlgorithm * New()
dynamic, self-adjusting array of char
dynamic, self-adjusting array of int
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
void SetEdgeSearchModeToGreedy()
Set the edge search mode.
list of point or cell ids
void SetSelectionModeToSmallestRegion()
Control how inside/outside of loop is defined.
vtkTypeBool GenerateUnselectedOutput
virtual vtkMTimeType GetMTime()
Return this object's modified time.
const char * GetSelectionModeAsString()
Return the method of determining in/out of loop as a string.
select portion of polygonal mesh; generate selection scalars
void SetSelectionModeToLargestRegion()
Control how inside/outside of loop is defined.
void SetEdgeSearchModeToDijkstra()
Set the edge search mode.
#define VTK_INSIDE_LARGEST_REGION
#define VTK_INSIDE_SMALLEST_REGION
const char * GetEdgeSearchModeAsString()
Return the edge search mode as a string.
#define VTK_INSIDE_CLOSEST_POINT_REGION
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.