VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkApproximatingSubdivisionFilter Class Reference

generate a subdivision surface using an Approximating Scheme More...

#include <vtkApproximatingSubdivisionFilter.h>

Inheritance diagram for vtkApproximatingSubdivisionFilter:
Inheritance graph
[legend]
Collaboration diagram for vtkApproximatingSubdivisionFilter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkApproximatingSubdivisionFilterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetNumberOfSubdivisions (int)
virtual int GetNumberOfSubdivisions ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkApproximatingSubdivisionFilter
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkApproximatingSubdivisionFilter ()
 ~vtkApproximatingSubdivisionFilter ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void GenerateSubdivisionPoints (vtkPolyData *inputDS, vtkIntArray *edgeData, vtkPoints *outputPts, vtkPointData *outputPD)=0
void GenerateSubdivisionCells (vtkPolyData *inputDS, vtkIntArray *edgeData, vtkCellArray *outputPolys, vtkCellData *outputCD)
int FindEdge (vtkPolyData *mesh, vtkIdType cellId, vtkIdType p1, vtkIdType p2, vtkIntArray *edgeData, vtkIdList *cellIds)
vtkIdType InterpolatePosition (vtkPoints *inputPts, vtkPoints *outputPts, vtkIdList *stencil, double *weights)

Protected Attributes

int NumberOfSubdivisions

Detailed Description

generate a subdivision surface using an Approximating Scheme

vtkApproximatingSubdivisionFilter is an abstract class that defines the protocol for Approximating subdivision surface filters.

Thanks:
This work was supported by PHS Research Grant No. 1 P41 RR13218-01 from the National Center for Research Resources.

Definition at line 39 of file vtkApproximatingSubdivisionFilter.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented in vtkLoopSubdivisionFilter.

Definition at line 42 of file vtkApproximatingSubdivisionFilter.h.


Constructor & Destructor Documentation

Definition at line 53 of file vtkApproximatingSubdivisionFilter.h.


Member Function Documentation

static int vtkApproximatingSubdivisionFilter::IsTypeOf ( const char *  name) [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 vtkPolyDataAlgorithm.

Reimplemented in vtkLoopSubdivisionFilter.

virtual int vtkApproximatingSubdivisionFilter::IsA ( const char *  name) [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 vtkPolyDataAlgorithm.

Reimplemented in vtkLoopSubdivisionFilter.

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented in vtkLoopSubdivisionFilter.

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented in vtkLoopSubdivisionFilter.

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented in vtkLoopSubdivisionFilter.

void vtkApproximatingSubdivisionFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkPolyDataAlgorithm.

Set/get the number of subdivisions.

Set/get the number of subdivisions.

int vtkApproximatingSubdivisionFilter::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented in vtkLoopSubdivisionFilter.

virtual void vtkApproximatingSubdivisionFilter::GenerateSubdivisionPoints ( vtkPolyData inputDS,
vtkIntArray edgeData,
vtkPoints outputPts,
vtkPointData outputPD 
) [protected, pure virtual]

Implemented in vtkLoopSubdivisionFilter.

void vtkApproximatingSubdivisionFilter::GenerateSubdivisionCells ( vtkPolyData inputDS,
vtkIntArray edgeData,
vtkCellArray outputPolys,
vtkCellData outputCD 
) [protected]
int vtkApproximatingSubdivisionFilter::FindEdge ( vtkPolyData mesh,
vtkIdType  cellId,
vtkIdType  p1,
vtkIdType  p2,
vtkIntArray edgeData,
vtkIdList cellIds 
) [protected]
vtkIdType vtkApproximatingSubdivisionFilter::InterpolatePosition ( vtkPoints inputPts,
vtkPoints outputPts,
vtkIdList stencil,
double weights 
) [protected]

Member Data Documentation

Definition at line 67 of file vtkApproximatingSubdivisionFilter.h.


The documentation for this class was generated from the following file: