Graphics/vtkLinearSubdivisionFilter.h Source File

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

# Graphics/vtkLinearSubdivisionFilter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkLinearSubdivisionFilter.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00049 #ifndef __vtkLinearSubdivisionFilter_h
    00050 #define __vtkLinearSubdivisionFilter_h
    00051
    00052 #include "vtkInterpolatingSubdivisionFilter.h"
    00053
    00054 class vtkIntArray;
    00055 class vtkPointData;
    00056 class vtkPoints;
    00057 class vtkPolyData;
    00058
    00059 class VTK_GRAPHICS_EXPORT vtkLinearSubdivisionFilter : public vtkInterpolatingSubdivisionFilter
    00060 {
    00061 public:
    00063
    00064   static vtkLinearSubdivisionFilter *New();
    00065   vtkTypeRevisionMacro(vtkLinearSubdivisionFilter,vtkInterpolatingSubdivisionFilter);
    00067
    00068 protected:
    00069   vtkLinearSubdivisionFilter () {};
    00070   ~vtkLinearSubdivisionFilter () {};
    00071
    00072   void GenerateSubdivisionPoints (vtkPolyData *inputDS,
    00073                                   vtkIntArray *edgeData,
    00074                                   vtkPoints *outputPts,
    00075                                   vtkPointData *outputPD);
    00076
    00077 private:
    00078   vtkLinearSubdivisionFilter(const vtkLinearSubdivisionFilter&);  // Not implemented.
    00079   void operator=(const vtkLinearSubdivisionFilter&);  // Not implemented.
    00080 };
    00081
    00082 #endif
    00083
    00084