FillHolesFilter
Introduction
vtkFillHolesFilter is a filter that identifies and fills holes in input vtkPolyData meshes. Holes are identified by locating boundary edges, linking them together into loops, and then triangulating the resulting loops. Note that you can specify an approximate limit to the size of the hole that can be filled.
The VTK.js implementation follows the same algorithmic approach as VTK C++.
Methods
extend
Method used to decorate a given object (publicAPI+model) with vtkFillHolesFilter characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | IFillHolesFilterInitialValues | No | (default: {}) |
getHoleSize
Get the maximum hole size to fill.
newInstance
Method used to create a new instance of vtkFillHolesFilter.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IFillHolesFilterInitialValues | No | for pre-setting some of its content |
requestData
Expose methods.
| Argument | Type | Required | Description |
|---|---|---|---|
inData | Yes | ||
outData | Yes |
setHoleSize
Set the maximum hole size to fill.
| Argument | Type | Required | Description |
|---|---|---|---|
holeSize | Yes |