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) VTK_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, int);
63  vtkGetMacro(PassThrough, int);
64  vtkBooleanMacro(PassThrough, int);
66 
67 protected:
69  ~vtkCollectPolyData() VTK_OVERRIDE;
70 
71  int PassThrough;
72 
73  // Data generation method
74  int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
75  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
76 
78  vtkSocketController *SocketController;
79 
80 private:
81  vtkCollectPolyData(const vtkCollectPolyData&) VTK_DELETE_FUNCTION;
82  void operator=(const vtkCollectPolyData&) VTK_DELETE_FUNCTION;
83 };
84 
85 #endif
Process communication using Sockets.
Store vtkAlgorithm input/output information.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Collect distributed polydata.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Multiprocessing communication superclass.