#include <vtkButterflySubdivisionFilter.h>
vtkButterflySubdivisionFilter is an interpolating subdivision scheme that creates four new triangles for each triangle in the mesh. The user can specify the NumberOfSubdivisions. This filter implements the 8-point butterfly scheme described in: Zorin, D., Schroder, P., and Sweldens, W., "Interpolating Subdivisions for Meshes with Arbitrary Topology," Computer Graphics Proceedings, Annual Conference Series, 1996, ACM SIGGRAPH, pp.189-192. This scheme improves previous butterfly subdivisions with special treatment of vertices with valence other than 6.
Currently, the filter only operates on triangles. Users should use the vtkTriangleFilter to triangulate meshes that contain polygons or triangle strips.
The filter interpolates point data using the same scheme. New triangles created at a subdivision step will have the cell data of their parent cell.
Definition at line 56 of file vtkButterflySubdivisionFilter.h.
typedef vtkInterpolatingSubdivisionFilter | Superclass |
static vtkButterflySubdivisionFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkButterflySubdivisionFilter * | SafeDownCast (vtkObject *o) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
Protected Member Functions | |
vtkButterflySubdivisionFilter () | |
~vtkButterflySubdivisionFilter () |
Construct object with NumberOfSubdivisions set to 1.
Reimplemented from vtkInterpolatingSubdivisionFilter.
Definition at line 62 of file vtkButterflySubdivisionFilter.h.
vtkButterflySubdivisionFilter::vtkButterflySubdivisionFilter | ( | ) | [inline, protected] |
Definition at line 66 of file vtkButterflySubdivisionFilter.h.
vtkButterflySubdivisionFilter::~vtkButterflySubdivisionFilter | ( | ) | [inline, protected] |
Definition at line 67 of file vtkButterflySubdivisionFilter.h.
static vtkButterflySubdivisionFilter* vtkButterflySubdivisionFilter::New | ( | ) | [static] |
Construct object with NumberOfSubdivisions set to 1.
Reimplemented from vtkPolyDataAlgorithm.
virtual const char* vtkButterflySubdivisionFilter::GetClassName | ( | ) | [virtual] |
Construct object with NumberOfSubdivisions set to 1.
Reimplemented from vtkInterpolatingSubdivisionFilter.
static int vtkButterflySubdivisionFilter::IsTypeOf | ( | const char * | type | ) | [static] |
Construct object with NumberOfSubdivisions set to 1.
Reimplemented from vtkInterpolatingSubdivisionFilter.
virtual int vtkButterflySubdivisionFilter::IsA | ( | const char * | type | ) | [virtual] |
Construct object with NumberOfSubdivisions set to 1.
Reimplemented from vtkInterpolatingSubdivisionFilter.
static vtkButterflySubdivisionFilter* vtkButterflySubdivisionFilter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Construct object with NumberOfSubdivisions set to 1.
Reimplemented from vtkInterpolatingSubdivisionFilter.