 |
VTK
9.0.1
|
Go to the documentation of this file.
78 #ifndef vtkSelectPolyData_h
79 #define vtkSelectPolyData_h
81 #include "vtkFiltersModelingModule.h"
84 #define VTK_INSIDE_SMALLEST_REGION 0
85 #define VTK_INSIDE_LARGEST_REGION 1
86 #define VTK_INSIDE_CLOSEST_POINT_REGION 2
141 vtkSetVector3Macro(ClosestPoint,
double);
142 vtkGetVector3Macro(ClosestPoint,
double);
150 vtkGetMacro(SelectionMode,
int);
157 const char* GetSelectionModeAsString();
194 double ClosestPoint[3];
214 return "InsideSmallestRegion";
218 return "InsideLargestRegion";
222 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()
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()
void SetSelectionModeToSmallestRegion()
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.