VTK
dox/Filters/General/vtkDensifyPolyData.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkDensifyPolyData.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 
00035 #ifndef __vtkDensifyPolyData_h
00036 #define __vtkDensifyPolyData_h
00037 
00038 #include "vtkFiltersGeneralModule.h" // For export macro
00039 #include "vtkPolyDataAlgorithm.h"
00040 
00041 class VTKFILTERSGENERAL_EXPORT vtkDensifyPolyData : public vtkPolyDataAlgorithm
00042 {
00043 public:
00044   vtkTypeMacro(vtkDensifyPolyData,vtkPolyDataAlgorithm);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046   static vtkDensifyPolyData *New();
00047 
00049 
00050   vtkSetMacro( NumberOfSubdivisions, unsigned int );
00051   vtkGetMacro( NumberOfSubdivisions, unsigned int );
00053 
00054 protected:
00055   vtkDensifyPolyData();
00056   ~vtkDensifyPolyData();
00057 
00058   virtual int RequestData(vtkInformation *,
00059                           vtkInformationVector **,
00060                           vtkInformationVector *);
00061 
00062   unsigned int NumberOfSubdivisions;
00063 
00064 private:
00065   virtual int FillInputPortInformation(int, vtkInformation*);
00066 
00067   vtkDensifyPolyData(const vtkDensifyPolyData&);  // Not implemented.
00068   void operator=(const vtkDensifyPolyData&);  // Not implemented.
00069 };
00070 
00071 #endif
00072 
00073