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 =========================================================================*/
25 #ifndef vtkDuplicatePolyData_h
26 #define vtkDuplicatePolyData_h
27 
28 #include "vtkFiltersParallelModule.h" // For export macro
29 #include "vtkPolyDataAlgorithm.h"
32 
33 class VTKFILTERSPARALLEL_EXPORT vtkDuplicatePolyData : public vtkPolyDataAlgorithm
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
46  vtkGetObjectMacro(Controller, vtkMultiProcessController);
48 
49  void InitializeSchedule(int numProcs);
50 
52 
58  vtkSetMacro(Synchronous, int);
59  vtkGetMacro(Synchronous, int);
60  vtkBooleanMacro(Synchronous, int);
62 
64 
70  vtkSocketController *GetSocketController() {return this->SocketController;}
72  vtkSetMacro(ClientFlag,int);
73  vtkGetMacro(ClientFlag,int);
75 
77 
82  vtkGetMacro(MemorySize, unsigned long);
84 
85 protected:
88 
89  // Data generation method
92  void ClientExecute(vtkPolyData *output);
93 
96 
99  int **Schedule;
100 
101  // For client server mode.
104 
105  unsigned long MemorySize;
106 
107 private:
108  vtkDuplicatePolyData(const vtkDuplicatePolyData&) VTK_DELETE_FUNCTION;
109  void operator=(const vtkDuplicatePolyData&) VTK_DELETE_FUNCTION;
110 };
111 
112 #endif
113 
For distributed tiled displays.
void InitializeSchedule(int numProcs)
static vtkDuplicatePolyData * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetSocketController(vtkSocketController *controller)
void ClientExecute(vtkPolyData *output)
vtkSocketController * GetSocketController()
This duplicate filter works in client server mode when this controller is set.
vtkMultiProcessController * Controller
vtkSocketController * SocketController
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual void SetController(vtkMultiProcessController *)
By defualt this filter uses the global controller, but this method can be used to set another instead...
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
Process communication using Sockets.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.