00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkEdgeCenters.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 =========================================================================*/ 00034 #ifndef __vtkEdgeCenters_h 00035 #define __vtkEdgeCenters_h 00036 00037 #include "vtkPolyDataAlgorithm.h" 00038 00039 class VTK_INFOVIS_EXPORT vtkEdgeCenters : public vtkPolyDataAlgorithm 00040 { 00041 public: 00042 vtkTypeMacro(vtkEdgeCenters,vtkPolyDataAlgorithm); 00043 void PrintSelf(ostream& os, vtkIndent indent); 00044 00046 static vtkEdgeCenters *New(); 00047 00049 00050 vtkSetMacro(VertexCells,int); 00051 vtkGetMacro(VertexCells,int); 00052 vtkBooleanMacro(VertexCells,int); 00054 00055 protected: 00056 vtkEdgeCenters(); 00057 ~vtkEdgeCenters() {}; 00058 00059 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00060 virtual int FillInputPortInformation(int port, vtkInformation *info); 00061 00062 int VertexCells; 00063 private: 00064 vtkEdgeCenters(const vtkEdgeCenters&); // Not implemented. 00065 void operator=(const vtkEdgeCenters&); // Not implemented. 00066 }; 00067 00068 #endif