Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkCellCenters.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkCellCenters.h,v $
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 =========================================================================*/
00052 #ifndef __vtkCellCenters_h
00053 #define __vtkCellCenters_h
00054 
00055 #include "vtkDataSetToPolyDataFilter.h"
00056 
00057 class VTK_GRAPHICS_EXPORT vtkCellCenters : public vtkDataSetToPolyDataFilter
00058 {
00059 public:
00060   vtkTypeRevisionMacro(vtkCellCenters,vtkDataSetToPolyDataFilter);
00061   void PrintSelf(ostream& os, vtkIndent indent);
00062 
00064   static vtkCellCenters *New();
00065 
00067 
00068   vtkSetMacro(VertexCells,int);
00069   vtkGetMacro(VertexCells,int);
00070   vtkBooleanMacro(VertexCells,int);
00072 
00073 protected:
00074   vtkCellCenters();
00075   ~vtkCellCenters() {};
00076 
00077   void Execute();
00078 
00079   int VertexCells;
00080 private:
00081   vtkCellCenters(const vtkCellCenters&);  // Not implemented.
00082   void operator=(const vtkCellCenters&);  // Not implemented.
00083 };
00084 
00085 #endif