VTK  9.4.20250126
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
23#ifndef vtkGroupDataSetsFilter_h
24#define vtkGroupDataSetsFilter_h
25
27#include "vtkFiltersGeneralModule.h" // For export macro
28#include <memory> // for std::unique_ptr
29
30VTK_ABI_NAMESPACE_BEGIN
31class VTKFILTERSGENERAL_EXPORT vtkGroupDataSetsFilter : public vtkDataObjectAlgorithm
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
39
46 vtkSetMacro(OutputType, int);
47 vtkGetMacro(OutputType, int);
52
54
61 void SetInputName(int index, const char* name);
62 const char* GetInputName(int index) const;
64
69
70protected:
73
74 int FillInputPortInformation(int port, vtkInformation* info) override;
78
79private:
81 void operator=(const vtkGroupDataSetsFilter&) = delete;
82
83 int OutputType;
84
85 class vtkInternals;
86 std::unique_ptr<vtkInternals> Internals;
87};
88
89VTK_ABI_NAMESPACE_END
90#endif
Superclass for algorithms that produce only data object as output.
groups inputs into a chosen composite dataset.
static vtkGroupDataSetsFilter * New()
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.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.