VTK  9.7.1
vtkAppendCompositeDataLeaves.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
43 #ifndef vtkAppendCompositeDataLeaves_h
44 #define vtkAppendCompositeDataLeaves_h
45 
47 #include "vtkFiltersCoreModule.h" // For export macro
48 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
49 
50 VTK_ABI_NAMESPACE_BEGIN
52 class vtkDataSet;
53 
54 class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkAppendCompositeDataLeaves
56 {
57 public:
59 
61  void PrintSelf(ostream& os, vtkIndent indent) override;
62 
64 
69  vtkSetMacro(AppendFieldData, vtkTypeBool);
70  vtkGetMacro(AppendFieldData, vtkTypeBool);
71  vtkBooleanMacro(AppendFieldData, vtkTypeBool);
73 
75 
80  vtkGetMacro(UseImplicitArray, bool);
81  vtkSetMacro(UseImplicitArray, bool);
82  vtkBooleanMacro(UseImplicitArray, bool);
84 
85 protected:
87  ~vtkAppendCompositeDataLeaves() override;
88 
94 
99 
103  int FillInputPortInformation(int port, vtkInformation* info) override;
104 
108  virtual void AppendUnstructuredGrids(vtkInformationVector* inputVector, int i, int numInputs,
110 
114  virtual void AppendPolyData(vtkInformationVector* inputVector, int i, int numInputs,
116 
123  virtual void AppendFieldDataArrays(vtkInformationVector* inputVector, int i, int numInputs,
124  vtkCompositeDataIterator* iter, vtkDataSet* dset);
125 
127 
128 private:
130  void operator=(const vtkAppendCompositeDataLeaves&) = delete;
131 
132  bool UseImplicitArray = false;
133 };
134 
135 VTK_ABI_NAMESPACE_END
136 #endif // vtkAppendCompositeDataLeaves_h
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
Superclass for algorithms that produce only vtkCompositeDataSet as output.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
superclass for composite data iterators
int vtkTypeBool
Definition: vtkABI.h:64
abstract superclass for composite (multi-block or AMR) datasets
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:28
appends one or more composite datasets with the same structure together into a single output composit...
static vtkCompositeDataSetAlgorithm * New()
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.