VTK  9.3.1
vtkGroupDataSetsFilter.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
21 #ifndef vtkGroupDataSetsFilter_h
22 #define vtkGroupDataSetsFilter_h
23 
24 #include "vtkDataObjectAlgorithm.h"
25 #include "vtkFiltersGeneralModule.h" // For export macro
26 #include <memory> // for std::unique_ptr
27 
28 VTK_ABI_NAMESPACE_BEGIN
29 class VTKFILTERSGENERAL_EXPORT vtkGroupDataSetsFilter : public vtkDataObjectAlgorithm
30 {
31 public:
32  static vtkGroupDataSetsFilter* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
44  vtkSetMacro(OutputType, int);
45  vtkGetMacro(OutputType, int);
46  void SetOutputTypeToPartitionedDataSet();
47  void SetOutputTypeToPartitionedDataSetCollection();
48  void SetOutputTypeToMultiBlockDataSet();
50 
52 
59  void SetInputName(int index, const char* name);
60  const char* GetInputName(int index) const;
62 
66  void ClearInputNames();
67 
68 protected:
70  ~vtkGroupDataSetsFilter() override;
71 
76 
77 private:
79  void operator=(const vtkGroupDataSetsFilter&) = delete;
80 
81  int OutputType;
82 
83  class vtkInternals;
84  std::unique_ptr<vtkInternals> Internals;
85 };
86 
87 VTK_ABI_NAMESPACE_END
88 #endif
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store vtkAlgorithm input/output information.
static vtkDataObjectAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:28
groups inputs into a chosen composite dataset.
Superclass for algorithms that produce only data object as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
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.