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