VTK  9.1.0
vtkGroupDataSetsFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkGroupDataSetsFilter.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
30#ifndef vtkGroupDataSetsFilter_h
31#define vtkGroupDataSetsFilter_h
32
34#include "vtkFiltersGeneralModule.h" // For export macro
35#include <memory> // for std::unique_ptr
36
37class VTKFILTERSGENERAL_EXPORT vtkGroupDataSetsFilter : public vtkDataObjectAlgorithm
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
45
52 vtkSetMacro(OutputType, int);
53 vtkGetMacro(OutputType, int);
58
60
67 void SetInputName(int index, const char* name);
68 const char* GetInputName(int index) const;
70
75
76protected:
79
80 int FillInputPortInformation(int port, vtkInformation* info) override;
84
85private:
87 void operator=(const vtkGroupDataSetsFilter&) = delete;
88
89 int OutputType;
90
91 class vtkInternals;
92 std::unique_ptr<vtkInternals> Internals;
93};
94
95#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:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.