00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkDataSetSource.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00037 #ifndef __vtkDataSetSource_h 00038 #define __vtkDataSetSource_h 00039 00040 #include "vtkSource.h" 00041 00042 class vtkDataSet; 00043 00044 class VTK_FILTERING_EXPORT vtkDataSetSource : public vtkSource 00045 { 00046 public: 00047 vtkTypeRevisionMacro(vtkDataSetSource,vtkSource); 00048 void PrintSelf(ostream& os, vtkIndent indent); 00049 00051 00052 vtkDataSet *GetOutput(); 00053 vtkDataSet *GetOutput(int idx); 00055 00056 void SetOutput(vtkDataSet *); 00057 00058 protected: 00059 vtkDataSetSource(); 00060 ~vtkDataSetSource() {}; 00061 00062 private: 00063 vtkDataSetSource(const vtkDataSetSource&); // Not implemented. 00064 void operator=(const vtkDataSetSource&); // Not implemented. 00065 }; 00066 00067 #endif 00068 00069