 |
VTK
9.1.0
|
Go to the documentation of this file.
97 #ifndef vtkSelectPolyData_h
98 #define vtkSelectPolyData_h
100 #include "vtkFiltersModelingModule.h"
103 #define VTK_INSIDE_SMALLEST_REGION 0
104 #define VTK_INSIDE_LARGEST_REGION 1
105 #define VTK_INSIDE_CLOSEST_POINT_REGION 2
160 vtkSetVector3Macro(ClosestPoint,
double);
161 vtkGetVector3Macro(ClosestPoint,
double);
169 vtkGetMacro(SelectionMode,
int);
176 const char* GetSelectionModeAsString();
213 double ClosestPoint[3];
232 return "InsideSmallestRegion";
236 return "InsideLargestRegion";
240 return "InsideClosestPointRegion";
represent and manipulate 3D points
virtual void SetLoop(vtkPoints *)
Set/Get the array of point coordinates defining the loop.
#define VTK_INSIDE_LARGEST_REGION
~vtkSelectPolyData() override
vtkMTimeType GetMTime() override
Return this object's modified time.
vtkPolyData * GetUnselectedOutput()
Return output that hasn't been selected (if GenreateUnselectedOutput is enabled).
void SetSelectionModeToClosestPointRegion()
Control how inside/outside of loop is defined.
vtkTypeBool GenerateSelectionScalars
vtkPolyData * GetSelectionEdges()
Return the (mesh) edges of the selection region.
vtkTypeBool GenerateUnselectedOutput
dynamic, self-adjusting array of char
#define VTK_INSIDE_CLOSEST_POINT_REGION
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_INSIDE_SMALLEST_REGION
a simple class to control print indentation
list of point or cell ids
void SetSelectionModeToLargestRegion()
Control how inside/outside of loop is defined.
void SetSelectionModeToSmallestRegion()
Control how inside/outside of loop is defined.
select portion of polygonal mesh; generate selection scalars
const char * GetSelectionModeAsString()
Return the method of determining in/out of loop as a string.
concrete dataset represents vertices, lines, polygons, and triangle strips
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkSelectPolyData * New()
Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off.
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.