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