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.

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)

Definition at line 80 of file vtkButterflySubdivisionFilter.h.


Constructor & Destructor Documentation

vtkButterflySubdivisionFilter::vtkButterflySubdivisionFilter   [inline, protected]
 

Definition at line 88 of file vtkButterflySubdivisionFilter.h.

vtkButterflySubdivisionFilter::~vtkButterflySubdivisionFilter   [inline, protected]
 

Definition at line 89 of file vtkButterflySubdivisionFilter.h.

vtkButterflySubdivisionFilter::vtkButterflySubdivisionFilter const vtkButterflySubdivisionFilter &    [inline, protected]
 

Definition at line 90 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.

void vtkButterflySubdivisionFilter::operator= const vtkButterflySubdivisionFilter &    [inline, protected]
 

Definition at line 91 of file vtkButterflySubdivisionFilter.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:46:37 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001