VTK
|
generate a subdivision surface using the Butterfly Scheme More...
#include <vtkButterflySubdivisionFilter.h>
Protected Member Functions | |
vtkButterflySubdivisionFilter () | |
~vtkButterflySubdivisionFilter () | |
typedef vtkInterpolatingSubdivisionFilter | Superclass |
static vtkButterflySubdivisionFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkButterflySubdivisionFilter * | SafeDownCast (vtkObjectBase *o) |
virtual int | IsA (const char *type) |
vtkButterflySubdivisionFilter * | NewInstance () const |
virtual vtkObjectBase * | NewInstanceInternal () const |
generate a subdivision surface using the Butterfly Scheme
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 57 of file vtkButterflySubdivisionFilter.h.
Construct object with NumberOfSubdivisions set to 1.
Reimplemented from vtkInterpolatingSubdivisionFilter.
Definition at line 63 of file vtkButterflySubdivisionFilter.h.
vtkButterflySubdivisionFilter::vtkButterflySubdivisionFilter | ( | ) | [inline, protected] |
Definition at line 67 of file vtkButterflySubdivisionFilter.h.
vtkButterflySubdivisionFilter::~vtkButterflySubdivisionFilter | ( | ) | [inline, protected] |
Definition at line 68 of file vtkButterflySubdivisionFilter.h.
static vtkButterflySubdivisionFilter* vtkButterflySubdivisionFilter::New | ( | ) | [static] |
Construct object with NumberOfSubdivisions set to 1.
Reimplemented from vtkPolyDataAlgorithm.
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 | ( | vtkObjectBase * | o | ) | [static] |
Construct object with NumberOfSubdivisions set to 1.
Reimplemented from vtkInterpolatingSubdivisionFilter.
virtual vtkObjectBase* vtkButterflySubdivisionFilter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Construct object with NumberOfSubdivisions set to 1.
Reimplemented from vtkInterpolatingSubdivisionFilter.
Construct object with NumberOfSubdivisions set to 1.
Reimplemented from vtkInterpolatingSubdivisionFilter.