00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPointDataToCellData.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 =========================================================================*/ 00037 #ifndef __vtkPointDataToCellData_h 00038 #define __vtkPointDataToCellData_h 00039 00040 #include "vtkDataSetAlgorithm.h" 00041 00042 class VTK_GRAPHICS_EXPORT vtkPointDataToCellData : public vtkDataSetAlgorithm 00043 { 00044 public: 00045 static vtkPointDataToCellData *New(); 00046 vtkTypeRevisionMacro(vtkPointDataToCellData,vtkDataSetAlgorithm); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00048 00050 00053 vtkSetMacro(PassPointData,int); 00054 vtkGetMacro(PassPointData,int); 00055 vtkBooleanMacro(PassPointData,int); 00057 00058 protected: 00059 vtkPointDataToCellData(); 00060 ~vtkPointDataToCellData() {}; 00061 00062 virtual int RequestData(vtkInformation* request, 00063 vtkInformationVector** inputVector, 00064 vtkInformationVector* outputVector); 00065 00066 int PassPointData; 00067 private: 00068 vtkPointDataToCellData(const vtkPointDataToCellData&); // Not implemented. 00069 void operator=(const vtkPointDataToCellData&); // Not implemented. 00070 }; 00071 00072 #endif 00073 00074