VTK  9.3.20240424
vtkAggregateDataSetFilter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
15#ifndef vtkAggregateDataSetFilter_h
16#define vtkAggregateDataSetFilter_h
17
18#include "vtkFiltersParallelModule.h" // For export macro
20
21VTK_ABI_NAMESPACE_BEGIN
22class vtkDataSet;
24
25class VTKFILTERSPARALLEL_EXPORT vtkAggregateDataSetFilter : public vtkPassInputTypeAlgorithm
26{
27public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
33
44 vtkGetMacro(NumberOfTargetProcesses, int);
46
48
54 vtkSetMacro(MergePoints, bool);
55 vtkGetMacro(MergePoints, bool);
56 vtkBooleanMacro(MergePoints, bool);
58
59protected:
62
63 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
64 vtkInformationVector* outputVector) override;
65 int FillInputPortInformation(int port, vtkInformation* info) override;
66
68
69 bool MergePoints = true;
70
71private:
73 void operator=(const vtkAggregateDataSetFilter&) = delete;
74};
75
76VTK_ABI_NAMESPACE_END
77#endif
Aggregates data sets to a reduced number of processes.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkAggregateDataSetFilter * New()
void SetNumberOfTargetProcesses(int)
Number of target processes.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkAggregateDataSetFilter() override
abstract class to specify dataset behavior
Definition vtkDataSet.h:166
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.
Superclass for algorithms that produce output of the same type as input.