VTK  9.3.20240221
vtkAggregateToPartitionedDataSetCollection.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
3 
15 #ifndef vtkAggregateToPartitionedDataSetCollection_h
16 #define vtkAggregateToPartitionedDataSetCollection_h
17 
18 #include "vtkCommonExecutionModelModule.h" // for export macro
19 #include "vtkExecutionAggregator.h"
20 
21 #include <memory> // for std::unique_ptr
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 
25 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkAggregateToPartitionedDataSetCollection
26  : public vtkExecutionAggregator
27 {
28 public:
31  void PrintSelf(std::ostream& os, vtkIndent indent) override;
32 
34 
38  bool Aggregate(vtkDataObject* input) override;
39 
44 
48  void Clear() override;
49 
50 protected:
53 
54 private:
57  void operator=(const vtkAggregateToPartitionedDataSetCollection&) = delete;
58 
59  struct Internals;
60  std::unique_ptr<Internals> Internal;
61 };
62 
63 VTK_ABI_NAMESPACE_END
64 
65 #endif // vtkAggregateToPartitionedDataSetCollection_h
void Clear() override
Reset the internal vtkPartitionedDataSetCollection.
vtkSmartPointer< vtkDataObject > RequestDataObject(vtkDataObject *input) override
Create the empty output data set.
bool Aggregate(vtkDataObject *input) override
Push the input dataset at the end of the output vtkPartitionedDataSetCollection.
void PrintSelf(std::ostream &os, vtkIndent indent) override
vtkSmartPointer< vtkDataObject > GetOutputDataObject() override
Retrieve the constructed vtkPartitionedDataSetCollection.
static vtkAggregateToPartitionedDataSetCollection * New()
general representation of visualization data
Aggregate the results of the sub-pipeline in vtkEndFor.
a simple class to control print indentation
Definition: vtkIndent.h:108