Main Page Class Hierarchy Alphabetical List Compound List File List Compound 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 =========================================================================*/
    00056 #ifndef __vtkCellCenters_h
    00057 #define __vtkCellCenters_h
    00058
    00059 #include "vtkDataSetToPolyDataFilter.h"
    00060
    00061 class VTK_GRAPHICS_EXPORT vtkCellCenters : public vtkDataSetToPolyDataFilter
    00062 {
    00063 public:
    00064   vtkTypeRevisionMacro(vtkCellCenters,vtkDataSetToPolyDataFilter);
    00065   void PrintSelf(ostream& os, vtkIndent indent);
    00066
    00068   static vtkCellCenters *New();
    00069
    00071
    00072   vtkSetMacro(VertexCells,int);
    00073   vtkGetMacro(VertexCells,int);
    00074   vtkBooleanMacro(VertexCells,int);
    00076
    00077 protected:
    00078   vtkCellCenters();
    00079   ~vtkCellCenters() {};
    00080
    00081   void Execute();
    00082
    00083   int VertexCells;
    00084 private:
    00085   vtkCellCenters(const vtkCellCenters&);  // Not implemented.
    00086   void operator=(const vtkCellCenters&);  // Not implemented.
    00087 };
    00088
    00089 #endif