VTK
|
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 "vtkInfovisCoreModule.h" // For export macro 00038 #include "vtkPolyDataAlgorithm.h" 00039 00040 class VTKINFOVISCORE_EXPORT vtkEdgeCenters : public vtkPolyDataAlgorithm 00041 { 00042 public: 00043 vtkTypeMacro(vtkEdgeCenters,vtkPolyDataAlgorithm); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00047 static vtkEdgeCenters *New(); 00048 00050 00051 vtkSetMacro(VertexCells,int); 00052 vtkGetMacro(VertexCells,int); 00053 vtkBooleanMacro(VertexCells,int); 00055 00056 protected: 00057 vtkEdgeCenters(); 00058 ~vtkEdgeCenters() {} 00059 00060 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00061 virtual int FillInputPortInformation(int port, vtkInformation *info); 00062 00063 int VertexCells; 00064 private: 00065 vtkEdgeCenters(const vtkEdgeCenters&); // Not implemented. 00066 void operator=(const vtkEdgeCenters&); // Not implemented. 00067 }; 00068 00069 #endif