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