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
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTK_GRAPHICS_EXPORT
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
Superclass for algorithms that produce only vtkCompositeDataSet as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:81
superclass for composite data iterators
vtkDataObject * GetInput(int port)
abstract superclass for composite (multi-block or AMR) datasets
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a simple class to control print indentation
Definition: vtkIndent.h:37
appends one or more composite datasets with the same structure together into a single output composit...
appends one or more polygonal datasets together
dataset represents arbitrary combinations of all possible cell types
void PrintSelf(ostream &os, vtkIndent indent)
appends one or more datasets together into a single unstructured grid
static vtkCompositeDataSetAlgorithm * New()
Store zero or more vtkInformation instances.
virtual int FillInputPortInformation(int port, vtkInformation *info)