VTK
dox/Filters/ParallelGeometry/vtkPStructuredGridGhostDataGenerator.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003  Program:   Visualization Toolkit
00004  Module:    vtkPStructuredGridGhostDataGenerator.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  =========================================================================*/
00052 #ifndef VTKPSTRUCTUREDGRIDGHOSTDATAGENERATOR_H_
00053 #define VTKPSTRUCTUREDGRIDGHOSTDATAGENERATOR_H_
00054 
00055 #include "vtkFiltersParallelGeometryModule.h" // For export macro
00056 #include "vtkPDataSetGhostGenerator.h"
00057 
00058 class vtkMultiBlockDataSet;
00059 class vtkIndent;
00060 class vtkPStructuredGridConnectivity;
00061 
00062 class VTKFILTERSPARALLELGEOMETRY_EXPORT vtkPStructuredGridGhostDataGenerator:
00063   public vtkPDataSetGhostGenerator
00064 {
00065 public:
00066   static vtkPStructuredGridGhostDataGenerator* New();
00067   vtkTypeMacro(vtkPStructuredGridGhostDataGenerator,vtkPDataSetGhostGenerator);
00068   void PrintSelf(ostream& os, vtkIndent indent);
00069 
00070 protected:
00071   vtkPStructuredGridGhostDataGenerator();
00072   virtual ~vtkPStructuredGridGhostDataGenerator();
00073 
00075   void RegisterGrids(vtkMultiBlockDataSet *in);
00076 
00078 
00079   void CreateGhostedDataSet(
00080       vtkMultiBlockDataSet *in,vtkMultiBlockDataSet *out );
00082 
00084 
00085   void GenerateGhostLayers(
00086       vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out);
00088 
00089   vtkPStructuredGridConnectivity *GridConnectivity;
00090 private:
00091   vtkPStructuredGridGhostDataGenerator(const vtkPStructuredGridGhostDataGenerator&); // Not implemented
00092   void operator=(const vtkPStructuredGridGhostDataGenerator&); // Not implemented
00093 };
00094 
00095 #endif /* VTKPSTRUCTUREDGRIDGHOSTDATAGENERATOR_H_ */