81 #ifndef vtkSelectPolyData_h
82 #define vtkSelectPolyData_h
84 #include "vtkFiltersModelingModule.h"
87 #define VTK_INSIDE_SMALLEST_REGION 0
88 #define VTK_INSIDE_LARGEST_REGION 1
89 #define VTK_INSIDE_CLOSEST_POINT_REGION 2
117 vtkGetMacro(GenerateSelectionScalars,
int);
127 vtkGetMacro(InsideOut,
int);
144 vtkSetVector3Macro(ClosestPoint,
double);
145 vtkGetVector3Macro(ClosestPoint,
double);
152 vtkSetClampMacro(SelectionMode,
int,
154 vtkGetMacro(SelectionMode,
int);
161 const char *GetSelectionModeAsString();
170 vtkGetMacro(GenerateUnselectedOutput,
int);
198 double ClosestPoint[3];
217 return "InsideSmallestRegion";
221 return "InsideLargestRegion";
225 return "InsideClosestPointRegion";
dynamic, self-adjusting array of char
list of point or cell ids
a simple class to control print indentation
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
select portion of polygonal mesh; generate selection scalars
virtual void SetLoop(vtkPoints *)
Set/Get the array of point coordinates defining the loop.
vtkMTimeType GetMTime()
Return this object's modified time.
static vtkSelectPolyData * New()
Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off.
void SetSelectionModeToSmallestRegion()
vtkPolyData * GetSelectionEdges()
Return the (mesh) edges of the selection region.
void SetSelectionModeToLargestRegion()
const char * GetSelectionModeAsString()
Return the method of determining in/out of loop as a string.
int GenerateUnselectedOutput
void SetSelectionModeToClosestPointRegion()
int GenerateSelectionScalars
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkPolyData * GetUnselectedOutput()
Return output that hasn't been selected (if GenreateUnselectedOutput is enabled).
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_INSIDE_SMALLEST_REGION
#define VTK_INSIDE_LARGEST_REGION
#define VTK_INSIDE_CLOSEST_POINT_REGION
vtkTypeUInt64 vtkMTimeType