Go to the documentation of this file.
49 #ifndef vtkSelectEnclosedPoints_h
50 #define vtkSelectEnclosedPoints_h
52 #include "vtkFiltersModelingModule.h"
131 vtkGetMacro(Tolerance,
double);
static int IsInsideSurface(double x[3], vtkPolyData *surface, double bds[6], double length, double tol, vtkAbstractCellLocator *locator, vtkIdList *cellIds, vtkGenericCell *genCell, vtkIntersectionCounter &counter, vtkRandomPool *poole=nullptr, vtkIdType seqIdx=0)
A static method for determining whether a point is inside a surface.
static int IsSurfaceClosed(vtkPolyData *surface)
A static method for determining whether a surface is closed.
static vtkSelectEnclosedPoints * New()
Instantiate this class.
int IsInsideSurface(double x[3])
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
dynamic, self-adjusting array of unsigned char
int IsInsideSurface(double x, double y, double z)
vtkUnsignedCharArray * InsideOutsideArray
Superclass for algorithms that produce output of the same type as input.
void Initialize(vtkPolyData *surface)
This is a backdoor that can be used to test many points for containment.
a simple class to control print indentation
list of point or cell ids
vtkStaticCellLocator * CellLocator
vtkPolyData * GetSurface(vtkInformationVector *sourceInfo)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
an abstract base class for locators which find cells
Detect and break reference loops.
void SetSurfaceData(vtkPolyData *pd)
Set the surface to be used to test for containment.
void ReportReferences(vtkGarbageCollector *) override
vtkSelectEnclosedPoints()
Proxy object to connect input/output ports.
vtkPolyData * GetSurface()
Return a pointer to the enclosing surface.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
mark points as to whether they are inside a closed surface
concrete dataset represents vertices, lines, polygons, and triangle strips
provides thread-safe access to cells
~vtkSelectEnclosedPoints() override
void SetSurfaceConnection(vtkAlgorithmOutput *algOutput)
perform fast cell location operations
int IsInside(vtkIdType inputPtId)
Query an input point id as to whether it is inside or outside.
convenience class to quickly generate a pool of random numbers
Fast simple class for dealing with ray intersections.