VTK
|
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 "vtkFiltersCoreModule.h" // For export macro 00044 #include "vtkDataSetAlgorithm.h" 00045 00046 class VTKFILTERSCORE_EXPORT vtkPointDataToCellData : public vtkDataSetAlgorithm 00047 { 00048 public: 00049 static vtkPointDataToCellData *New(); 00050 vtkTypeMacro(vtkPointDataToCellData,vtkDataSetAlgorithm); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00054 00057 vtkSetMacro(PassPointData,int); 00058 vtkGetMacro(PassPointData,int); 00059 vtkBooleanMacro(PassPointData,int); 00061 00062 protected: 00063 vtkPointDataToCellData(); 00064 ~vtkPointDataToCellData() {}; 00065 00066 virtual int RequestData(vtkInformation* request, 00067 vtkInformationVector** inputVector, 00068 vtkInformationVector* outputVector); 00069 00070 int PassPointData; 00071 private: 00072 vtkPointDataToCellData(const vtkPointDataToCellData&); // Not implemented. 00073 void operator=(const vtkPointDataToCellData&); // Not implemented. 00074 }; 00075 00076 #endif 00077 00078