VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkAppendCompositeDataLeaves.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00053 #ifndef __vtkAppendCompositeDataLeaves_h 00054 #define __vtkAppendCompositeDataLeaves_h 00055 00056 #include "vtkFiltersCoreModule.h" // For export macro 00057 #include "vtkCompositeDataSetAlgorithm.h" 00058 00059 class vtkCompositeDataIterator; 00060 class vtkDataSet; 00061 00062 class VTKFILTERSCORE_EXPORT vtkAppendCompositeDataLeaves : public vtkCompositeDataSetAlgorithm 00063 { 00064 public: 00065 static vtkAppendCompositeDataLeaves* New(); 00066 00067 vtkTypeMacro(vtkAppendCompositeDataLeaves,vtkCompositeDataSetAlgorithm); 00068 void PrintSelf( ostream& os, vtkIndent indent ); 00069 00071 00076 vtkSetMacro(AppendFieldData,int); 00077 vtkGetMacro(AppendFieldData,int); 00078 vtkBooleanMacro(AppendFieldData,int); 00080 00081 protected: 00082 vtkAppendCompositeDataLeaves(); 00083 ~vtkAppendCompositeDataLeaves(); 00084 00087 virtual int RequestDataObject( vtkInformation*, vtkInformationVector**, vtkInformationVector* ); 00088 00090 virtual int RequestData( vtkInformation*, vtkInformationVector**, vtkInformationVector* ); 00091 00093 virtual int FillInputPortInformation( int port, vtkInformation* info ); 00094 00096 00098 virtual void AppendUnstructuredGrids(vtkInformationVector* inputVector, 00099 int i, int numInputs, vtkCompositeDataIterator* iter, vtkCompositeDataSet* output ); 00101 00103 00105 virtual void AppendPolyData(vtkInformationVector* inputVector, 00106 int i, int numInputs, vtkCompositeDataIterator* iter, vtkCompositeDataSet* output ); 00108 00110 00114 virtual void AppendFieldDataArrays(vtkInformationVector* inputVector, 00115 int i, int numInputs, vtkCompositeDataIterator* iter, vtkDataSet* dset ); 00117 00118 int AppendFieldData; 00119 00120 private: 00121 vtkAppendCompositeDataLeaves ( const vtkAppendCompositeDataLeaves& ); // Not implemented. 00122 void operator = ( const vtkAppendCompositeDataLeaves& ); // Not implemented. 00123 }; 00124 00125 #endif // __vtkAppendCompositeDataLeaves_h