VTK
vtkCollectPolyData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCollectPolyData.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 =========================================================================*/
23 #ifndef vtkCollectPolyData_h
24 #define vtkCollectPolyData_h
25 
26 #include "vtkFiltersParallelModule.h" // For export macro
27 #include "vtkPolyDataAlgorithm.h"
28 
31 
32 class VTKFILTERSPARALLEL_EXPORT vtkCollectPolyData : public vtkPolyDataAlgorithm
33 {
34 public:
35  static vtkCollectPolyData *New();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
40 
44  virtual void SetController(vtkMultiProcessController*);
45  vtkGetObjectMacro(Controller, vtkMultiProcessController);
47 
49 
54  virtual void SetSocketController(vtkSocketController*);
55  vtkGetObjectMacro(SocketController, vtkSocketController);
57 
59 
62  vtkSetMacro(PassThrough, vtkTypeBool);
63  vtkGetMacro(PassThrough, vtkTypeBool);
64  vtkBooleanMacro(PassThrough, vtkTypeBool);
66 
67 protected:
69  ~vtkCollectPolyData() override;
70 
72 
73  // Data generation method
76 
79 
80 private:
81  vtkCollectPolyData(const vtkCollectPolyData&) = delete;
82  void operator=(const vtkCollectPolyData&) = delete;
83 };
84 
85 #endif
Process communication using Sockets.
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:69
vtkSocketController * SocketController
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkMultiProcessController * Controller
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
Collect distributed polydata.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Multiprocessing communication superclass.