VTK
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 #ifndef vtkAggregateDataSetFilter_h
27 #define vtkAggregateDataSetFilter_h
28 
29 #include "vtkFiltersParallelModule.h" // For export macro
31 
32 class vtkDataSet;
34 
35 class VTKFILTERSPARALLEL_EXPORT vtkAggregateDataSetFilter : public vtkPassInputTypeAlgorithm
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
53  void SetNumberOfTargetProcesses(int);
54  vtkGetMacro(NumberOfTargetProcesses, int);
56 
57 protected:
59  ~vtkAggregateDataSetFilter() override;
60 
61  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
62  vtkInformationVector* outputVector) override;
64 
66 
67 private:
69  void operator=(const vtkAggregateDataSetFilter&) = delete;
70 };
71 
72 #endif
Aggregates data sets to a reduced number of processes.
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
a simple class to control print indentation
Definition: vtkIndent.h:39
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPassInputTypeAlgorithm * New()
Multiprocessing communication superclass.