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
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPolyDataAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkCollectPolyData::SocketController
vtkSocketController * SocketController
Definition: vtkCollectPolyData.h:78
vtkCollectPolyData::Controller
vtkMultiProcessController * Controller
Definition: vtkCollectPolyData.h:77
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCollectPolyData::PassThrough
vtkTypeBool PassThrough
Definition: vtkCollectPolyData.h:71
vtkPolyDataAlgorithm.h
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:82
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkCollectPolyData
Collect distributed polydata.
Definition: vtkCollectPolyData.h:32
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSocketController
Process communication using Sockets.
Definition: vtkSocketController.h:52
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44