VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Filters/General/vtkCellCenters.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkCellCenters.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 =========================================================================*/
00040 #ifndef vtkCellCenters_h
00041 #define vtkCellCenters_h
00042 
00043 #include "vtkFiltersGeneralModule.h" // For export macro
00044 #include "vtkPolyDataAlgorithm.h"
00045 
00046 class VTKFILTERSGENERAL_EXPORT vtkCellCenters : public vtkPolyDataAlgorithm
00047 {
00048 public:
00049   vtkTypeMacro(vtkCellCenters,vtkPolyDataAlgorithm);
00050   void PrintSelf(ostream& os, vtkIndent indent);
00051 
00053   static vtkCellCenters *New();
00054 
00056 
00057   vtkSetMacro(VertexCells,int);
00058   vtkGetMacro(VertexCells,int);
00059   vtkBooleanMacro(VertexCells,int);
00061 
00062 protected:
00063   vtkCellCenters();
00064   ~vtkCellCenters() {}
00065 
00066   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00067   virtual int FillInputPortInformation(int port, vtkInformation *info);
00068 
00069   int VertexCells;
00070 private:
00071   vtkCellCenters(const vtkCellCenters&);  // Not implemented.
00072   void operator=(const vtkCellCenters&);  // Not implemented.
00073 };
00074 
00075 #endif