VTK
vtkTransmitStructuredGridPiece.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTransmitStructuredGridPiece.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 =========================================================================*/
28 #ifndef __vtkTransmitStructuredGridPiece_h
29 #define __vtkTransmitStructuredGridPiece_h
30 
32 
34 
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
45  virtual void SetController(vtkMultiProcessController*);
46  vtkGetObjectMacro(Controller, vtkMultiProcessController);
48 
50 
51  vtkSetMacro(CreateGhostCells, int);
52  vtkGetMacro(CreateGhostCells, int);
53  vtkBooleanMacro(CreateGhostCells, int);
55 
56 protected:
59 
60  // Data generation method
62  void RootExecute(vtkStructuredGrid *input, vtkStructuredGrid *output,
63  vtkInformation *outInfo);
64  void SatelliteExecute(int procId, vtkStructuredGrid *output,
65  vtkInformation *outInfo);
68 
71 
72 private:
74  void operator=(const vtkTransmitStructuredGridPiece&); // Not implemented
75 };
76 
77 #endif