VTK  9.2.5
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=========================================================================*/
33#ifndef vtkGroupDataSetsFilter_h
34#define vtkGroupDataSetsFilter_h
35
37#include "vtkFiltersGeneralModule.h" // For export macro
38#include <memory> // for std::unique_ptr
39
40class VTKFILTERSGENERAL_EXPORT vtkGroupDataSetsFilter : public vtkDataObjectAlgorithm
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
48
55 vtkSetMacro(OutputType, int);
56 vtkGetMacro(OutputType, int);
61
63
70 void SetInputName(int index, const char* name);
71 const char* GetInputName(int index) const;
73
78
79protected:
82
83 int FillInputPortInformation(int port, vtkInformation* info) override;
87
88private:
90 void operator=(const vtkGroupDataSetsFilter&) = delete;
91
92 int OutputType;
93
94 class vtkInternals;
95 std::unique_ptr<vtkInternals> Internals;
96};
97
98#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:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.