00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkStructuredGridSource.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 =========================================================================*/ 00029 #ifndef __vtkStructuredGridSource_h 00030 #define __vtkStructuredGridSource_h 00031 00032 #include "vtkSource.h" 00033 00034 class vtkStructuredGrid; 00035 00036 class VTK_FILTERING_EXPORT vtkStructuredGridSource : public vtkSource 00037 { 00038 public: 00039 vtkTypeRevisionMacro(vtkStructuredGridSource,vtkSource); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 00044 vtkStructuredGrid *GetOutput(); 00045 vtkStructuredGrid *GetOutput(int idx); 00046 void SetOutput(vtkStructuredGrid *output); 00048 00049 protected: 00050 vtkStructuredGridSource(); 00051 ~vtkStructuredGridSource() {}; 00052 00053 private: 00054 vtkStructuredGridSource(const vtkStructuredGridSource&); // Not implemented. 00055 void operator=(const vtkStructuredGridSource&); // Not implemented. 00056 }; 00057 00058 #endif 00059 00060