VTK
vtkTransmitStructuredDataPiece.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTransmitStructuredDataPiece.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 vtkTransmitStructuredDataPiece_h
26 #define vtkTransmitStructuredDataPiece_h
27 
28 #include "vtkFiltersParallelModule.h" // For export macro
29 #include "vtkDataSetAlgorithm.h"
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(vtkDataSet *input, vtkDataSet *output,
61  vtkInformation *outInfo);
62  void SatelliteExecute(int procId, vtkDataSet *output,
63  vtkInformation *outInfo);
66 
69 
70 private:
72  void operator=(const vtkTransmitStructuredDataPiece&); // Not implemented
73 };
74 
75 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
#define VTKFILTERSPARALLEL_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
Multiprocessing communication superclass.