VTK
vtkTransmitUnstructuredGridPiece.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTransmitUnstructuredGridPiece.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 =========================================================================*/
25 #ifndef vtkTransmitUnstructuredGridPiece_h
26 #define vtkTransmitUnstructuredGridPiece_h
27 
28 #include "vtkFiltersParallelModule.h" // For export macro
30 
32 
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
43  virtual void SetController(vtkMultiProcessController*);
44  vtkGetObjectMacro(Controller, vtkMultiProcessController);
46 
48 
49  vtkSetMacro(CreateGhostCells, int);
50  vtkGetMacro(CreateGhostCells, int);
51  vtkBooleanMacro(CreateGhostCells, int);
53 
54 protected:
57 
58  // Data generation method
60  void RootExecute(vtkUnstructuredGrid *input, vtkUnstructuredGrid *output,
61  vtkInformation *outInfo);
62  void SatelliteExecute(int procId, vtkUnstructuredGrid *output,
63  vtkInformation *outInfo);
64 
67 
68 private:
70  void operator=(const vtkTransmitUnstructuredGridPiece&); // Not implemented
71 };
72 
73 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store vtkAlgorithm input/output information.
static vtkUnstructuredGridAlgorithm * New()
#define VTKFILTERSPARALLEL_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
dataset represents arbitrary combinations of all possible cell types
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only unstructured grid as output.
Store zero or more vtkInformation instances.
Multiprocessing communication superclass.