VTK  9.3.20240424
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
25#include "vtkFiltersGeneralModule.h" // For export macro
26#include <memory> // for std::unique_ptr
27
28VTK_ABI_NAMESPACE_BEGIN
29class VTKFILTERSGENERAL_EXPORT vtkGroupDataSetsFilter : public vtkDataObjectAlgorithm
30{
31public:
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
68protected:
71
72 int FillInputPortInformation(int port, vtkInformation* info) override;
76
77private:
79 void operator=(const vtkGroupDataSetsFilter&) = delete;
80
81 int OutputType;
82
83 class vtkInternals;
84 std::unique_ptr<vtkInternals> Internals;
85};
86
87VTK_ABI_NAMESPACE_END
88#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.