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 
39 
40 class vtkAppendFilter;
41 class vtkAppendPolyData;
43 class vtkDataSet;
44 class vtkPolyData;
46 
48 {
49 public:
51 
53  void PrintSelf( ostream& os, vtkIndent indent );
54 
55 //BTX
57 
58  vtkCompositeDataSet* GetInput( int idx );
60  { return this->GetInput( 0 ); }
61 //ETX
63 
65  void RemoveInput( vtkDataSet* in );
66 
68 
73  vtkSetMacro(AppendFieldData,int);
74  vtkGetMacro(AppendFieldData,int);
75  vtkBooleanMacro(AppendFieldData,int);
77 
78 protected:
81 
85 
88 
90  virtual int FillInputPortInformation( int port, vtkInformation* info );
91 
94  virtual void AppendUnstructuredGrids( int i, int numInputs, vtkCompositeDataIterator* iter, vtkCompositeDataSet* output );
95 
98  virtual void AppendPolyData( int i, int numInputs, vtkCompositeDataIterator* iter, vtkCompositeDataSet* output );
99 
104  virtual void AppendFieldDataArrays( int i, int numInputs, vtkCompositeDataIterator* iter, vtkDataSet* dset );
105 
109 
110 private:
111  vtkAppendCompositeDataLeaves ( const vtkAppendCompositeDataLeaves& ); // Not implemented.
112  void operator = ( const vtkAppendCompositeDataLeaves& ); // Not implemented.
113 };
114 
115 #endif // __vtkAppendCompositeDataLeaves_h