vtkFillHolesFilter Class Reference

#include <vtkFillHolesFilter.h>

Inheritance diagram for vtkFillHolesFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkFillHolesFilter:

Collaboration graph
[legend]

List of all members.


Detailed Description

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 48 of file vtkFillHolesFilter.h.

typedef vtkPolyDataAlgorithm Superclass
static vtkFillHolesFilterNew ()
static int IsTypeOf (const char *type)
static vtkFillHolesFilterSafeDownCast (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

Member Typedef Documentation

Standard methods for instantiation, type information and printing.

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 54 of file vtkFillHolesFilter.h.


Constructor & Destructor Documentation

vtkFillHolesFilter::vtkFillHolesFilter (  )  [protected]

vtkFillHolesFilter::~vtkFillHolesFilter (  )  [protected]


Member Function Documentation

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.


Member Data Documentation

double vtkFillHolesFilter::HoleSize [protected]

Definition at line 73 of file vtkFillHolesFilter.h.


The documentation for this class was generated from the following file:

Generated on Wed Jun 3 19:03:05 2009 for VTK by  doxygen 1.5.6