Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkAppendFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkAppendFilter.h,v $
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 =========================================================================*/
00032 #ifndef __vtkAppendFilter_h
00033 #define __vtkAppendFilter_h
00034 
00035 #include "vtkUnstructuredGridAlgorithm.h"
00036 
00037 class vtkDataSetCollection;
00038 
00039 class VTK_GRAPHICS_EXPORT vtkAppendFilter : public vtkUnstructuredGridAlgorithm
00040 {
00041 public:
00042   static vtkAppendFilter *New();
00043 
00044   vtkTypeRevisionMacro(vtkAppendFilter,vtkUnstructuredGridAlgorithm);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00048 
00049   vtkDataSet *GetInput(int idx);
00050   vtkDataSet *GetInput() 
00051     {return this->GetInput( 0 );}
00053 //ETX
00054 
00056   void RemoveInput(vtkDataSet *in);
00057 
00060   vtkDataSetCollection *GetInputList();
00061 
00062 protected:
00063   vtkAppendFilter();
00064   ~vtkAppendFilter();
00065 
00066   // Usual data generation method
00067   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00068 
00069   virtual int FillInputPortInformation(int port, vtkInformation *info);
00070 
00071   // list of data sets to append together.
00072   // Here as a convenience.  It is a copy of the input array.
00073   vtkDataSetCollection *InputList;
00074 
00075 private:
00076   vtkAppendFilter(const vtkAppendFilter&);  // Not implemented.
00077   void operator=(const vtkAppendFilter&);  // Not implemented.
00078 };
00079 
00080 
00081 #endif
00082 
00083 

Generated on Mon Jan 21 23:07:23 2008 for VTK by  doxygen 1.4.3-20050530