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 =========================================================================*/
35 #ifndef __vtkAppendCompositeDataLeaves_h
36 #define __vtkAppendCompositeDataLeaves_h
37 
38 #include "vtkFiltersGeneralModule.h" // For export macro
40 
41 class vtkAppendFilter;
42 class vtkAppendPolyData;
44 class vtkDataSet;
45 class vtkPolyData;
47 
48 class VTKFILTERSGENERAL_EXPORT vtkAppendCompositeDataLeaves : public vtkCompositeDataSetAlgorithm
49 {
50 public:
52 
54  void PrintSelf( ostream& os, vtkIndent indent );
55 
56 //BTX
58 
59  vtkCompositeDataSet* GetInput( int idx );
61  { return this->GetInput( 0 ); }
62 //ETX
64 
66 
71  vtkSetMacro(AppendFieldData,int);
72  vtkGetMacro(AppendFieldData,int);
73  vtkBooleanMacro(AppendFieldData,int);
75 
76 protected:
79 
83 
86 
88  virtual int FillInputPortInformation( int port, vtkInformation* info );
89 
92  virtual void AppendUnstructuredGrids( int i, int numInputs, vtkCompositeDataIterator* iter, vtkCompositeDataSet* output );
93 
96  virtual void AppendPolyData( int i, int numInputs, vtkCompositeDataIterator* iter, vtkCompositeDataSet* output );
97 
102  virtual void AppendFieldDataArrays( int i, int numInputs, vtkCompositeDataIterator* iter, vtkDataSet* dset );
103 
107 
108 private:
109  vtkAppendCompositeDataLeaves ( const vtkAppendCompositeDataLeaves& ); // Not implemented.
110  void operator = ( const vtkAppendCompositeDataLeaves& ); // Not implemented.
111 };
112 
113 #endif // __vtkAppendCompositeDataLeaves_h