00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPCellDataToPointData.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 =========================================================================*/ 00025 #ifndef __vtkPCellDataToPointData_h 00026 #define __vtkPCellDataToPointData_h 00027 00028 #include "vtkCellDataToPointData.h" 00029 00030 class VTK_PARALLEL_EXPORT vtkPCellDataToPointData : public vtkCellDataToPointData 00031 { 00032 public: 00033 vtkTypeRevisionMacro(vtkPCellDataToPointData,vtkCellDataToPointData); 00034 void PrintSelf(ostream& os, vtkIndent indent); 00035 00036 static vtkPCellDataToPointData *New(); 00037 00039 00041 vtkSetMacro(PieceInvariant, int); 00042 vtkGetMacro(PieceInvariant, int); 00043 vtkBooleanMacro(PieceInvariant, int); 00045 00046 protected: 00047 vtkPCellDataToPointData(); 00048 ~vtkPCellDataToPointData() {}; 00049 00050 // Usual data generation method 00051 virtual int RequestData(vtkInformation* request, 00052 vtkInformationVector** inputVector, 00053 vtkInformationVector* outputVector); 00054 virtual int ComputeInputUpdateExtent(vtkInformation* request, 00055 vtkInformationVector** inputVector, 00056 vtkInformationVector* outputVector); 00057 00058 int PieceInvariant; 00059 private: 00060 vtkPCellDataToPointData(const vtkPCellDataToPointData&); // Not implemented. 00061 void operator=(const vtkPCellDataToPointData&); // Not implemented. 00062 }; 00063 00064 #endif