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

Graphics/vtkCellCenters.h

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