VTK  9.2.6
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=========================================================================*/
26
27#ifndef vtkAggregateDataSetFilter_h
28#define vtkAggregateDataSetFilter_h
29
30#include "vtkFiltersParallelModule.h" // For export macro
32
33class vtkDataSet;
35
36class VTKFILTERSPARALLEL_EXPORT vtkAggregateDataSetFilter : public vtkPassInputTypeAlgorithm
37{
38public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
44
55 vtkGetMacro(NumberOfTargetProcesses, int);
57
59
65 vtkSetMacro(MergePoints, bool);
66 vtkGetMacro(MergePoints, bool);
67 vtkBooleanMacro(MergePoints, bool);
69
70protected:
73
74 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
75 vtkInformationVector* outputVector) override;
76 int FillInputPortInformation(int port, vtkInformation* info) override;
77
79
80 bool MergePoints = true;
81
82private:
84 void operator=(const vtkAggregateDataSetFilter&) = delete;
85};
86
87#endif
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:63
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.