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

vtkStructuredGridSource.h

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