VTK  9.3.0
vtkDuplicatePolyData.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
13#ifndef vtkDuplicatePolyData_h
14#define vtkDuplicatePolyData_h
15
16#include "vtkFiltersParallelModule.h" // For export macro
18VTK_ABI_NAMESPACE_BEGIN
21
22class VTKFILTERSPARALLEL_EXPORT vtkDuplicatePolyData : public vtkPolyDataAlgorithm
23{
24public:
27 void PrintSelf(ostream& os, vtkIndent indent) override;
28
30
35 vtkGetObjectMacro(Controller, vtkMultiProcessController);
37
38 void InitializeSchedule(int numProcs);
39
41
47 vtkSetMacro(Synchronous, vtkTypeBool);
48 vtkGetMacro(Synchronous, vtkTypeBool);
49 vtkBooleanMacro(Synchronous, vtkTypeBool);
51
53
59 vtkSocketController* GetSocketController() { return this->SocketController; }
61 vtkSetMacro(ClientFlag, int);
62 vtkGetMacro(ClientFlag, int);
64
66
71 vtkGetMacro(MemorySize, unsigned long);
73
74protected:
77
78 // Data generation method
82
85
88 int** Schedule;
89
90 // For client server mode.
93
94 unsigned long MemorySize;
95
96private:
98 void operator=(const vtkDuplicatePolyData&) = delete;
99};
100
101VTK_ABI_NAMESPACE_END
102#endif
For distributed tiled displays.
void InitializeSchedule(int numProcs)
vtkSocketController * GetSocketController()
This duplicate filter works in client server mode when this controller is set.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkDuplicatePolyData * New()
void SetSocketController(vtkSocketController *controller)
This duplicate filter works in client server mode when this controller is set.
void ClientExecute(vtkPolyData *output)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkDuplicatePolyData() override
vtkMultiProcessController * Controller
vtkSocketController * SocketController
virtual void SetController(vtkMultiProcessController *)
By default 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:29
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:80
Process communication using Sockets.
int vtkTypeBool
Definition vtkABI.h:64