00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkGenericDataSetSource.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 =========================================================================*/ 00035 #ifndef __vtkGenericDataSetSource_h 00036 #define __vtkGenericDataSetSource_h 00037 00038 #include "vtkSource.h" 00039 00040 class vtkGenericDataSet; 00041 00042 class VTK_FILTERING_EXPORT vtkGenericDataSetSource : public vtkSource 00043 { 00044 public: 00045 vtkTypeRevisionMacro(vtkGenericDataSetSource,vtkSource); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00049 00050 virtual vtkGenericDataSet *GetOutput(); 00051 virtual vtkGenericDataSet *GetOutput(int i); 00053 00054 protected: 00055 vtkGenericDataSetSource(); 00056 ~vtkGenericDataSetSource() {} 00057 virtual int FillOutputPortInformation(int, vtkInformation*); 00058 00059 private: 00060 vtkGenericDataSetSource(const vtkGenericDataSetSource&); // Not implemented. 00061 void operator=(const vtkGenericDataSetSource&); // Not implemented. 00062 }; 00063 00064 #endif 00065 00066