VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPExtractGrid.cxx 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 =========================================================================*/ 00030 #ifndef vtkPExtractGrid_h 00031 #define vtkPExtractGrid_h 00032 00033 #include "vtkFiltersParallelMPIModule.h" // For export macro 00034 #include "vtkExtractGrid.h" 00035 00036 // Forward declarations 00037 class vtkMPIController; 00038 00039 class VTKFILTERSPARALLELMPI_EXPORT vtkPExtractGrid: public vtkExtractGrid 00040 { 00041 public: 00042 static vtkPExtractGrid* New(); 00043 vtkTypeMacro(vtkPExtractGrid,vtkExtractGrid); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00046 protected: 00047 vtkPExtractGrid(); 00048 virtual ~vtkPExtractGrid(); 00049 00050 // Standard VTK Pipeline methods 00051 virtual int RequestData( 00052 vtkInformation*, vtkInformationVector**,vtkInformationVector*); 00053 virtual int RequestInformation( 00054 vtkInformation*, vtkInformationVector**, vtkInformationVector*); 00055 virtual int RequestUpdateExtent( 00056 vtkInformation*, vtkInformationVector**, vtkInformationVector*); 00057 00058 vtkMPIController* Controller; 00059 00060 private: 00061 vtkPExtractGrid(const vtkPExtractGrid&); // Not implemented. 00062 void operator=(const vtkPExtractGrid&); // Not implemented. 00063 }; 00064 00065 #endif