00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPointDataToCellData.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 =========================================================================*/ 00057 #ifndef __vtkPointDataToCellData_h 00058 #define __vtkPointDataToCellData_h 00059 00060 #include "vtkDataSetToDataSetFilter.h" 00061 00062 class VTK_GRAPHICS_EXPORT vtkPointDataToCellData : public vtkDataSetToDataSetFilter 00063 { 00064 public: 00065 static vtkPointDataToCellData *New(); 00066 vtkTypeRevisionMacro(vtkPointDataToCellData,vtkDataSetToDataSetFilter); 00067 void PrintSelf(ostream& os, vtkIndent indent); 00068 00070 00073 vtkSetMacro(PassPointData,int); 00074 vtkGetMacro(PassPointData,int); 00075 vtkBooleanMacro(PassPointData,int); 00077 00078 protected: 00079 vtkPointDataToCellData(); 00080 ~vtkPointDataToCellData() {}; 00081 00082 void Execute(); 00083 00084 int PassPointData; 00085 private: 00086 vtkPointDataToCellData(const vtkPointDataToCellData&); // Not implemented. 00087 void operator=(const vtkPointDataToCellData&); // Not implemented. 00088 }; 00089 00090 #endif 00091 00092