VTK  9.2.6
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 
36 #include "vtkDataObjectAlgorithm.h"
37 #include "vtkFiltersGeneralModule.h" // For export macro
38 #include <memory> // for std::unique_ptr
39 
40 class VTKFILTERSGENERAL_EXPORT vtkGroupDataSetsFilter : public vtkDataObjectAlgorithm
41 {
42 public:
43  static vtkGroupDataSetsFilter* New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
55  vtkSetMacro(OutputType, int);
56  vtkGetMacro(OutputType, int);
57  void SetOutputTypeToPartitionedDataSet();
58  void SetOutputTypeToPartitionedDataSetCollection();
59  void SetOutputTypeToMultiBlockDataSet();
61 
63 
70  void SetInputName(int index, const char* name);
71  const char* GetInputName(int index) const;
73 
77  void ClearInputNames();
78 
79 protected:
81  ~vtkGroupDataSetsFilter() override;
82 
87 
88 private:
90  void operator=(const vtkGroupDataSetsFilter&) = delete;
91 
92  int OutputType;
93 
94  class vtkInternals;
95  std::unique_ptr<vtkInternals> Internals;
96 };
97 
98 #endif
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store vtkAlgorithm input/output information.
static vtkDataObjectAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:39
groups inputs into a chosen composite dataset.
Superclass for algorithms that produce only data object as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.