VTK
Protected Member Functions | Protected Attributes
vtkFillHolesFilter Class Reference

identify and fill holes in meshes More...

#include <vtkFillHolesFilter.h>

Inheritance diagram for vtkFillHolesFilter:
Inheritance graph
[legend]
Collaboration diagram for vtkFillHolesFilter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void SetHoleSize (double)
virtual double GetHoleSize ()

Protected Member Functions

 vtkFillHolesFilter ()
 ~vtkFillHolesFilter ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

double HoleSize
typedef vtkPolyDataAlgorithm Superclass
static vtkFillHolesFilterNew ()
static int IsTypeOf (const char *type)
static vtkFillHolesFilterSafeDownCast (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkFillHolesFilterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkObjectBaseNewInstanceInternal () const

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


Member Typedef Documentation

Standard methods for instantiation, type information and printing.

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 55 of file vtkFillHolesFilter.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Standard methods for instantiation, type information and printing.

Reimplemented from vtkPolyDataAlgorithm.

virtual vtkObjectBase* vtkFillHolesFilter::NewInstanceInternal ( ) const [protected, virtual]

Standard methods for instantiation, type information and printing.

Reimplemented from vtkPolyDataAlgorithm.

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

Definition at line 74 of file vtkFillHolesFilter.h.


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