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";
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.
vtkPolyData * GetSelectionEdges()
Return the (mesh) edges of the selection region.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetSelectionModeToSmallestRegion()
Control how inside/outside of loop is defined.
static vtkSelectPolyData * New()
Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off.
void SetSelectionModeToLargestRegion()
Control how inside/outside of loop is defined.
vtkTypeBool GenerateUnselectedOutput
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
const char * GetSelectionModeAsString()
Return the method of determining in/out of loop as a string.
vtkTypeBool GenerateSelectionScalars
void SetSelectionModeToClosestPointRegion()
Control how inside/outside of loop is defined.
vtkMTimeType GetMTime() override
Return this object's modified time.
~vtkSelectPolyData() override
vtkPolyData * GetUnselectedOutput()
Return output that hasn't been selected (if GenreateUnselectedOutput is enabled).
#define VTK_INSIDE_SMALLEST_REGION
#define VTK_INSIDE_LARGEST_REGION
#define VTK_INSIDE_CLOSEST_POINT_REGION
vtkTypeUInt32 vtkMTimeType