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