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

vtkDataSetSource.h

Go to the documentation of this file.
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 =========================================================================*/
00025 #ifndef __vtkDataSetSource_h
00026 #define __vtkDataSetSource_h
00027 
00028 #include "vtkSource.h"
00029 
00030 class vtkDataSet;
00031 
00032 class VTK_FILTERING_EXPORT vtkDataSetSource : public vtkSource
00033 {
00034 public:
00035   vtkTypeRevisionMacro(vtkDataSetSource,vtkSource);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037 
00039 
00040   vtkDataSet *GetOutput();
00041   vtkDataSet *GetOutput(int idx);
00043 
00044   void SetOutput(vtkDataSet *);
00045   
00046 protected:  
00047   vtkDataSetSource();
00048   ~vtkDataSetSource() {};
00049 
00050 private:
00051   vtkDataSetSource(const vtkDataSetSource&);  // Not implemented.
00052   void operator=(const vtkDataSetSource&);  // Not implemented.
00053 };
00054 
00055 #endif
00056 
00057