VTK  9.0.1
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 =========================================================================*/
26 #ifndef vtkTransmitUnstructuredGridPiece_h
27 #define vtkTransmitUnstructuredGridPiece_h
28 
29 #include "vtkFiltersParallelModule.h" // For export macro
31 
33 
34 class VTKFILTERSPARALLEL_EXPORT vtkTransmitUnstructuredGridPiece
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
47  virtual void SetController(vtkMultiProcessController*);
48  vtkGetObjectMacro(Controller, vtkMultiProcessController);
50 
52 
55  vtkSetMacro(CreateGhostCells, vtkTypeBool);
56  vtkGetMacro(CreateGhostCells, vtkTypeBool);
57  vtkBooleanMacro(CreateGhostCells, vtkTypeBool);
59 
60 protected:
63 
64  // Data generation method
66  void RootExecute(
67  vtkUnstructuredGrid* input, vtkUnstructuredGrid* output, vtkInformation* outInfo);
68  void SatelliteExecute(int procId, vtkUnstructuredGrid* output, vtkInformation* outInfo);
69 
72 
73 private:
75  void operator=(const vtkTransmitUnstructuredGridPiece&) = delete;
76 };
77 
78 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store vtkAlgorithm input/output information.
static vtkUnstructuredGridAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:69
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:33
dataset represents arbitrary combinations of all possible cell types
Superclass for algorithms that produce only unstructured grid as output.
Store zero or more vtkInformation instances.
Multiprocessing communication superclass.