VTK  9.4.20241222
vtkCollectGraph.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3// SPDX-License-Identifier: BSD-3-Clause
12#ifndef vtkCollectGraph_h
13#define vtkCollectGraph_h
14
15#include "vtkFiltersParallelModule.h" // For export macro
16#include "vtkGraphAlgorithm.h"
17
18VTK_ABI_NAMESPACE_BEGIN
21
22class VTKFILTERSPARALLEL_EXPORT vtkCollectGraph : public vtkGraphAlgorithm
23{
24public:
27 void PrintSelf(ostream& os, vtkIndent indent) override;
28
30
35 vtkGetObjectMacro(Controller, vtkMultiProcessController);
37
39
45 vtkGetObjectMacro(SocketController, vtkSocketController);
47
49
52 vtkSetMacro(PassThrough, vtkTypeBool);
53 vtkGetMacro(PassThrough, vtkTypeBool);
54 vtkBooleanMacro(PassThrough, vtkTypeBool);
56
57 enum
58 {
61 USE_INPUT_TYPE
62 };
63
65
73 vtkSetMacro(OutputType, int);
74 vtkGetMacro(OutputType, int);
76
77protected:
79 ~vtkCollectGraph() override;
80
83
84 // Data generation method
88
91
92private:
93 vtkCollectGraph(const vtkCollectGraph&) = delete;
94 void operator=(const vtkCollectGraph&) = delete;
95};
96
97VTK_ABI_NAMESPACE_END
98#endif
Collect distributed graph.
virtual void SetController(vtkMultiProcessController *)
By default this filter uses the global controller, but this method can be used to set another instead...
virtual void SetSocketController(vtkSocketController *)
When this filter is being used in client-server mode, this is the controller used to communicate betw...
int RequestData(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.
~vtkCollectGraph() override
vtkTypeBool PassThrough
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkSocketController * SocketController
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkCollectGraph * New()
vtkMultiProcessController * Controller
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
Process communication using Sockets.
int vtkTypeBool
Definition vtkABI.h:64