VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkCellDataToPointData.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 __vtkCellDataToPointData_h 00041 #define __vtkCellDataToPointData_h 00042 00043 #include "vtkFiltersCoreModule.h" // For export macro 00044 #include "vtkDataSetAlgorithm.h" 00045 00046 class vtkDataSet; 00047 00048 class VTKFILTERSCORE_EXPORT vtkCellDataToPointData : public vtkDataSetAlgorithm 00049 { 00050 public: 00051 static vtkCellDataToPointData *New(); 00052 vtkTypeMacro(vtkCellDataToPointData,vtkDataSetAlgorithm); 00053 void PrintSelf(ostream& os, vtkIndent indent); 00054 00056 00059 vtkSetMacro(PassCellData,int); 00060 vtkGetMacro(PassCellData,int); 00061 vtkBooleanMacro(PassCellData,int); 00063 00064 protected: 00065 vtkCellDataToPointData(); 00066 ~vtkCellDataToPointData() {}; 00067 00068 virtual int RequestData(vtkInformation* request, 00069 vtkInformationVector** inputVector, 00070 vtkInformationVector* outputVector); 00071 00072 // Special traversal algorithm for unstructured grid 00073 int RequestDataForUnstructuredGrid 00074 (vtkInformation*, vtkInformationVector**, vtkInformationVector*); 00075 00076 int PassCellData; 00077 private: 00078 vtkCellDataToPointData(const vtkCellDataToPointData&); // Not implemented. 00079 void operator=(const vtkCellDataToPointData&); // Not implemented. 00080 }; 00081 00082 #endif 00083 00084