VTK
vtkPDataSetGhostGenerator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPDataSetGhostGenerator.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14  =========================================================================*/
26 #ifndef VTKPDATASETGHOSTGENERATOR_H_
27 #define VTKPDATASETGHOSTGENERATOR_H_
28 
29 #include "vtkFiltersParallelGeometryModule.h" // For export macro
31 
34 
35 class VTKFILTERSPARALLELGEOMETRY_EXPORT vtkPDataSetGhostGenerator :
37 {
38 public:
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
45  vtkSetMacro(Controller, vtkMultiProcessController*);
46  vtkGetMacro(Controller, vtkMultiProcessController*);
48 
50  void Initialize();
51 
53  void Barrier();
54 
55 protected:
57  virtual ~vtkPDataSetGhostGenerator();
58 
60 
61  virtual void GenerateGhostLayers(
64 
65  int Rank;
68 
69 private:
70  vtkPDataSetGhostGenerator(const vtkPDataSetGhostGenerator&); // Not implemented
71  void operator=(const vtkPDataSetGhostGenerator&); // Not implemented
72 };
73 
74 #endif /* VTKPDATASETGHOSTGENERATOR_H_ */
virtual void GenerateGhostLayers(vtkMultiBlockDataSet *in, vtkMultiBlockDataSet *out)=0
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkMultiProcessController * Controller
Composite dataset that organizes datasets into blocks.
void PrintSelf(ostream &os, vtkIndent indent)
Multiprocessing communication superclass.