88#ifndef vtkSelectEnclosedPoints_h
89#define vtkSelectEnclosedPoints_h
92#include "vtkFiltersModelingModule.h"
169 vtkGetMacro(Tolerance,
double);
an abstract base class for locators which find cells
Proxy object to connect input/output ports.
Superclass for algorithms that produce output of the same type as input.
Detect and break reference loops.
provides thread-safe access to cells
list of point or cell ids
a simple class to control print indentation
Fast simple class for dealing with ray intersections.
concrete dataset represents vertices, lines, polygons, and triangle strips
convenience class to quickly generate a pool of random numbers
mark points as to whether they are inside a closed surface
vtkPolyData * GetSurface()
Return a pointer to the enclosing surface.
vtkPolyData * GetSurface(vtkInformationVector *sourceInfo)
Return a pointer to the enclosing surface.
void Complete()
This is a backdoor that can be used to test many points for containment.
vtkSelectEnclosedPoints()
int IsInsideSurface(double x[3])
This is a backdoor that can be used to test many points for containment.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void Initialize(vtkPolyData *surface)
This is a backdoor that can be used to test many points for containment.
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.
int IsInsideSurface(double x, double y, double z)
This is a backdoor that can be used to test many points for containment.
vtkStaticCellLocator * CellLocator
static vtkSelectEnclosedPoints * New()
Instantiate this class.
vtkUnsignedCharArray * InsideOutsideArray
void SetSurfaceConnection(vtkAlgorithmOutput *algOutput)
Set the surface to be used to test for containment.
~vtkSelectEnclosedPoints() override
void SetSurfaceData(vtkPolyData *pd)
Set the surface to be used to test for containment.
void ReportReferences(vtkGarbageCollector *) override
int IsInside(vtkIdType inputPtId)
Query an input point id as to whether it is inside or outside.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
static int IsSurfaceClosed(vtkPolyData *surface)
A static method for determining whether a surface is closed.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
perform fast cell location operations
dynamic, self-adjusting array of unsigned char