Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File 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.

[NOHEADER]

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

Protected Methods

 vtkButterflySubdivisionFilter ()
 ~vtkButterflySubdivisionFilter ()

Detailed Description

generate a subdivision surface using the Butterfly Scheme.

Date:
2001/10/11 13:36:46
Revision:
1.11
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
Tests:
vtkButterflySubdivisionFilter (Tests)

Definition at line 81 of file vtkButterflySubdivisionFilter.h.


Constructor & Destructor Documentation

vtkButterflySubdivisionFilter::vtkButterflySubdivisionFilter   [inline, protected]
 

Definition at line 91 of file vtkButterflySubdivisionFilter.h.

vtkButterflySubdivisionFilter::~vtkButterflySubdivisionFilter   [inline, protected]
 

Definition at line 92 of file vtkButterflySubdivisionFilter.h.


Member Function Documentation

vtkButterflySubdivisionFilter* vtkButterflySubdivisionFilter::New   [static]
 

Construct object with NumberOfSubdivisions set to 1.

Reimplemented from vtkPolyDataSource.

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.

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.

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.

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 Thu Mar 28 14:27:30 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001