VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPStructuredGridConnectivity.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 =========================================================================*/ 00039 #ifndef VTKPUNSTRUCTUREDGRIDGHOSTDATAGENERATOR_H_ 00040 #define VTKPUNSTRUCTUREDGRIDGHOSTDATAGENERATOR_H_ 00041 00042 #include "vtkFiltersParallelGeometryModule.h" // For export macro 00043 #include "vtkUnstructuredGridAlgorithm.h" 00044 00045 // Forward Declarations 00046 class vtkIndent; 00047 class vtkInformation; 00048 class vtkInformationVector; 00049 class vtkPUnstructuredGridConnectivity; 00050 class vtkUnstructuredGrid; 00051 class vtkMultiProcessController; 00052 00053 class VTKFILTERSPARALLELGEOMETRY_EXPORT vtkPUnstructuredGridGhostDataGenerator: 00054 public vtkUnstructuredGridAlgorithm 00055 { 00056 public: 00057 static vtkPUnstructuredGridGhostDataGenerator* New(); 00058 vtkTypeMacro(vtkPUnstructuredGridGhostDataGenerator,vtkUnstructuredGridAlgorithm); 00059 void PrintSelf(ostream& os, vtkIndent indent); 00060 00061 protected: 00062 vtkPUnstructuredGridGhostDataGenerator(); 00063 virtual ~vtkPUnstructuredGridGhostDataGenerator(); 00064 00065 // Standard VTK pipeline routines 00066 virtual int FillInputPortInformation(int port,vtkInformation *info); 00067 virtual int FillOutputPortInformation(int port, vtkInformation *info); 00068 virtual int RequestData( 00069 vtkInformation *rqst, vtkInformationVector **inputVector, 00070 vtkInformationVector* outputVector ); 00071 00072 vtkPUnstructuredGridConnectivity* GhostZoneBuilder; 00073 vtkMultiProcessController* Controller; 00074 private: 00075 vtkPUnstructuredGridGhostDataGenerator(const vtkPUnstructuredGridGhostDataGenerator&); // Not implemented 00076 void operator=(const vtkPUnstructuredGridGhostDataGenerator&); // Not implemented 00077 }; 00078 00079 #endif /* VTKPUNSTRUCTUREDGRIDGHOSTDATAGENERATOR_H_ */