Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Graphics/vtkLoopSubdivisionFilter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00064 #ifndef __vtkLoopSubdivisionFilter_h
00065 #define __vtkLoopSubdivisionFilter_h
00066
00067 #include "vtkApproximatingSubdivisionFilter.h"
00068
00069 class vtkPolyData;
00070 class vtkIntArray;
00071 class vtkPoints;
00072 class vtkIdList;
00073
00074 class VTK_GRAPHICS_EXPORT vtkLoopSubdivisionFilter : public vtkApproximatingSubdivisionFilter
00075 {
00076 public:
00078
00079 static vtkLoopSubdivisionFilter *New();
00080 vtkTypeRevisionMacro(vtkLoopSubdivisionFilter,vtkApproximatingSubdivisionFilter);
00082
00083 protected:
00084 vtkLoopSubdivisionFilter () {};
00085 ~vtkLoopSubdivisionFilter () {};
00086
00087 void GenerateSubdivisionPoints (vtkPolyData *inputDS, vtkIntArray *edgeData,
00088 vtkPoints *outputPts,
00089 vtkPointData *outputPD);
00090 void GenerateEvenStencil (vtkIdType p1, vtkPolyData *polys,
00091 vtkIdList *stencilIds, float *weights);
00092 void GenerateOddStencil (vtkIdType p1, vtkIdType p2, vtkPolyData *polys,
00093 vtkIdList *stencilIds, float *weights);
00094
00095 void ComputeInputUpdateExtents(vtkDataObject *output);
00096 private:
00097 vtkLoopSubdivisionFilter(const vtkLoopSubdivisionFilter&);
00098 void operator=(const vtkLoopSubdivisionFilter&);
00099 };
00100
00101 #endif
00102
00103