vtkSelectEnclosedPoints

Section: Visualization Toolkit Graphics Classes

Usage

vtkSelectEnclosedPoints is a filter that evaluates all the input points to determine whether they are in an enclosed surface. The filter produces a (0,1) mask (in the form of a vtkDataArray) that indicates whether points are outside (mask value=0) or inside (mask value=1) a provided surface. (The name of the output vtkDataArray is "SelectedPointsArray".)

After running the filter, it is possible to query it as to whether a point is inside/outside by invoking the IsInside(ptId) method.

To create an instance of class vtkSelectEnclosedPoints, simply invoke its constructor as follows

  obj = vtkSelectEnclosedPoints

Methods

The class vtkSelectEnclosedPoints has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkSelectEnclosedPoints class.