VTK  9.3.0
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:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
44  vtkSetMacro(OutputType, int);
45  vtkGetMacro(OutputType, int);
50 
52 
59  void SetInputName(int index, const char* name);
60  const char* GetInputName(int index) const;
62 
67 
68 protected:
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
Superclass for algorithms that produce only data object as output.
groups inputs into a chosen composite dataset.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetInputName(int index, const char *name)
API to assign names for inputs.
~vtkGroupDataSetsFilter() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetOutputTypeToPartitionedDataSetCollection()
Get/Set the output type.
void SetOutputTypeToMultiBlockDataSet()
Get/Set the output type.
void ClearInputNames()
Clears all assigned input names.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void SetOutputTypeToPartitionedDataSet()
Get/Set the output type.
const char * GetInputName(int index) const
API to assign names for inputs.
static vtkGroupDataSetsFilter * New()
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
@ name
Definition: vtkX3D.h:219
@ index
Definition: vtkX3D.h:246