VTK
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 =========================================================================*/
54 #ifndef vtkAppendCompositeDataLeaves_h
55 #define vtkAppendCompositeDataLeaves_h
56 
57 #include "vtkFiltersCoreModule.h" // For export macro
59 
61 class vtkDataSet;
62 
63 class VTKFILTERSCORE_EXPORT vtkAppendCompositeDataLeaves : public vtkCompositeDataSetAlgorithm
64 {
65 public:
67 
69  void PrintSelf( ostream& os, vtkIndent indent ) override;
70 
72 
77  vtkSetMacro(AppendFieldData,vtkTypeBool);
78  vtkGetMacro(AppendFieldData,vtkTypeBool);
79  vtkBooleanMacro(AppendFieldData,vtkTypeBool);
81 
82 protected:
84  ~vtkAppendCompositeDataLeaves() override;
85 
91 
96 
100  int FillInputPortInformation( int port, vtkInformation* info ) override;
101 
105  virtual void AppendUnstructuredGrids(vtkInformationVector* inputVector,
106  int i, int numInputs, vtkCompositeDataIterator* iter, vtkCompositeDataSet* output );
107 
111  virtual void AppendPolyData(vtkInformationVector* inputVector,
112  int i, int numInputs, vtkCompositeDataIterator* iter, vtkCompositeDataSet* output );
113 
120  virtual void AppendFieldDataArrays(vtkInformationVector* inputVector,
121  int i, int numInputs, vtkCompositeDataIterator* iter, vtkDataSet* dset );
122 
124 
125 private:
127  void operator = ( const vtkAppendCompositeDataLeaves& ) = delete;
128 };
129 
130 #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:62
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:39
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.