Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkButterflySubdivisionFilter Class Reference

generate a subdivision surface using the Butterfly Scheme. More...

#include <vtkButterflySubdivisionFilter.h>

Inheritance diagram for vtkButterflySubdivisionFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkButterflySubdivisionFilter:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)

Static Public Methods

vtkButterflySubdivisionFilter * New ()
int IsTypeOf (const char *type)
vtkButterflySubdivisionFilter * SafeDownCast (vtkObject *o)

Protected Methods

 vtkButterflySubdivisionFilter ()
 ~vtkButterflySubdivisionFilter ()
 vtkButterflySubdivisionFilter (const vtkButterflySubdivisionFilter &)
void operator= (const vtkButterflySubdivisionFilter &)

Detailed Description

generate a subdivision surface using the Butterfly Scheme.

Date:
2000/12/10 20:08:30
Revision:
1.7
Thanks:
This work was supported bt PHS Research Grant No. 1 P41 RR13218-01 from the National Center for Research Resources
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.

See also:
vtkInterpolatingSubdivisionFilter vtkLinearSubdivisionFilter
Examples:
vtkButterflySubdivisionFilter (examples)


Member Function Documentation

virtual const char* vtkButterflySubdivisionFilter::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInterpolatingSubdivisionFilter.

virtual int vtkButterflySubdivisionFilter::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInterpolatingSubdivisionFilter.

int vtkButterflySubdivisionFilter::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInterpolatingSubdivisionFilter.

vtkButterflySubdivisionFilter* vtkButterflySubdivisionFilter::New   [static]
 

Construct object with NumberOfSubdivisions set to 1.

Reimplemented from vtkPolyDataSource.

vtkButterflySubdivisionFilter* vtkButterflySubdivisionFilter::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInterpolatingSubdivisionFilter.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:23:53 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002