identify and fill holes in meshes
More...
#include <vtkFillHolesFilter.h>
Inherits vtkPolyDataAlgorithm.
identify and fill holes in meshes
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.
- Warning
- Note that any mesh with boundary edges by definition has a topological hole. This even includes a reactangular grid (e.g., the output of vtkPlaneSource). In such situations, if the outer hole is filled, retriangulation of the hole will cause geometric overlap of the mesh. This can be prevented by using the hole size instance variable to prevent the larger holes from being triangulated.
-
Note this filter only operates on polygons and triangle strips. Vertices and polylines are passed through untouched.
- Tests:
- vtkFillHolesFilter (Tests)
Definition at line 49 of file vtkFillHolesFilter.h.
Standard methods for instantiation, type information and printing.
Definition at line 55 of file vtkFillHolesFilter.h.
vtkFillHolesFilter::vtkFillHolesFilter |
( |
| ) |
|
|
protected |
vtkFillHolesFilter::~vtkFillHolesFilter |
( |
| ) |
|
|
protected |
Standard methods for instantiation, type information and printing.
static int vtkFillHolesFilter::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
Standard methods for instantiation, type information and printing.
virtual int vtkFillHolesFilter::IsA |
( |
const char * |
type | ) |
|
|
virtual |
Standard methods for instantiation, type information and printing.
Standard methods for instantiation, type information and printing.
virtual vtkObjectBase* vtkFillHolesFilter::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
Standard methods for instantiation, type information and printing.
Standard methods for instantiation, type information and printing.
void vtkFillHolesFilter::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Standard methods for instantiation, type information and printing.
virtual void vtkFillHolesFilter::SetHoleSize |
( |
double |
| ) |
|
|
virtual |
Specify the maximum hole size to fill. This is represented as a radius to the bounding circumsphere containing the hole. Note that this is an approximate area; the actual area cannot be computed without first triangulating the hole.
virtual double vtkFillHolesFilter::GetHoleSize |
( |
| ) |
|
|
virtual |
Specify the maximum hole size to fill. This is represented as a radius to the bounding circumsphere containing the hole. Note that this is an approximate area; the actual area cannot be computed without first triangulating the hole.
int vtkFillHolesFilter::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
double vtkFillHolesFilter::HoleSize |
|
protected |
The documentation for this class was generated from the following file: