#include <vtkFillHolesFilter.h>
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.
Note this filter only operates on polygons and triangle strips. Vertices and polylines are passed through untouched.
Definition at line 48 of file vtkFillHolesFilter.h.
typedef vtkPolyDataAlgorithm | Superclass |
static vtkFillHolesFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkFillHolesFilter * | SafeDownCast (vtkObject *o) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
Public Member Functions | |
virtual void | SetHoleSize (double) |
virtual double | GetHoleSize () |
Protected Member Functions | |
vtkFillHolesFilter () | |
~vtkFillHolesFilter () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
double | HoleSize |
Standard methods for instantiation, type information and printing.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 54 of file vtkFillHolesFilter.h.
vtkFillHolesFilter::vtkFillHolesFilter | ( | ) | [protected] |
vtkFillHolesFilter::~vtkFillHolesFilter | ( | ) | [protected] |
static vtkFillHolesFilter* vtkFillHolesFilter::New | ( | ) | [static] |
Standard methods for instantiation, type information and printing.
Reimplemented from vtkPolyDataAlgorithm.
virtual const char* vtkFillHolesFilter::GetClassName | ( | ) | [virtual] |
Standard methods for instantiation, type information and printing.
Reimplemented from vtkPolyDataAlgorithm.
static int vtkFillHolesFilter::IsTypeOf | ( | const char * | type | ) | [static] |
Standard methods for instantiation, type information and printing.
Reimplemented from vtkPolyDataAlgorithm.
virtual int vtkFillHolesFilter::IsA | ( | const char * | type | ) | [virtual] |
Standard methods for instantiation, type information and printing.
Reimplemented from vtkPolyDataAlgorithm.
static vtkFillHolesFilter* vtkFillHolesFilter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Standard methods for instantiation, type information and printing.
Reimplemented from vtkPolyDataAlgorithm.
void vtkFillHolesFilter::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Standard methods for instantiation, type information and printing.
Reimplemented from vtkPolyDataAlgorithm.
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 * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
double vtkFillHolesFilter::HoleSize [protected] |
Definition at line 73 of file vtkFillHolesFilter.h.