VTK  9.1.0
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
62class vtkDataSet;
63
65{
66public:
68
70 void PrintSelf(ostream& os, vtkIndent indent) override;
71
73
78 vtkSetMacro(AppendFieldData, vtkTypeBool);
79 vtkGetMacro(AppendFieldData, vtkTypeBool);
80 vtkBooleanMacro(AppendFieldData, vtkTypeBool);
82
83protected:
86
92
97
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,
123
125
126private:
128 void operator=(const vtkAppendCompositeDataLeaves&) = delete;
129};
130
131#endif // vtkAppendCompositeDataLeaves_h
appends one or more composite datasets with the same structure together into a single output composit...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Since vtkCompositeDataSet is an abstract class and we output the same types as the input,...
~vtkAppendCompositeDataLeaves() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Iterates over the datasets and appends corresponding notes.
int FillInputPortInformation(int port, vtkInformation *info) override
The input is repeatable, so we override the default implementation.
virtual void AppendPolyData(vtkInformationVector *inputVector, int i, int numInputs, vtkCompositeDataIterator *iter, vtkCompositeDataSet *output)
When leaf nodes are polydata, this uses a vtkAppendPolyData to merge them.
virtual void AppendFieldDataArrays(vtkInformationVector *inputVector, int i, int numInputs, vtkCompositeDataIterator *iter, vtkDataSet *dset)
Both AppendUnstructuredGrids and AppendPolyData call AppendFieldDataArrays.
virtual void AppendUnstructuredGrids(vtkInformationVector *inputVector, int i, int numInputs, vtkCompositeDataIterator *iter, vtkCompositeDataSet *output)
When leaf nodes are unstructured grids, this uses a vtkAppendFilter to merge them.
static vtkAppendCompositeDataLeaves * New()
superclass for composite data iterators
Superclass for algorithms that produce only vtkCompositeDataSet as output.
abstract superclass for composite (multi-block or AMR) datasets
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69