VTK
vtkTransmitPolyDataPiece.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTransmitPolyDataPiece.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 vtkTransmitPolyDataPiece_h
26 #define vtkTransmitPolyDataPiece_h
27 
28 #include "vtkFiltersParallelModule.h" // For export macro
29 #include "vtkPolyDataAlgorithm.h"
30 
32 
34 {
35 public:
36  static vtkTransmitPolyDataPiece *New();
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(vtkPolyData *input, vtkPolyData *output, vtkInformation *outInfo);
61  void SatelliteExecute(int procId, vtkPolyData *output, vtkInformation *outInfo);
62 
65 
66 private:
67  vtkTransmitPolyDataPiece(const vtkTransmitPolyDataPiece&); // Not implemented
68  void operator=(const vtkTransmitPolyDataPiece&); // Not implemented
69 };
70 
71 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:83
#define VTKFILTERSPARALLEL_EXPORT
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
vtkMultiProcessController * Controller
Multiprocessing communication superclass.