VTK  9.1.0
vtkAggregateDataSetFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkAggregateDataSetFilter.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=========================================================================*/
24#ifndef vtkAggregateDataSetFilter_h
25#define vtkAggregateDataSetFilter_h
26
27#include "vtkFiltersParallelModule.h" // For export macro
29
30class vtkDataSet;
32
33class VTKFILTERSPARALLEL_EXPORT vtkAggregateDataSetFilter : public vtkPassInputTypeAlgorithm
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
41
52 vtkGetMacro(NumberOfTargetProcesses, int);
54
56
62 vtkSetMacro(MergePoints, bool);
63 vtkGetMacro(MergePoints, bool);
64 vtkBooleanMacro(MergePoints, bool);
66
67protected:
70
71 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
72 vtkInformationVector* outputVector) override;
73 int FillInputPortInformation(int port, vtkInformation* info) override;
74
76
77 bool MergePoints = true;
78
79private:
81 void operator=(const vtkAggregateDataSetFilter&) = delete;
82};
83
84#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:113
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.