Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Filtering/vtkDataObjectSource.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDataObjectSource.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 =========================================================================*/
00070 #ifndef __vtkDataObjectSource_h
00071 #define __vtkDataObjectSource_h
00072 
00073 #include "vtkSource.h"
00074 
00075 class vtkDataObject;
00076 
00077 class VTK_FILTERING_EXPORT vtkDataObjectSource : public vtkSource
00078 {
00079 public:
00080   vtkTypeRevisionMacro(vtkDataObjectSource,vtkSource);
00081   void PrintSelf(ostream& os, vtkIndent indent);
00082 
00084 
00085   vtkDataObject *GetOutput();
00086   vtkDataObject *GetOutput(int idx)
00087     {return (vtkDataObject *) this->vtkSource::GetOutput(idx); };
00088   void SetOutput(vtkDataObject *);
00090   
00091 protected:
00092   vtkDataObjectSource();
00093   ~vtkDataObjectSource() {};
00094 
00095 private:
00096   vtkDataObjectSource(const vtkDataObjectSource&);  // Not implemented.
00097   void operator=(const vtkDataObjectSource&);  // Not implemented.
00098 };
00099 
00100 #endif
00101