VTK
vtkDuplicatePolyData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDuplicatePolyData.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 =========================================================================*/
24 #ifndef vtkDuplicatePolyData_h
25 #define vtkDuplicatePolyData_h
26 
27 #include "vtkFiltersParallelModule.h" // For export macro
28 #include "vtkPolyDataAlgorithm.h"
31 
33 {
34 public:
35  static vtkDuplicatePolyData *New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
42  virtual void SetController(vtkMultiProcessController*);
43  vtkGetObjectMacro(Controller, vtkMultiProcessController);
45 
46  void InitializeSchedule(int numProcs);
47 
49 
52  vtkSetMacro(Synchronous, int);
53  vtkGetMacro(Synchronous, int);
54  vtkBooleanMacro(Synchronous, int);
56 
58 
62  vtkSocketController *GetSocketController() {return this->SocketController;}
63  void SetSocketController (vtkSocketController *controller);
64  vtkSetMacro(ClientFlag,int);
65  vtkGetMacro(ClientFlag,int);
67 
69 
72  vtkGetMacro(MemorySize, unsigned long);
74 
75 protected:
78 
79  // Data generation method
82  void ClientExecute(vtkPolyData *output);
83 
86 
89  int **Schedule;
90 
91  // For client server mode.
94 
95  unsigned long MemorySize;
96 
97 private:
98  vtkDuplicatePolyData(const vtkDuplicatePolyData&); // Not implemented
99  void operator=(const vtkDuplicatePolyData&); // Not implemented
100 };
101 
102 #endif
103 
Process communication using Sockets.
Store vtkAlgorithm input/output information.
vtkSocketController * SocketController
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:83
vtkMultiProcessController * Controller
#define VTKFILTERSPARALLEL_EXPORT
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
For distributed tiled displays.
vtkSocketController * GetSocketController()
Store zero or more vtkInformation instances.
Multiprocessing communication superclass.