Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 =========================================================================*/
00040 #ifndef __vtkCellCenters_h
00041 #define __vtkCellCenters_h
00042 
00043 #include "vtkPolyDataAlgorithm.h"
00044 
00045 class VTK_GRAPHICS_EXPORT vtkCellCenters : public vtkPolyDataAlgorithm
00046 {
00047 public:
00048   vtkTypeRevisionMacro(vtkCellCenters,vtkPolyDataAlgorithm);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00052   static vtkCellCenters *New();
00053 
00055 
00056   vtkSetMacro(VertexCells,int);
00057   vtkGetMacro(VertexCells,int);
00058   vtkBooleanMacro(VertexCells,int);
00060 
00061 protected:
00062   vtkCellCenters();
00063   ~vtkCellCenters() {};
00064 
00065   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00066   virtual int FillInputPortInformation(int port, vtkInformation *info);
00067 
00068   int VertexCells;
00069 private:
00070   vtkCellCenters(const vtkCellCenters&);  // Not implemented.
00071   void operator=(const vtkCellCenters&);  // Not implemented.
00072 };
00073 
00074 #endif

Generated on Mon Jan 21 23:07:24 2008 for VTK by  doxygen 1.4.3-20050530