VTK  9.2.6
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
32
33class VTKFILTERSPARALLEL_EXPORT vtkDuplicatePolyData : public vtkPolyDataAlgorithm
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
41
46 vtkGetObjectMacro(Controller, vtkMultiProcessController);
48
49 void InitializeSchedule(int numProcs);
50
52
58 vtkSetMacro(Synchronous, vtkTypeBool);
59 vtkGetMacro(Synchronous, vtkTypeBool);
60 vtkBooleanMacro(Synchronous, vtkTypeBool);
62
64
70 vtkSocketController* GetSocketController() { return this->SocketController; }
72 vtkSetMacro(ClientFlag, int);
73 vtkGetMacro(ClientFlag, int);
75
77
82 vtkGetMacro(MemorySize, unsigned long);
84
85protected:
88
89 // Data generation method
93
96
99 int** Schedule;
100
101 // For client server mode.
104
105 unsigned long MemorySize;
106
107private:
109 void operator=(const vtkDuplicatePolyData&) = delete;
110};
111
112#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:49
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
Process communication using Sockets.
int vtkTypeBool
Definition vtkABI.h:69