VTK
dox/Graphics/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 "vtkPolyDataAlgorithm.h"
00039 
00040 class VTK_GRAPHICS_EXPORT vtkDensifyPolyData : public vtkPolyDataAlgorithm
00041 {
00042 public:
00043   vtkTypeMacro(vtkDensifyPolyData,vtkPolyDataAlgorithm);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045   static vtkDensifyPolyData *New();
00046 
00048 
00049   vtkSetMacro( NumberOfSubdivisions, unsigned int );
00050   vtkGetMacro( NumberOfSubdivisions, unsigned int );
00052 
00053 protected:
00054   vtkDensifyPolyData();
00055   ~vtkDensifyPolyData();
00056 
00057   virtual int RequestData(vtkInformation *, 
00058                           vtkInformationVector **, 
00059                           vtkInformationVector *);
00060 
00061   unsigned int NumberOfSubdivisions;
00062 
00063 private:
00064   virtual int FillInputPortInformation(int, vtkInformation*);
00065   
00066   vtkDensifyPolyData(const vtkDensifyPolyData&);  // Not implemented.
00067   void operator=(const vtkDensifyPolyData&);  // Not implemented.  
00068 };
00069 
00070 #endif
00071 
00072