VTK  9.0.1
vtkAppendCompositeDataLeaves.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAppendCompositeDataLeaves.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 =========================================================================*/
55 #ifndef vtkAppendCompositeDataLeaves_h
56 #define vtkAppendCompositeDataLeaves_h
57 
59 #include "vtkFiltersCoreModule.h" // For export macro
60 
62 class vtkDataSet;
63 
64 class VTKFILTERSCORE_EXPORT vtkAppendCompositeDataLeaves : public vtkCompositeDataSetAlgorithm
65 {
66 public:
68 
70  void PrintSelf(ostream& os, vtkIndent indent) override;
71 
73 
78  vtkSetMacro(AppendFieldData, vtkTypeBool);
79  vtkGetMacro(AppendFieldData, vtkTypeBool);
80  vtkBooleanMacro(AppendFieldData, vtkTypeBool);
82 
83 protected:
85  ~vtkAppendCompositeDataLeaves() override;
86 
92 
97 
101  int FillInputPortInformation(int port, vtkInformation* info) override;
102 
106  virtual void AppendUnstructuredGrids(vtkInformationVector* inputVector, int i, int numInputs,
108 
112  virtual void AppendPolyData(vtkInformationVector* inputVector, int i, int numInputs,
114 
121  virtual void AppendFieldDataArrays(vtkInformationVector* inputVector, int i, int numInputs,
122  vtkCompositeDataIterator* iter, vtkDataSet* dset);
123 
125 
126 private:
128  void operator=(const vtkAppendCompositeDataLeaves&) = delete;
129 };
130 
131 #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:69
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:33
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.