VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkStructuredGridGhostDataGenerator.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 =========================================================================*/ 00050 #ifndef VTKSTRUCTUREDGRIDGHOSTDATAGENERATOR_H_ 00051 #define VTKSTRUCTUREDGRIDGHOSTDATAGENERATOR_H_ 00052 00053 #include "vtkFiltersGeometryModule.h" // For export macro 00054 #include "vtkDataSetGhostGenerator.h" 00055 00056 // Forward declarations 00057 class vtkMultiBlockDataSet; 00058 class vtkIndent; 00059 class vtkStructuredGridConnectivity; 00060 00061 class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridGhostDataGenerator : 00062 public vtkDataSetGhostGenerator 00063 { 00064 public: 00065 static vtkStructuredGridGhostDataGenerator* New(); 00066 vtkTypeMacro(vtkStructuredGridGhostDataGenerator,vtkDataSetGhostGenerator); 00067 void PrintSelf(ostream &os, vtkIndent indent); 00068 00069 protected: 00070 vtkStructuredGridGhostDataGenerator(); 00071 virtual ~vtkStructuredGridGhostDataGenerator(); 00072 00074 void RegisterGrids(vtkMultiBlockDataSet *in); 00075 00077 00078 void CreateGhostedDataSet( 00079 vtkMultiBlockDataSet *in, 00080 vtkMultiBlockDataSet *out ); 00082 00084 00085 void GenerateGhostLayers( 00086 vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out); 00088 00089 vtkStructuredGridConnectivity *GridConnectivity; 00090 private: 00091 vtkStructuredGridGhostDataGenerator(const vtkStructuredGridGhostDataGenerator&); // Not implemented 00092 void operator=(const vtkStructuredGridGhostDataGenerator&); // Not implemented 00093 }; 00094 00095 #endif /* VTKSTRUCTUREDGRIDGHOSTDATAGENERATOR_H_ */