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 =========================================================================*/
26 #ifndef vtkTransmitPolyDataPiece_h
27 #define vtkTransmitPolyDataPiece_h
28 
29 #include "vtkFiltersParallelModule.h" // For export macro
30 #include "vtkPolyDataAlgorithm.h"
31 
33 
34 class VTKFILTERSPARALLEL_EXPORT vtkTransmitPolyDataPiece : public vtkPolyDataAlgorithm
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
47  vtkGetObjectMacro(Controller, vtkMultiProcessController);
49 
51 
54  vtkSetMacro(CreateGhostCells, int);
55  vtkGetMacro(CreateGhostCells, int);
56  vtkBooleanMacro(CreateGhostCells, int);
58 
59 protected:
62 
63  // Data generation method
65  void RootExecute(vtkPolyData *input, vtkPolyData *output, vtkInformation *outInfo);
66  void SatelliteExecute(int procId, vtkPolyData *output, vtkInformation *outInfo);
67 
70 
71 private:
72  vtkTransmitPolyDataPiece(const vtkTransmitPolyDataPiece&) VTK_DELETE_FUNCTION;
73  void operator=(const vtkTransmitPolyDataPiece&) VTK_DELETE_FUNCTION;
74 };
75 
76 #endif
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
static vtkTransmitPolyDataPiece * New()
virtual void SetController(vtkMultiProcessController *)
By defualt this filter uses the global controller, but this method can be used to set another instead...
void SatelliteExecute(int procId, vtkPolyData *output, vtkInformation *outInfo)
void RootExecute(vtkPolyData *input, vtkPolyData *output, vtkInformation *outInfo)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkMultiProcessController * Controller
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.